/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-blue: #0066CC;
    --primary-dark: #004999;
    --primary-light: #4D94FF;
    --secondary-teal: #00A896;
    --accent-green: #05B674;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #767676;
    --background-light: #F8FAFB;
    --background-white: #FFFFFF;
    --border-color: #E5E5E5;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --section-padding: 80px 20px;
    --container-max: 1200px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===========================
   Navigation
   =========================== */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 102, 204, 0.12);
    box-shadow: 0 12px 30px rgba(11, 93, 111, 0.14);
    position: sticky;
    top: 8px;
    z-index: 1000;
    margin: 8px auto 0;
    max-width: min(1220px, calc(100% - 40px));
    border-radius: 14px;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    height: 68px;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-blue);
    text-decoration: none;
    min-width: 0;
    flex-shrink: 1;
}

.logo-icon-img {
    width: 80px;
    height: 80px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform-origin: center;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.logo:hover .logo-icon-img {
    transform: scale(1.06);
    filter: drop-shadow(0 0 8px rgba(56, 169, 229, 0.35));
}

.logo-text {
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
    margin-left: auto;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.84rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 10px;
    right: 10px;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-teal));
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

/* ── Language Toggle ─────────────────────────────────────── */
.lang-toggle {
    display: inline-flex;
    border: 2px solid rgba(0, 102, 204, 0.18);
    border-radius: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.lang-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    color: var(--text-medium);
    transition: background 0.2s ease, color 0.2s ease;
    font-family: var(--font-primary);
    line-height: 1;
}

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

.lang-btn:not(.active):hover {
    background: var(--background-light);
    color: var(--text-dark);
}

.btn-appointment {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-appointment:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    height: 600px;
    background: #0a1628;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ── Background Video ── */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.40) 0%,
            rgba(0, 0, 0, 0.20) 40%,
            rgba(0, 0, 0, 0.35) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
    animation: heroFadeIn 1s ease-out 0.2s both;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: heroSlideUp 0.8s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.3);
    animation: heroSlideUp 0.8s ease-out 0.5s both;
}

.hero-buttons {
    animation: heroSlideUp 0.8s ease-out 0.7s both;
}

/* ── Hero Animations ── */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.appointment-bottom-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.appointment-bottom-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    transition: left 0.45s ease;
}

.appointment-bottom-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.appointment-bottom-btn:hover::before {
    left: 135%;
}

.appointment-bottom-btn:focus-visible {
    outline: 3px solid #facc15;
    outline-offset: 3px;
}

.hero-features {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.98);
    padding: 25px 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px var(--shadow-light);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.feature-icon i {
    font-size: 1.25rem;
    color: white;
}

