﻿:root {
    /* Color Palette - Premium, Warm, Professional */
    --color-primary: #1A365D; /* Deep sophisticated blue (kept for text contrast) */
    --color-primary-light: #A9D8F7; /* User requested light blue */
    --color-secondary: #8BE78B; /* User requested light green */
    --color-accent: #F7A000; /* User requested orange/gold */
    --color-background: #F7FAFC; /* Very light cool gray for freshness */
    --color-surface: #FFFFFF;
    --color-text-main: #000000;
    --color-text-muted: #000000;
    
    /* State / Clinical Area Theme Colors */
    --color-adhd: #EBF4FF; /* Light blue */
    --color-anxiety: #E6FFFA; /* Light teal */
    --color-pain: #FFF5F5; /* Light warm red/pink */

    /* New Palette Colors for Hero Redesign */
    --color-top-bar: #1F2937; /* Very dark slate for top bar */
    --color-accent-gold: #1cade0; /* User requested primary accent blue */
    --color-cream: #F9F6F0; /* Soft cream background for the hero */

    /* Typography */
    --font-heading: 'Marcellus', serif;
    --font-heading-serif: 'Marcellus', serif;
    --font-body: 'Marcellus', serif;
    --font-description: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Borders & Shadows */
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

p, .description {
    font-family: var(--font-description);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-light { color: var(--color-surface); }
.text-muted { color: var(--color-text-muted); }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.section-title { font-size: 2.5rem; margin-bottom: var(--spacing-md); }

/* Background Utilities */
.bg-light { background-color: var(--color-surface); }
.bg-dark { background-color: var(--color-primary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
}

.btn-secondary {
    background-color: var(--color-surface);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-accent {
    background-color: var(--color-accent-gold);
    color: white;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
}
.btn-accent:hover {
    background-color: #1284a1; /* Darker shade of #1cade0 */
    color: white;
}

/* Navigation Header */
.top-bar {
    background-color: var(--color-top-bar);
    color: white;
    font-size: 0.8rem;
    padding: 0.5rem var(--spacing-sm);
}

.top-bar-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 15px;
    align-items: center;
    opacity: 0.9;
}
.top-bar-left span {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.top-bar-right {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    opacity: 0.9;
    white-space: nowrap;
}
.top-bar-right a { color: white; opacity: 0.8; white-space: nowrap; }
.top-bar-right a:hover { opacity: 1; text-decoration: underline; }

.global-header {
    background: rgba(255, 255, 255, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-sm);
    max-width: 1500px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;
}

.logo img {
    height: 58px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    flex-shrink: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-main);
    white-space: nowrap;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-secondary);
}

/* Laptop Header Compression */
@media (max-width: 1400px) {
    .header-container {
        padding: 0.8rem 1.5rem;
    }
    .logo img {
        height: 50px;
    }
    .nav-links {
        gap: 1.2rem;
    }
    .nav-link {
        font-size: 0.88rem;
        white-space: nowrap;
    }
    .nav-links .btn {
        padding: 0.65rem 1.4rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

@media (max-width: 1200px) {
    .header-container {
        padding: 0.6rem 1rem;
    }
    .logo img {
        height: 44px;
    }
    .nav-links {
        gap: 0.75rem;
    }
    .nav-link {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .nav-links .btn {
        padding: 0.5rem 1rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }
}

/* Hero Section Redesign */
.hero {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--color-cream);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1fr; /* Adjusted for image emphasis */
    gap: 3rem;
    align-items: center;
}

.hero-pill-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}
.hero-pill-badge span { color: var(--color-accent-gold); font-weight: bold; margin-right: 0.3rem;}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-family: var(--font-heading-serif);
    font-weight: 400;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.hero-actions .btn { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px;}
.hero-actions .btn-outline:hover {
    background-color: white !important;
    color: var(--color-primary) !important;
}

.hero-trust {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.stars { color: var(--color-accent-gold); letter-spacing: 2px; }

.hero-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Floating Card Overlay */
.floating-card {
    position: absolute;
    bottom: 2rem;
    left: -2rem; /* Pulls it slightly out of the image bounds */
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 10;
}
@media (max-width: 768px) {
    .floating-card { left: 1rem; bottom: 1rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-content { grid-template-columns: 1fr; gap: 2rem; }
}
.floating-card-icon {
    width: 40px; height: 40px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}
.floating-card-text h4 { font-size: 0.9rem; font-family: var(--font-body); font-weight: 700; margin:0; }
.floating-card-text p { font-size: 0.8rem; color: var(--color-text-muted); margin:0; }

.video-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-container video {
    display: block;
    width: 100%;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem;
    border-radius: 50px;
}

.btn-video {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}
.btn-video:hover { opacity: 0.8; }

.video-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.text-link {
    font-weight: 600;
    color: var(--color-primary);
}

/* Start Here Cards */
.start-here {
    padding: var(--spacing-xl) 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.interactive-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.interactive-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.interactive-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.interactive-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-light);
}

/* Clinical Areas */
.clinical-areas {
    padding: var(--spacing-xl) 0;
}

.clinical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.clinical-card {
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push content to bottom */
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    box-shadow: var(--shadow-md);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.clinical-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.clinical-card:hover .card-overlay {
    opacity: 0.9;
}

.clinical-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.clinical-card p {
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.clinical-card .btn-outline:hover {
    background: white !important;
    color: var(--color-primary) !important;
}

/* Video Center */
.video-center {
    padding: var(--spacing-xl) 0;
}

.video-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.video-grid > * {
    width: 100%;
    max-width: 100%;
}

.video-card {
    cursor: pointer;
}

.video-thumb {
    height: 200px;
    border-radius: var(--border-radius);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
}

.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.video-card:hover .video-thumb::after {
    background: rgba(0,0,0,0.4);
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-primary);
    border: none;
    font-size: 1.5rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.video-card:hover .play-btn {
    transform: scale(1.1);
    background: var(--color-primary);
    color: white;
}

/* Footer */
.global-footer {
    background-color: #1A202C;
    color: #CBD5E0;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.footer-col a {
    color: #A0AEC0;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.footer-col a:hover { color: white; }

.emergency-disclaimer {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-accent);
}

.emergency-disclaimer p {
    font-size: 0.9rem;
}

/* Responsive */
/* Provider Highlight */
.provider-highlight {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7f6 100%);
    position: relative;
    overflow: hidden;
}

.provider-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.provider-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.provider-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.15;
}

.provider-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
}

.provider-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 1.8rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.4);
    font-weight: 600;
    color: var(--secondary-color);
    z-index: 2;
}

.provider-info h2 {
    font-size: 3.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.provider-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.provider-info .text-muted {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.provider-bio {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.provider-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-video-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    height: 600px; /* Enforced height as requested */
}

.hero-slideshow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.hero-slideshow .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.slider-saying {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(28, 173, 224, 0.9); /* #1cade0 at 90% opacity */
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    z-index: 10;
    font-family: var(--font-body);
}

/* Removed hover effect per user request */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(247, 160, 0, 0.9); /* Using the F7A000 orange */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    background: rgba(217, 140, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-welcome-text {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-primary);
    font-style: italic;
    font-weight: 500;
    text-align: center;
    padding: 0 1rem;
}

/* Video Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 680px;
    background: #0d131f;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    overflow: visible;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.1);
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal {
    position: absolute;
    top: -18px;
    right: -18px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 25;
    background: #1A202C;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.close-modal:hover {
    color: white;
    background: var(--color-primary);
    border-color: white;
    transform: scale(1.12);
}

.modal-welcome-text {
    color: rgba(255,255,255,0.95);
    text-align: center;
    padding: 1.2rem 1.5rem;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    box-sizing: border-box;
    background: #0d131f;
    border-radius: 0 0 12px 12px;
}



/* Insurance Summary */
.insurance-summary {
    padding: var(--spacing-xl) 0 50px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-surface);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card .price {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    margin: 1rem 0;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1rem;
}

.logo-grid img {
    flex: 1;
    min-width: 200px; /* Ensure they don't get too squished on tablet */
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    height: 85px;
    object-fit: contain;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.logo-grid img:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Dropdowns & Mega Menus */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.caret {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--color-text-main);
}

.dropdown-menu a:hover {
    background: var(--color-background);
    color: var(--color-primary);
}

/* Mega Menu */
.mega-dropdown {
    position: static;
}

.mega-menu {
    left: 0;
    right: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.mega-column h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-background);
}

.mega-column a {
    padding: 0.4rem 0;
}

/* Mobile Accordions */
.mobile-accordion {
    width: 100%;
}

.accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-main);
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.accordion-content {
    display: none; /* toggled via JS */
    padding-left: 1.5rem;
    margin-top: 1rem;
    gap: 1rem;
}

.accordion-content a {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* ---------- HERO HOMEPAGE (index1) ---------- */
.hero-homepage {
    position: relative;
    overflow: hidden;
    height: 650px;
    padding: 0;
    display: block;
    cursor: pointer;
}
.hero-homepage .hero-slideshow {
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.1) 75%);
    z-index: 1;
}
.hero-content-v1 {
    position: absolute;
    z-index: 2;
    width: 100%;
    max-width: 1500px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 var(--spacing-sm);
    box-sizing: border-box;
}
.hero-content-v1 .hero-text {
    text-align: left;
    color: white;
    max-width: 650px;
}
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}
.hero-content-v1 .hero-title {
    color: white;
    font-family: 'Marcellus', serif;
    font-size: 3.4rem;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    margin-bottom: 1.2rem;
}
.hero-content-v1 .hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2.2rem;
    max-width: 580px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
