/* Parsons Law Firm Branding */
:root {
    --brand-primary: #165153;
    --brand-accent: #ffb703;
    --brand-secondary: #212121;
}

.crimson-text-regular {
    font-family: "Crimson Text", serif;
    font-weight: 400;
    font-style: normal;
}

.crimson-text-semibold {
    font-family: "Crimson Text", serif;
    font-weight: 600;
    font-style: normal;
}

.crimson-text-bold {
    font-family: "Crimson Text", serif;
    font-weight: 700;
    font-style: normal;
}

.crimson-text-regular-italic {
    font-family: "Crimson Text", serif;
    font-weight: 400;
    font-style: italic;
}

.crimson-text-semibold-italic {
    font-family: "Crimson Text", serif;
    font-weight: 600;
    font-style: italic;
}

.crimson-text-bold-italic {
    font-family: "Crimson Text", serif;
    font-weight: 700;
    font-style: italic;
}


h1, h2, h3, h4, h5, h6 {
    font-family: "Crimson Text", serif;
    font-weight: 100;
    font-style: normal;
}
body {
    font-family: 'Work Sans', sans-serif;
}
.header-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .header-logo {
        max-height: 45px; 
    } 
}
.text-accent {
    color: var(--brand-accent);
}

.text-primary-brand {
    color: var(--brand-primary);
}

.bg-primary-brand {
    background-color: var(--brand-primary);
    color: white;
}
.bg-primary-brand:hover{
        background-color: var(--brand-secondary);
        color: white;
}

.btn-accent {
    background-color: var(--brand-accent);
    color: #000;
    font-weight: bold;
}

.btn-accent:hover {
    background-color: #e0a000;
    color: #000;
}

/* Internal Page Header */
.page-header {
    background-color: var(--brand-primary);
    color: white;
    padding: 4rem 0;
}

/* Form Styling */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.25rem rgba(22, 81, 83, 0.25);
}

.contact-info-box i {
    width: 30px;
    text-align: center;
}

/* Testimonial Card Styling */
.testimonial-card {
    transition: transform 0.2s ease;
    border-top: 4px solid var(--brand-primary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

/* Hero Section Overlay */
.hero-section {
    background: linear-gradient(rgba(22, 81, 83, 0.85), rgba(22, 81, 83, 0.95)), url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&q=80') center/cover;
    color: white;
}

.page-hero-dwi {
    background: linear-gradient(rgba(22, 81, 83, 0.85), rgba(22, 81, 83, 0.95)), url('https://images.unsplash.com/photo-1509827083049-74e2d354a3a6?auto=format&fit=crop&q=80') center/cover;
    color: white;
    padding: 5rem 0;
}

.page-hero-slip {
    background: linear-gradient(rgba(22, 81, 83, 0.85), rgba(22, 81, 83, 0.95)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&q=80') center/cover;
    color: white;
    padding: 5rem 0;
}



.practice-card {
    transition: transform 0.3s ease;
    border-top: 4px solid var(--brand-primary);
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Practice Area Hero */
.page-hero {
    background: linear-gradient(rgba(22, 81, 83, 0.85), rgba(22, 81, 83, 0.95)), url('https: //images.unsplash.com/photo-1436450412740-6b988f486c6b?q=80&w=2370&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover;
    color: white;
    padding: 5rem 0;
}

/* Sticky Sidebar Form */
.sticky-form {
    position: sticky;
    top: 100px;
}

.check-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* --- Footer Background Styles --- */
.branded-footer-bg {
    position: relative;
    overflow: hidden;
    background-color: var(--brand-primary) !important;
}

.branded-footer-bg::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 450px;
    height: 450px;
    background-image: url('../img/BrandLogo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;

    z-index: 0;

    transform: rotate(-10deg);
    pointer-events: none;
}

.branded-footer-bg .container {
    position: relative;
    z-index: 2;
}