.feature-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.feature-text strong {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.feature-text span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-label {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* ===========================
   Welcome Section
   =========================== */
.welcome-section {
    background: var(--background-white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.welcome-content p {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.welcome-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.image-placeholder {
    background: linear-gradient(135deg, #E8F4F8, #D1E9F6);
    height: 500px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===========================
   Services Preview
   =========================== */
.services-preview {
    background: var(--background-light);
    padding-top: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    padding: 26px;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow-light);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.45s cubic-bezier(0.17, 0.67, 0.46, 0.98),
                transform 0.45s cubic-bezier(0.17, 0.67, 0.46, 0.98);

    /* Scroll entrance — set by JS per card index */
    opacity: 0;
    transform: translateY(28px);
}

.service-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease var(--svc-reveal-delay, 0s),
                transform 0.55s cubic-bezier(0.17, 0.67, 0.46, 0.98) var(--svc-reveal-delay, 0s),
                box-shadow 0.45s cubic-bezier(0.17, 0.67, 0.46, 0.98),
                background-color 0.45s ease;
}

/* Blob sweep — starts bottom-right, expands to fill */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    border-radius: 50%;
    transform: translate(110%, 110%) scale(1.8);
    transition: transform 0.5s cubic-bezier(0.17, 0.67, 0.46, 0.98),
                border-radius 0.5s ease;
    z-index: 0;
}

@media (hover: hover) {
    .service-card:hover::before {
        transform: translate(0%, 0%) scale(2.2);
        border-radius: 0;
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 36px rgba(0, 102, 204, 0.28);
    }

    /* Lift text above the sweep layer */
    .service-card:hover .service-icon-box,
    .service-card:hover h3,
    .service-card:hover p {
        position: relative;
        z-index: 1;
        color: white;
        transition: color 0.35s ease;
    }

    .service-card:hover h3 { color: white; }
    .service-card:hover p  { color: rgba(255,255,255,0.88); }

    /* Arrow link reveal */
    .service-card:hover .service-link {
        position: relative;
        z-index: 1;
        color: white;
        opacity: 1;
        transform: translateX(0);
        transition: color 0.3s ease, transform 0.3s ease;
    }
}

.service-card .service-icon-box {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
    transition: color 0.35s ease;
}

.service-card:hover {
    box-shadow: 0 14px 36px rgba(0, 102, 204, 0.28);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-medium);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card::before,
    .service-card.is-visible {
        transition: none !important;
        animation: none !important;
    }
    .service-card {
        opacity: 1;
        transform: none;
    }
    .hero-content,
    .hero-title,
    .hero-subtitle,
    .hero-buttons {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .hero-video {
        display: none;
    }
    .hero {
        background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
    }
}

.services-cta {
    text-align: center;
}

/* ===========================
   Hormone Decline Chart (Area)
   =========================== */
.hormone-chart-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.hormone-chart-section h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.hormone-chart-subtitle {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Area chart container */
.hormone-area-chart {
    background: var(--background-light);
    border-radius: 14px;
    padding: 24px 20px 16px;
    border: 1px solid var(--border-color);
}

/* Legend */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Chart layout */
.chart-wrapper {
    display: flex;
    gap: 8px;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0 24px;
    flex-shrink: 0;
}

.chart-y-axis span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-medium);
    text-align: right;
    min-width: 34px;
}

.chart-svg-wrap {
    flex: 1;
    min-width: 0;
}

.area-chart-svg {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    display: block;
    border-left: 1px solid #d1d5db;
    border-bottom: 1px solid #d1d5db;
}

.area-chart-svg .grid-line {
    stroke: #e5e7eb;
    stroke-width: 0.8;
    stroke-dasharray: 4 3;
}

.area-chart-svg .area-fill {
    opacity: 0.6;
}

.area-chart-svg .area-line {
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* X-axis labels */
.chart-x-axis {
    display: flex;
    justify-content: space-between;
    padding-top: 6px;
}

.chart-x-axis span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-medium);
    text-align: center;
}

.hormone-chart-note {
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--text-medium);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.hormone-chart-note i {
    color: var(--primary-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hormone-area-chart {
        padding: 18px 14px 12px;
    }

    .chart-legend {
        gap: 10px;
    }

    .legend-item {
        font-size: 0.75rem;
    }

    .chart-y-axis span {
        font-size: 0.65rem;
        min-width: 28px;
    }

    .chart-x-axis span {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .chart-legend {
        gap: 8px 12px;
    }

    .legend-item {
        font-size: 0.7rem;
    }

    .legend-dot {
        width: 8px;
        height: 8px;
    }

    .chart-y-axis span {
        font-size: 0.6rem;
        min-width: 24px;
    }

    .chart-x-axis span {
        font-size: 0.6rem;
    }
}

/* ===========================
   Why Choose Us
   =========================== */
.why-choose {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon-large {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.feature-icon-large i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===========================
   Providers Highlight
   =========================== */
/* ===========================
   Connect Section (Slider + Get in Touch)
   =========================== */
.connect-section {
    background: var(--background-light);
    padding: 80px 0;
}

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* --- Auto-Rotating Slider --- */
.connect-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.slider-viewport {
    overflow: hidden;
    border-radius: 16px;
    height: 100%;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    height: 100%;
}

.slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 40px;
    height: 100%;
    color: white;
    box-sizing: border-box;
}

.slide-image {
    padding: 0;
    background: #000;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-gradient-1 { background: linear-gradient(135deg, #0066CC, #0088DD); }
.slide-gradient-2 { background: linear-gradient(135deg, #00897B, #26A69A); }
.slide-gradient-3 {
    background: #1a1a2e;
    padding: 14px;
    align-items: stretch;
    justify-content: stretch;
}
.slide-gradient-4 {
    background: #0E2C2A;
    padding: 14px;
    align-items: stretch;
    justify-content: stretch;
}

.slide-media-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.slide-media-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.slide-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.slide-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.slide-content p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 22px;
    max-width: 420px;
}

.slide-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
    transition: border-color 0.3s;
}

.slide-link:hover {
    border-color: white;
}

/* Slider nav buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* --- Get in Touch --- */
.get-in-touch {
    background: white;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.get-in-touch h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.get-in-touch h2 i {
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.git-subtitle {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.git-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.git-form input,
.git-form select,
.git-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-dark);
    background: #fafbfc;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.git-form input:focus,
.git-form select:focus,
.git-form textarea:focus {
    outline: none;
    border-color: var(--secondary-teal);
    box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.1);
    background: white;
}

.git-form textarea {
    resize: vertical;
    min-height: 70px;
}

.git-submit {
    margin-top: auto;
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
}

/* ===========================
   Legal Pages (Privacy, Terms, Non-Discrimination)
   =========================== */
.legal-content {
    padding: 60px 0 80px;
}

.legal-card {
    background: white;
    border-radius: 16px;
    padding: 48px 44px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    max-width: 860px;
    margin: 0 auto;
}

.legal-effective {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.legal-card > p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-card h2 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-top: 36px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-teal);
    display: inline-block;
}

.legal-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.legal-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-medium);
    line-height: 1.7;
}

.legal-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
}

.legal-contact {
    background: var(--background-light);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 20px 0;
}

.legal-contact h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.legal-contact p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 4px;
}

.legal-contact a {
    color: var(--primary-blue);
    text-decoration: none;
}

.legal-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 30px 22px;
    }

    .legal-card h2 {
        font-size: 1.2rem;
    }
}

