/* DESSWO Website Stylesheet */

:root {
    /* Medical Blue Palette */
    --primary: #2E67B1;
    --primary-light: #4A8FD6;
    --primary-dark: #1A4279;
    --secondary: #00ACC5;
    --secondary-light: #33BDD4;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8FAFB;
    --gray-100: #F5F7FA;
    --gray-200: #E8EEF5;
    --gray-300: #CBD5E0;
    --gray-700: #2D3748;
    --gray-900: #1A202C;

    /* Accents */
    --success: #48BB78;
    --warning: #ECC94B;

    /* Typography */
    --font-display: 'League Spartan', -apple-system, system-ui, sans-serif;
    --font-body: 'Crimson Pro', Georgia, serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-2xl: 8rem;

    /* Container */
    --container: 1200px;
    --container-narrow: 800px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* ── Top bar ─────────────────────────────────────────────── */

.top-bar {
    background: #1a3d5c;
    padding: 8px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-link {
    color: #c8dff0;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.top-bar-link svg {
    flex-shrink: 0;
}

.top-bar-link:hover { color: #fff; }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-social {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8dff0;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.top-bar-social:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ── Main nav ────────────────────────────────────────────── */

.main-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.main-nav .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.main-nav .logo img {
    height: 52px;
    width: auto;
    display: block;
}

.main-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-links > li {
    position: relative;
    padding: 10px 0; 
}

.main-nav .nav-links a {
    font-size: 15px;
    font-family: var(--font-display);
    color: #1f2937;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

/* Specific styling for links with chevrons */
.main-nav .nav-parent {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chevron {
    transition: transform 0.2s ease;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    background: #f3f4f6;
    color: #1a3d5c;
}

/* Flip chevron on hover */
.main-nav .nav-links .has-dropdown:hover .chevron {
    transform: rotate(180deg);
}

/* ── Dropdown Menus ──────────────────────────────────────── */

.main-nav .nav-links .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    list-style: none;
    z-index: 1010;
    margin-top: 10px; 
}

/* Gap-proof hover bridge */
.main-nav .nav-links .dropdown::before {
    content: '';
    position: absolute;
    top: -14px; 
    left: 0;
    width: 100%;
    height: 14px;
    background: transparent;
}

/* Show dropdown */
.main-nav .nav-links .has-dropdown:hover .dropdown {
    display: block;
}

.main-nav .nav-links .dropdown li {
    padding: 0;
}

.main-nav .nav-links .dropdown li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 0; 
}

.main-nav .nav-links .dropdown li.dropdown-divider {
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
    padding-top: 4px;
}

.main-nav .nav-links .dropdown li a:hover {
    background: #f3f4f6;
    color: #1a3d5c;
}

/* ── CTA & Actions ───────────────────────────────────────── */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cta-btn {
    background: #1a3d5c;
    color: #fff !important;
    font-size: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}

.cta-btn:hover {
    background: #24527a;
}

/* ── Hamburger ───────────────────────────────────────────── */

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.ham-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a3d5c;
    border-radius: 2px;
    transition: opacity 0.15s;
}

.ham-x {
    display: none;
    font-size: 18px;
    color: #1a3d5c;
    line-height: 1;
}

.hamburger[aria-expanded="true"] .ham-bar { display: none; }
.hamburger[aria-expanded="true"] .ham-x   { display: block; }

/* ── Mobile Menu Drawer ──────────────────────────────────── */

.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px 24px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.mobile-menu.is-open { display: block; }

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.mobile-section {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-parent {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    font-size: 16px;
    font-family: var(--font-display);
    color: #1f2937;
    padding: 14px 8px;
    cursor: pointer;
    text-align: left;
}

.mobile-parent[aria-expanded="true"] {
    color: #1a3d5c;
    font-weight: 600;
}

.mobile-parent[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.mobile-dropdown {
    display: none;
    flex-direction: column;
    background: #f9fafb;
    padding: 8px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.mobile-dropdown.is-open {
    display: flex;
}

.mobile-dropdown a {
    font-size: 15px;
    font-family: var(--font-display);
    color: #4b5563;
    text-decoration: none;
    padding: 10px 8px;
    transition: color 0.15s;
}

.mobile-dropdown a:hover { color: #1a3d5c; }

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-phone {
    text-align: center;
    font-size: 15px;
    font-family: var(--font-display);
    color: #1a3d5c;
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
    border: 1px solid #1a3d5c;
    border-radius: 6px;
}

.mobile-menu-cta {
    display: block;
    text-align: center;
    background: #1a3d5c;
    color: #fff !important;
    font-size: 15px;
    font-family: var(--font-display);
    font-weight: 600;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
}
/* Layout Alignments */
.google-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

/* Right Side Branding Badge */
.google-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.badge-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.rating-num {
    font-size: 16px;
    font-weight: bold;
    color: #202124;
}
.badge-stars {
    color: #f4b400;
}

/* Call to Action Button */
.google-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 8px 12px;
    color: #3c4043;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(60,64,67,0.1);
    transition: background 0.2s;
}
.google-btn:hover {
    background: #f8f9fa;
}
.google-btn img {
    width: 16px;
    height: 16px;
}

/* Card Styling adjustments */
.google-review-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    position: relative;
    text-align: left; /* Ensures slider centering doesn't mess up cards */
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.review-avatar, .review-avatar-fallback {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
}

/* Fallback letter profile picture color */
.review-avatar-fallback {
    background-color: #3f51b5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.reviewer-meta {
    flex-grow: 1;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    margin: 0;
}

.review-time {
    font-size: 12px;
    color: #70757a;
}

.card-google-icon {
    width: 16px;
    height: 16px;
    align-self: flex-start;
}

.review-stars {
    color: #f4b400; /* Official Google Star Yellow */
    font-size: 15px;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 13px;
    line-height: 1.6;
    color: #3c4043 !important;
    margin: 0;
}
/* ── Responsive breakpoints ──────────────────────────────── */

@media (max-width: 1024px) {
    .main-nav .nav-links { display: none; }
    .hamburger { display: flex; }
    .top-bar { flex-direction: column; justify-content: center; }
}

@media (max-width: 768px) {
    .cta-btn { display: none; } /* Hide desktop CTA on small screens */
}

/* --- MOBILE FIXES --- */

@media (max-width: 1024px) {
    /* 1. Navigation & Hamburger Fixes */
    .main-nav { position: relative; } /* Allows the hamburger to be locked to the nav */

    .main-nav .nav-links { display: none !important; }
    
    .hamburger {
        display: flex !important;
        position: absolute; /* Locks the button in place */
        right: 20px;        /* Distance from right edge */
        top: 50%;
        transform: translateY(-50%); /* Keeps it perfectly centered vertically */
        z-index: 9999 !important;
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        z-index: 9998;
    }

    .mobile-menu.is-open { display: block !important; }

    /* 2. About Section Fix */
    .about-grid { grid-template-columns: 1fr !important; text-align: center; }
    .about-image { margin-bottom: 1.5rem; display: flex; justify-content: center; }
    .about-image img { max-width: 300px; }

    /* 3. Contact & Popup Fixes */
    .contact-grid, .popup { 
        grid-template-columns: 1fr !important; 
        padding: 0 1rem;
    }
    
    .newsletter-form { 
        margin: 0 auto; 
        width: 100%; 
        max-width: 400px; 
    }
    
    .popup { max-width: 90% !important; height: auto !important; }
    .popup-left, .popup-right { padding: 2rem 1.5rem !important; }
}
/* ============================================================
   HERO
   ============================================================ */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: var(--space-2xl) var(--space-md) var(--space-xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 1; }
}

.hero-content {
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 { margin-bottom: var(--space-sm); }

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: var(--space-lg);
    opacity: 0.95;
    max-width: 700px;
}

.hero .btn-outline {
    border-color: white;
    color: white;
}

.hero .btn-outline:hover {
    background: white;
    color: var(--primary);
}
/* ============================================================
   SECTIONS
   ============================================================ */

section {
    padding: var(--space-xl) var(--space-md);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    color: var(--primary);
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.section-heading {
    margin-bottom: var(--space-md);
    color: var(--gray-900);
}

.section-description {
    max-width: var(--container-narrow);
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--gray-700);
}

/* ── About ── */

.about-hero {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            gap: 3rem;
            padding: 4rem 1rem 2rem;
        }
        .about-hero-text {
            flex: 1 1 320px;
        }
        .about-hero-image {
            flex: 0 0 260px;
            text-align: center;
        }
        .about-hero-image img {
            width: 100%;
            max-width: 260px;
            border-radius: 8px;
            display: block;
        }
        .about-section {
            padding: 2.5rem 1rem;
            border-top: 1px solid #e8e8e8;
        }
        .about-section h2 {
            margin-bottom: 1rem;
        }
        .about-section p {
            margin-top: 1rem;
            line-height: 1.8;
        }
        .credentials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1.5rem;
        }
        .credential-card {
            background: #f9f8f6;
            border-radius: 8px;
            padding: 1.25rem 1.5rem;
        }
        .credential-card .cred-label {
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #888;
            margin: 0 0 4px;
        }
        .credential-card .cred-value {
            font-size: 0.95rem;
            font-weight: 600;
            margin: 0;
            line-height: 1.4;
        }
        .credential-card .cred-sub {
            font-size: 0.8rem;
            color: #888;
            margin: 3px 0 0;
        }
        .about-quote {
            border-left: 3px solid #c8a96e;
            padding: 0.75rem 1.5rem;
            margin: 1.75rem 0;
        }
        .about-quote p {
            font-family: 'Crimson Pro', serif;
            font-size: 1.2rem;
            line-height: 1.7;
            color: #444;
            margin: 0;
            font-style: italic;
        }
        .expertise-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 1.25rem;
        }
        .expertise-tags a {
            font-size: 0.85rem;
            color: inherit;
            background: #f2f0ec;
            border: 1px solid #e0ddd7;
            border-radius: 6px;
            padding: 6px 14px;
            text-decoration: none;
            transition: background 0.2s, border-color 0.2s;
        }
        .expertise-tags a:hover {
            background: #e8e4dc;
            border-color: #c8a96e;
        }
        @media (max-width: 640px) {
            .about-hero {
                flex-direction: column-reverse;
            }
            .about-hero-image {
                flex: 0 0 auto;
                width: 100%;
            }
            .about-hero-image img {
                max-width: 200px;
                margin: 0 auto;
            }
        }
/* ── Services ── */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.service-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: var(--space-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    transition: height 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(46, 103, 177, 0.15);
}

.service-card:hover::before { height: 100%; }

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-700);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

/* ── Testimonials ── */

.testimonials { background: var(--gray-100); }

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.testimonial {
    background: var(--white);
    padding: var(--space-md);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
}

.testimonial-author {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--primary);
}