.hero-content-v1 .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}
.hero-content-v1 .hero-actions .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 1rem 2.2rem;
}
.hero-content-v1 .hero-actions .btn-outline {
    color: white;
    border-color: white;
    background: rgba(255,255,255,0.1);
}
.hero-content-v1 .hero-actions .btn-outline:hover {
    background: white;
    color: var(--color-primary);
}

@media (max-width: 1400px) {
    .hero-content-v1 {
        padding: 0 2rem 0 70px !important;
        left: 0 !important;
        margin: 0 !important;
        transform: none !important;
    }
    .hero-content-v1 .hero-text {
        max-width: 580px;
    }
    .hero-content-v1 .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    /* Tablet Topbar */
    .top-bar {
        padding: 0.45rem 1rem;
    }
    .top-bar-container {
        font-size: 0.8rem;
    }
    .top-bar-left {
        gap: 12px;
        font-size: 0.8rem;
    }
    .top-bar-left span {
        white-space: nowrap;
    }
    .top-bar-left span:nth-child(3) {
        display: none; /* Hide the long address in tablet view so Call and SMS fit neatly on 1 line */
    }
    .top-bar-right {
        gap: 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    /* Tablet Header Navigation */
    .header-container {
        padding: 0.7rem 1.5rem;
    }
    .logo img {
        height: 48px;
    }
    .nav-links.desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .hero-homepage {
        height: 520px;
    }
    .hero-content-v1 {
        padding: 0 1.5rem 0 50px !important;
        left: 0 !important;
        margin: 0 !important;
        transform: none !important;
    }
    .hero-content-v1 .hero-text {
        max-width: 520px;
    }
    .hero-content-v1 .hero-title {
        font-size: 2.7rem;
    }
    .hero-content-v1 .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.6rem;
    }
    .hero-content-v1 .hero-actions .btn-outline {
        display: none !important;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .clinical-grid {
        grid-template-columns: 1fr;
    }
    .provider-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .provider-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto;
    }
    .provider-image-wrapper::before {
        display: none;
    }
    .provider-img {
        width: 100%;
        max-height: 500px;
        object-fit: cover;
    }
    .provider-badge {
        display: none !important;
    }
    .provider-info {
        max-width: 100%;
        margin: 0 auto;
    }
    .logo-grid {
        justify-content: center;
    }
    .logo-grid img {
        min-width: 160px;
        flex: 0 1 calc(33.333% - 1.5rem);
    }
    .modal {
        padding: 1rem;
    }
    .modal-content {
        width: 80% !important;
        max-width: 540px !important;
    }
    .modal-welcome-text {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
        line-height: 1.5;
    }
    .close-modal {
        width: 32px;
        height: 32px;
        font-size: 16px;
        top: -12px;
        right: -12px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu needed */
    }
    .modal-content {
        width: 88% !important;
        max-width: 440px !important;
    }
    .modal-welcome-text {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    .close-modal {
        width: 28px;
        height: 28px;
        font-size: 14px;
        top: -10px;
        right: -10px;
    }
    .hero-homepage {
        height: 500px;
    }
    .hero-content-v1 {
        padding: 2rem 1.2rem;
    }
    .hero-content-v1 .hero-title {
        font-size: 2.2rem;
    }
    .hero-content-v1 .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .hero-content-v1 .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-content-v1 .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .logo-grid img {
        min-width: 140px;
        flex: 0 1 calc(50% - 1rem);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr !important;
    }
    .hero-homepage {
        height: 460px;
    }
    .hero-pill-badge {
        font-size: 0.72rem;
        padding: 0.3rem 0.8rem;
    }
    .hero-content-v1 .hero-title {
        font-size: 1.85rem;
    }
    .hero-content-v1 .hero-subtitle {
        font-size: 0.92rem;
    }
    .logo-grid img {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-surface);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: 2rem;
    height: 100%;
    overflow-y: auto;
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-main);
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.mobile-links a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-main);
    text-decoration: none;
}