/* ===========================
   Testimonials
   =========================== */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.testimonial-card {
    background: var(--background-light);
    padding: 35px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.testimonial-stars {
    color: #FFC107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

.social-icons a {
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.hours-list span {
    font-weight: 600;
    color: white;
}

.emergency-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-green);
    font-weight: 600;
}

.contact-list li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: white;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   Page Header
   =========================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ===========================
   Services Detail Page
   =========================== */
.services-detail {
    background: var(--background-light);
}

.service-detail-card {
    background: white;
    border-radius: 12px;
    padding: 45px;
    margin-bottom: 35px;
    box-shadow: 0 2px 15px var(--shadow-light);
    border-left: 4px solid var(--primary-blue);
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-detail-card:hover {
    box-shadow: 0 8px 30px var(--shadow-medium);
    transform: translateY(-2px);
}

.service-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--background-light);
}

/* Styled icon box — replaces plain emoji */
.service-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.service-icon-box i {
    font-size: 1.75rem;
    color: white;
}

.service-detail-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.service-tagline {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 500;
}

.service-detail-content > p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.service-detail-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checkmark {
    color: var(--accent-green);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.service-feature-item strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

.service-feature-item p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===========================
   Provider Profile Page
   =========================== */
.provider-profile-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 35px;
    box-shadow: 0 2px 15px var(--shadow-light);
}

.provider-profile-header {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-bottom: 35px;
}

.provider-profile-image {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.provider-profile-info h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.provider-credentials {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

.provider-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.specialty-badge {
    background: var(--background-light);
    color: var(--primary-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.provider-bio {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 25px;
}

.provider-details h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 25px;
}

.provider-details ul {
    list-style: none;
    padding: 0;
}

.provider-details li {
    color: var(--text-medium);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.provider-details li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* ===========================
   Patient Info Page
   =========================== */
.info-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.info-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.info-tab:hover,
.info-tab.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.info-content-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px var(--shadow-light);
}

.info-content-card h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Insurance Logo Grid */
.insurance-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.insurance-logo-item {
    background: var(--background-light);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.insurance-logo-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.insurance-logo-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.faq-answer {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===========================
   Contact Page
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px var(--shadow-light);
}

.contact-info-section h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-medium);
    line-height: 1.7;
}

.contact-form-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px var(--shadow-light);
}

.contact-form-section h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-placeholder {
    background: linear-gradient(135deg, #E8F4F8, #D1E9F6);
    height: 400px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 40px;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .welcome-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .provider-profile-header {
        grid-template-columns: 1fr;
    }
    
    .provider-profile-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        margin: 8px 10px 0;
        border-radius: 10px;
        top: 8px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 68px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        gap: 0;
        margin-left: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a.active::after {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .btn-appointment {
        display: none;
    }

    .logo {
        font-size: 0.95rem;
        gap: 6px;
    }

    .logo-icon-img {
        width: 42px;
        height: 42px;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 500px;
        padding: 60px 20px 120px;
    }

    .hero-video {
        min-height: 100%;
        min-width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-features {
        gap: 20px;
        padding: 20px 15px;
    }
    
    .hero-feature {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    /* Page Header */
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 60px 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Welcome Section */
    .welcome-content h2 {
        font-size: 1.8rem;
    }
    
    .welcome-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .image-placeholder {
        height: 300px;
    }
    
    /* Services & Cards */
    .services-grid,
    .testimonials-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .connect-grid {
        grid-template-columns: 1fr;
    }

    .connect-slider {
        min-height: 340px;
    }

    .slide-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(4, minmax(0, 1fr));
    }
    
    .service-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-detail-card {
        padding: 30px 20px;
    }

    .service-features {
        grid-template-columns: 1fr;
    }
    
    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 30px 20px;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 0.85rem;
    }

    .logo-icon-img {
        width: 36px;
        height: 36px;
    }

    .hero {
        min-height: 260px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }

    .slide-gradient-3,
    .slide-gradient-4 {
        padding: 10px;
    }

    .slide-media-grid {
        gap: 6px;
    }
    
    .welcome-content h2 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-icon,
    .service-detail-icon {
        font-size: 2.5rem;
    }
    
    .feature-icon-large {
        font-size: 3rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .service-detail-header h2 {
        font-size: 1.5rem;
    }
    
    .provider-profile-info h2 {
        font-size: 1.5rem;
    }
}


/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .btn-appointment,
    .hero,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
    }
}