.stars {
    color: #ECC94B;
    margin-bottom: var(--space-xs);
}
.service-icon svg {
    width: 48px;
    height: 48px;
    fill: #1d4ed8;
    display: block;
    margin-bottom: 1rem;
}

/* ── Contact ── */

.contact-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-info h3 { margin-bottom: var(--space-md); }

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-md);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form h3 { margin-bottom: var(--space-md); }

.form-group { margin-bottom: var(--space-sm); }

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder { color: rgba(255, 255, 255, 0.6); }

.form-group input:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Contact cards ── */

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.4rem;
    color: var(--gray-900);
    font-size: 1.2rem;
}

.contact-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-call-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    box-shadow: 0 12px 28px rgba(46, 103, 177, 0.25);
}

.contact-call-card h3,
.contact-call-card p,
.contact-call-card .call-us-note { color: var(--white); }

.contact-call-card a {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

.contact-call-card a:hover { text-decoration: underline; }

.contact-fax-card {
    background: #f1f7ff;
    border-color: #cfe0f5;
}

.contact-fax-card a {
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
}

.contact-fax-card a:hover { text-decoration: underline; }

.call-us-note {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-cta-panel {
    margin-top: 2rem;
    max-width: 760px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem;
}

.contact-cta-panel h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.contact-cta-panel p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ============================================================
   UTILITIES
   ============================================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 103, 177, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #EF4444;
}

/* ============================================================
   NEWSLETTER POPUP
   ============================================================ */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 60, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.popup {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 820px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active .popup {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 1;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.15);
    color: var(--gray-900);
}

.popup-left {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary) 100%);
    color: var(--white);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-eyebrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