.mobile-links a:hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    padding: 0.5rem;
}
.mobile-menu-btn svg {
    display: block;
    width: 28px;
    height: 28px;
}

/* Global Page Hero */
.global-page-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 0 3rem 0;
    height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    overflow: hidden;
}

.global-page-hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 4rem;
    width: 100%;
    max-width: none;
    border-radius: 0;
    text-align: center;
    backdrop-filter: blur(5px);
    margin: 0;
}

.global-page-hero-overlay > *:not(h1) {
    display: none !important;
}

.global-page-hero h1 {
    color: white;
    margin-bottom: 0;
    font-size: 3.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .global-page-hero {
        height: 300px;
    }
    .global-page-hero-overlay {
        padding: 1.5rem 2rem;
    }
    .global-page-hero h1 {
        font-size: 2.5rem;
    }
}

/* Premium Condition Layouts */
.condition-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.condition-text {
    max-width: 700px;
    line-height: 1.8;
    color: var(--color-text-main);
}

.condition-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.condition-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.condition-text ul {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.condition-text li {
    margin-bottom: 0.75rem;
}

.condition-text p {
    margin-bottom: 1.2rem;
}

.condition-text p,
.condition-text li,
.symptom-card p {
    font-size: 18px;
}

.symptom-map-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.symptom-map-grid .symptom-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-accent);
    transition: var(--transition-fast);
}

.symptom-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.symptom-card-header svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.symptom-map-grid .symptom-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.symptom-map-grid .symptom-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.condition-cta {
    padding: 0 0 100px 0;
    text-align: center;
    margin-top: 2rem;
}

.condition-cta h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.condition-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .condition-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .symptom-map-grid {
        grid-template-columns: 1fr;
    }
}