.popup-left h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.popup-sub {
    font-size: 1rem;
    opacity: 0.88;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.popup-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.popup-perks li {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.92;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.popup-right {
    padding: 3rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-form-group { margin-bottom: 1.1rem; }

.popup-form-group label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.popup-form-group label span { color: var(--primary); }

.popup-form-group input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gray-900);
    transition: border-color 0.2s;
    background: var(--gray-100);
}

.popup-form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.popup-submit {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: opacity 0.2s, transform 0.2s;
}

.popup-submit:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.popup-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.popup-skip { text-align: center; margin-top: 0.875rem; }

.popup-skip button {
    background: none;
    border: none;
    color: var(--gray-700);
    font-family: var(--font-display);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.popup-skip button:hover { opacity: 1; }

.popup-success { text-align: center; padding: 1rem 0; }

.popup-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin: 0 auto 1.25rem;
}

.popup-success h3 {
    font-size: 1.5rem;
}
/* --- NEW: LOCATION PAGE STYLES --- */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns side-by-side */
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.map-container {
    width: 100%;
    aspect-ratio: 16 / 9; /* Keeps the map rectangular */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile responsive: Stack them vertically when the screen is smaller than 900px */
@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}
/* ---  NAVIGATION & HAMBURGER --- */
@media (max-width: 1024px) {
    /* 1. Show the hamburger, hide the desktop links */
    .hamburger {
        display: flex !important;
    }
    
    .main-nav .nav-links {
        display: none !important;
    }

    /* 2. Fix the Hamburger Z-Index (Ensure it's click-able) */
    .hamburger {
        z-index: 9999 !important;
        position: relative !important;
        pointer-events: auto !important;
    }

    /* 3. Ensure the mobile menu container exists */
    .mobile-menu {
        display: none; /* Hidden by default */
        position: absolute;
        top: 72px; /* Adjust this to match your header height */
        left: 0;
        width: 100%;
        background: white;
        z-index: 9998;
    }

    /* 4. This class is toggled by your JavaScript */
    .mobile-menu.is-open {
        display: block !important;
    }
}
/* --- UPDATED TEAM PAGE STYLES --- */
.team-grid {
    display: grid;
    /* Create 6 equal columns to allow for 2-item and 3-item rows */
    grid-template-columns: repeat(6, 1fr); 
    gap: 2rem;
    margin-top: 2rem;
}

/* Force the first two cards (Trisha and Colleen) to span 3 columns each (2 items = 6 columns) */
.team-card:nth-child(1), 
.team-card:nth-child(2) {
    grid-column: span 3;
}

/* Force the next three cards (Marlyinn, Lindsey, Grace) to span 2 columns each (3 items = 6 columns) */
.team-card:nth-child(3), 
.team-card:nth-child(4), 
.team-card:nth-child(5) {
    grid-column: span 2;
}

/* Ensure cards look good on smaller screens */
.team-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
/* --- Team Card Name Color --- */
.team-card h3 {
    color: var(--primary-dark);
}
/* Make the name turn dark blue when hovering the entire card */
.team-card:hover h3 {
    color: var(--primary);
}
.team-card h3 {
    transition: color 0.25s ease;
}



/* Responsive: Stack cards vertically on smaller devices */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card:nth-child(1), 
    .team-card:nth-child(2),
    .team-card:nth-child(3), 
    .team-card:nth-child(4), 
    .team-card:nth-child(5) {
        grid-column: span 1;
    }
}