/* ==========================================================================
   Smile N Shine Dental Care - Production Stylesheet
   Dr. Dipayan Bhattacharya (B.D.S, M.D.S Bangalore | Reg. No. 333-A TSDC)
   100% Standalone • Zero CDN Blocking • Zero Dead Code • Full Mobile Responsive
   ========================================================================== */

/* --- 1. CSS Reset & Theme Variables --- */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 6px; }
::-webkit-scrollbar-track { background: var(--slate-100); }
::-webkit-scrollbar-thumb { background: var(--emerald-600); border-radius: 4px; }

/* --- 2. Layout & Global Helpers --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.container-narrow {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-end { display: flex; justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.hidden { display: none !important; }

.text-emerald { color: var(--emerald-600); }
.text-amber { color: var(--amber-400); }
.text-white { color: #ffffff !important; }
.text-light { color: var(--emerald-100); }
.text-emerald-light { color: #a7f3d0; }
.text-muted { color: var(--slate-400); }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mr-1 { margin-right: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.pt-2 { padding-top: 0.5rem; }
.w-full { width: 100%; }

@media (max-width: 639px) { .hidden-sm { display: none !important; } }
@media (max-width: 767px) { .hidden-md { display: none !important; } }
@media (max-width: 1023px) { .hidden-lg { display: none !important; } }

.nowrap-headline {
    white-space: normal;
}
@media (min-width: 640px) {
    .nowrap-headline {
        white-space: nowrap;
    }
}

/* --- 3. Top Announcement Bar --- */
.top-bar {
    display: none;
    background-color: var(--slate-900);
    color: var(--slate-300);
    font-size: 0.75rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--slate-800);
}

@media (min-width: 768px) {
    .top-bar {
        display: block;
    }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.6875rem;
    background: var(--slate-800);
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    border: 1px solid var(--slate-700);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--emerald-500);
    animation: pulse-dot-anim 2s infinite;
}
.pulse-dot.bg-amber {
    background-color: var(--amber-400);
}
@keyframes pulse-dot-anim {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.divider { color: var(--slate-600); }
.link-bold { color: inherit; text-decoration: none; font-weight: 700; }
.link-bold:hover, .top-bar a:hover { color: var(--emerald-400); }
.top-address-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.15s ease;
}
.top-address-link:hover {
    color: var(--emerald-400);
}

/* --- 4. Main Navigation Header --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--slate-100);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.h-20 { height: 5rem; }
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.logo-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    transition: transform 0.2s ease;
}
.brand-logo:hover .logo-icon { transform: scale(1.05); }
.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.025em;
    display: block;
}
.brand-subtitle {
    display: block;
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--slate-500);
    letter-spacing: 0.1em;
    margin-top: -2px;
}
.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.75rem;
    font-weight: 600;
    font-size: 0.875rem;
}
@media (min-width: 768px) { .desktop-nav { display: flex; } }
.desktop-nav a {
    color: var(--slate-600);
    text-decoration: none;
    transition: color 0.15s ease;
}
.desktop-nav a:hover { color: var(--emerald-600); }

.menu-toggle-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--slate-700);
    cursor: pointer;
    padding: 0.5rem;
}
@media (min-width: 768px) { .menu-toggle-btn { display: none; } }
.mobile-drawer {
    background: #ffffff;
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.mobile-drawer a {
    display: block;
    padding: 0.625rem 0;
    color: var(--slate-700);
    font-weight: 600;
    text-decoration: none;
}
.mobile-drawer a:hover { color: var(--emerald-600); }

/* --- 5. Buttons --- */
.btn-primary {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-800));
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.3);
}
.btn-secondary {
    background: #ffffff;
    color: var(--slate-800);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.btn-secondary:hover { background: var(--slate-50); }
.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
}
.btn-sm {
    background: var(--emerald-600);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}
.btn-sm:hover { background: var(--emerald-700); }
.btn-amber {
    background: var(--amber-400);
    color: var(--slate-900);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
}
.btn-amber:hover { background: var(--amber-500); }
.btn-dark {
    background: var(--slate-900);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    transition: background 0.15s ease;
}
.btn-dark:hover { background: var(--slate-800); }
.btn-slate {
    background: var(--slate-700);
    color: var(--slate-200);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}
.btn-slate:hover { background: var(--slate-600); }

/* --- 6. Hero Section --- */
.hero-section {
    position: relative;
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.7), #ffffff 60%, var(--slate-50));
    padding: 2.5rem 0 4rem;
    overflow: hidden;
}
@media (min-width: 1024px) { .hero-section { padding: 3.5rem 0 5rem; } }
.grid-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .grid-hero { grid-template-columns: 7fr 5fr; }
}
.hero-content {
    text-align: center;
}
@media (min-width: 1024px) {
    .hero-content { text-align: left; }
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    background: var(--emerald-100);
    color: var(--emerald-900);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--emerald-200);
    margin-bottom: 1.25rem;
}
.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}
@media (min-width: 640px) { .hero-title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.15rem; } }
.gradient-text {
    background: linear-gradient(90deg, var(--emerald-700), var(--emerald-600), var(--amber-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 1024px) { .hero-desc { margin-left: 0; margin-right: 0; } }

.google-rating-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 1.5rem;
}
@media (min-width: 1024px) { .google-rating-hero { justify-content: flex-start; } }
.stars { color: var(--amber-400); display: flex; gap: 1px; }
.dot { color: var(--slate-300); }
.link-emerald { color: var(--emerald-700); text-decoration: none; font-weight: 600; }
.link-emerald:hover { text-decoration: underline; }

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}
@media (min-width: 640px) {
    .cta-group { flex-direction: row; }
}
@media (min-width: 1024px) {
    .cta-group { justify-content: flex-start; }
}

.symptom-triage {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-200);
    text-align: left;
}
.symptom-title {
    display: block;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
    margin-bottom: 0.625rem;
    text-align: center;
}
@media (min-width: 1024px) { .symptom-title { text-align: left; } }
.symptom-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
@media (min-width: 1024px) { .symptom-chips { justify-content: flex-start; } }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--slate-100);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    transition: background 0.15s ease;
}
.chip:hover { background: var(--slate-200); }
.chip-danger {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
    font-weight: 700;
}
.chip-danger:hover { background: #ffe4e6; }
.chip-emerald {
    background: var(--emerald-50);
    color: var(--emerald-800);
    border-color: var(--emerald-200);
}
.chip-emerald:hover { background: var(--emerald-100); }

/* Doctor Card */
.hero-image-wrapper { position: relative; }
.doctor-card {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
    background: #ffffff;
    padding: 0.875rem;
    border-radius: 1.75rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--slate-100);
}
.doctor-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 1.25rem;
}
@media (min-width: 640px) { .doctor-img { height: 420px; } }
.doctor-badge-floating {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.badge-content { display: flex; align-items: center; gap: 0.75rem; }
.badge-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--emerald-100);
    color: var(--emerald-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
}
.badge-name { font-size: 0.875rem; font-weight: 800; color: var(--slate-900); }
.badge-qualification { font-size: 0.75rem; font-weight: 600; color: var(--emerald-600); }
.badge-speciality { font-size: 0.625rem; color: var(--slate-500); font-weight: 600; }
.tag-lead {
    background: var(--emerald-50);
    color: var(--emerald-800);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    border: 1px solid var(--emerald-200);
}

/* --- 7. Detailed About Doctor Section --- */
.about-doctor-section {
    background: #ffffff;
    padding: 4rem 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}
.about-doctor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}
@media (min-width: 1024px) {
    .about-doctor-grid {
        grid-template-columns: 6.5fr 5.5fr;
        gap: 3.5rem;
    }
}
.bio-narrative {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bio-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.bio-text {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.7;
}

.quote-card {
    background: var(--slate-50);
    border-left: 4px solid var(--emerald-600);
    padding: 1.25rem 1.5rem;
    border-radius: 0 1rem 1rem 0;
    margin: 0.5rem 0;
    position: relative;
}
.quote-icon {
    font-size: 1.25rem;
    color: var(--emerald-600);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}
.quote-text {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--slate-700);
    line-height: 1.6;
}
.quote-author {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--emerald-800);
}

.credentials-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.cred-badge-pill {
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    color: var(--slate-800);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.pillar-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 1.25rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.2s ease;
}
.pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
    border-color: var(--emerald-200);
}
.pillar-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: var(--emerald-100);
    color: var(--emerald-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.pillar-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--slate-900);
}
.pillar-desc {
    font-size: 0.75rem;
    color: var(--slate-600);
    line-height: 1.5;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-200);
}
@media (min-width: 768px) {
    .milestones-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.milestone-item {
    text-align: center;
    background: var(--slate-50);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
}
.milestone-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--emerald-700);
}
.milestone-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* --- 8. Treatments & Services Section --- */
.treatments-section {
    padding: 4rem 0;
    background: var(--slate-50);
}
.section-heading {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--emerald-700);
    background: var(--emerald-100);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--emerald-200);
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.025em;
}
.section-desc {
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-top: 0.25rem;
}
.grid-treatments {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) { .grid-treatments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-treatments { grid-template-columns: repeat(4, 1fr); } }

.treatment-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 1.5rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}
.treatment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}
.treatment-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--emerald-50);
    color: var(--emerald-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}
.treatment-icon.icon-amber {
    background: var(--emerald-700);
    color: var(--amber-400);
}
.treatment-tag {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--emerald-700);
    background: var(--emerald-50);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
}
.treatment-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-top: 0.5rem;
}
.treatment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-100);
}
.clinical-feature {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--slate-700);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.featured-card {
    background: linear-gradient(180deg, var(--emerald-800), var(--emerald-900));
    color: #ffffff;
    border-color: var(--emerald-700);
    position: relative;
}
.most-requested-badge {
    position: absolute;
    top: -0.625rem;
    right: 1rem;
    background: var(--amber-400);
    color: var(--slate-900);
    font-size: 0.5625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
}
.tag-featured { background: rgba(2, 44, 34, 0.8); color: var(--emerald-100); }
.border-dark { border-top-color: rgba(4, 120, 87, 0.6); }

.rct-speciality-card {
    background: linear-gradient(180deg, #065f46 0%, #064e3b 100%) !important;
}
.rct-badge {
    background: #10b981 !important;
    color: #ffffff !important;
}

/* --- 9. Before / After Slider, Showcase Carousel & Google Hub --- */
.dark-section {
    background: var(--slate-900);
    color: #ffffff;
    padding: 4rem 0;
}
.tag-dark {
    background: #022c22;
    color: var(--emerald-400);
    border-color: #065f46;
}
.slider-wrapper {
    max-width: 48rem;
    margin: 0 auto;
    background: var(--slate-800);
    padding: 0.875rem;
    border-radius: 1.5rem;
    border: 1px solid var(--slate-700);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.ba-container {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 1rem;
    overflow: hidden;
    user-select: none;
    touch-action: none;
}
@media (min-width: 640px) { .ba-container { height: 400px; } }
.ba-base-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.ba-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    pointer-events: none;
}
.ba-overlay-img {
    height: 100%;
    object-fit: cover;
    max-width: none;
    pointer-events: none;
}
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #ffffff;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.6);
    z-index: 20;
}
.ba-handle-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #ffffff;
    color: var(--emerald-800);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.ba-label-before, .ba-label-after {
    position: absolute;
    top: 0.75rem;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}
.ba-label-before { left: 0.75rem; background: rgba(15, 23, 42, 0.8); color: #ffffff; }
.ba-label-after { right: 0.75rem; background: rgba(5, 150, 105, 0.9); color: #ffffff; }
.slider-caption {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--slate-300);
    padding: 0 0.5rem;
}
@media (min-width: 640px) { .slider-caption { flex-direction: row; } }
.link-emerald-light {
    color: var(--emerald-400);
    font-weight: 700;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
}
.link-emerald-light:hover { text-decoration: underline; }

/* --- NEW: Clinical Cases Horizontal Snap Carousel --- */
.showcase-carousel-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--slate-800);
}
.carousel-top-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.carousel-heading-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.carousel-heading-sub {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 0.25rem;
}
.carousel-nav-arrows {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.carousel-arrow-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--slate-800);
    color: #ffffff;
    border: 1px solid var(--slate-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    transition: all 0.2s ease;
}
.carousel-arrow-btn:hover {
    background: var(--emerald-600);
    border-color: var(--emerald-500);
    transform: scale(1.08);
}
.carousel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}
.carousel-track::-webkit-scrollbar {
    height: 6px;
}
.carousel-track::-webkit-scrollbar-track {
    background: var(--slate-800);
    border-radius: 9999px;
}
.carousel-track::-webkit-scrollbar-thumb {
    background: var(--emerald-600);
    border-radius: 9999px;
}
.carousel-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}
@media (min-width: 640px) {
    .carousel-card { flex: 0 0 290px; }
}
.carousel-card:hover {
    transform: translateY(-4px);
    border-color: var(--emerald-500);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
.carousel-card-img-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    background: var(--slate-900);
    overflow: hidden;
}
.carousel-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.carousel-card:hover .carousel-card-img {
    transform: scale(1.08);
}
.carousel-card-badge {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.carousel-card-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
.carousel-card-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}
.carousel-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--emerald-400);
    margin-top: 0.75rem;
}

/* Master CTA Card at end of track */
.carousel-card-cta {
    background: linear-gradient(135deg, var(--emerald-800), var(--emerald-900)) !important;
    border-color: var(--emerald-600) !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}
.carousel-card-cta:hover {
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-800)) !important;
    border-color: var(--emerald-400) !important;
}
.carousel-cta-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--emerald-600);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Google Reviews Hub */
.google-hub-wrapper {
    max-width: 56rem;
    margin: 4rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--slate-800);
}
.google-hub-bar {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid var(--slate-700);
    padding: 1.25rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
@media (min-width: 640px) { .google-hub-bar { flex-direction: row; } }
.google-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: #ffffff;
    color: var(--slate-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.rating-text { font-size: 0.875rem; font-weight: 800; color: #ffffff; margin-left: 0.25rem; }
.rating-sub { font-size: 0.75rem; color: var(--slate-300); }
.hub-buttons {
    display: flex;
    gap: 0.625rem;
    width: 100%;
}
@media (min-width: 640px) { .hub-buttons { width: auto; } }
.btn-compact { padding: 0.625rem 1rem; font-size: 0.75rem; flex: 1; }
@media (min-width: 640px) { .btn-compact { flex: none; } }

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--slate-700);
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-header { display: flex; align-items: center; justify-content: space-between; }
.stars-sm { font-size: 0.75rem; }
.review-body { font-size: 0.75rem; color: var(--slate-300); line-height: 1.5; margin-top: 0.5rem; }
.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    font-size: 0.6875rem;
}
.reviewer-name { font-weight: 700; color: #ffffff; }
.verified-tag { color: var(--emerald-400); font-weight: 600; font-size: 0.625rem; }

/* --- 10. FAQ Accordion --- */
.faq-section { background: #ffffff; padding: 3.5rem 0; }
.faq-accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    overflow: hidden;
}
.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-900);
    cursor: pointer;
    text-align: left;
    transition: color 0.15s ease;
}
.faq-btn:hover { color: var(--emerald-600); }
.faq-icon { font-size: 0.75rem; color: var(--slate-400); transition: transform 0.2s ease; }
.faq-icon.rotate-180 { transform: rotate(180deg); }
.faq-content {
    padding: 0 1rem 1rem;
    font-size: 0.75rem;
    color: var(--slate-600);
    line-height: 1.6;
    border-top: 1px solid var(--slate-100);
    padding-top: 0.625rem;
}

/* --- 11. Location & Google Map Section --- */
.location-section {
    padding: 4rem 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
}
.grid-location {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 1024px) { .grid-location { grid-template-columns: 5fr 7fr; } }
.location-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
@media (min-width: 640px) { .location-card { padding: 2rem; } }
.location-title { font-size: 1.5rem; font-weight: 800; color: var(--slate-900); margin-top: 0.5rem; }
.location-address { font-size: 0.75rem; color: var(--slate-600); margin-top: 0.25rem; line-height: 1.5; }
.info-list { display: flex; flex-direction: column; gap: 0.875rem; margin: 1.5rem 0; }
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: 0.75rem;
    font-size: 0.75rem;
}
.info-bold { font-weight: 700; color: var(--slate-900); }
.info-sub { color: var(--slate-600); }
.info-link { color: var(--emerald-700); font-weight: 700; text-decoration: none; }
.info-link:hover { text-decoration: underline; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.map-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 1.5rem;
    padding: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    height: 360px;
}
@media (min-width: 640px) { .map-card { height: 420px; } }

/* --- 12. 4-Column Modern Footer --- */
.main-footer {
    background-color: var(--slate-950) !important;
    color: var(--slate-400);
    padding: 3.5rem 0 2rem;
    border-top: 1px solid var(--slate-800);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.3fr 0.9fr 1.1fr 1.2fr; gap: 2.5rem; }
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.footer-logo-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: var(--emerald-600);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.125rem;
}
.footer-brand-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
    display: block;
}
.footer-brand-sub {
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--slate-400);
    letter-spacing: 0.08em;
    display: block;
    margin-top: -2px;
}
.footer-bio-text {
    font-size: 0.75rem;
    color: var(--slate-400);
    line-height: 1.6;
}
.footer-reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    font-size: 0.6875rem;
    color: var(--emerald-400);
    font-weight: 600;
    width: fit-content;
}
.footer-col-title {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.footer-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-nav-list li { list-style: none !important; }
.footer-nav-list a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.15s ease;
}
.footer-nav-list a i {
    font-size: 0.625rem;
    color: var(--emerald-500);
}
.footer-nav-list a:hover { color: var(--emerald-400); }
.footer-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    font-size: 0.75rem;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--slate-300);
    line-height: 1.4;
}
.footer-contact-item i { margin-top: 0.2rem; flex-shrink: 0; }
.footer-phone-link { color: #ffffff; font-weight: 700; text-decoration: none; }
.footer-phone-link:hover { color: var(--emerald-400); }
.footer-sun-timings {
    font-size: 0.6875rem;
    color: var(--emerald-400);
    font-weight: 600;
    padding-left: 1.25rem;
}
.footer-bottom-bar {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--slate-800);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--slate-500);
}
@media (min-width: 640px) {
    .footer-bottom-bar { flex-direction: row; }
}
.developer-link {
    color: var(--emerald-400);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}
.developer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- 13. Floating Action Elements --- */
.floating-whatsapp {
    position: fixed;
    bottom: 5rem;
    left: 1rem;
    z-index: 40;
    background: var(--emerald-600);
    color: #ffffff;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    animation: pulse-green 2s infinite;
}
@media (min-width: 640px) { .floating-whatsapp { left: 1.5rem; } }
@media (min-width: 768px) { .floating-whatsapp { bottom: 1.5rem; } }
.floating-whatsapp:hover {
    transform: scale(1.1);
    background: var(--emerald-700);
}

@keyframes pulse-green {
    0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.floating-back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    z-index: 40;
    background: var(--slate-900);
    color: #ffffff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    transition: all 0.3s ease;
}
@media (min-width: 640px) { .floating-back-to-top { right: 1.5rem; } }
@media (min-width: 768px) { .floating-back-to-top { bottom: 1.5rem; } }
.floating-back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.floating-back-to-top:hover {
    background: var(--emerald-600);
    transform: translateY(-2px) scale(1.05);
}

.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--slate-200);
    padding: 0.625rem;
    display: flex;
    gap: 0.5rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}
@media (min-width: 768px) { .mobile-sticky-bar { display: none; } }

/* --- 14. Booking Wizard Modal --- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}
.modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 32rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    overflow: hidden;
    border: 1px solid var(--slate-100);
}
.modal-header {
    background: var(--slate-900);
    color: #ffffff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-title { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.modal-subtitle { font-size: 0.6875rem; color: var(--slate-400); }
.modal-close-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--slate-800);
    color: var(--slate-400);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}
.modal-close-btn:hover { color: #ffffff; }

.modal-progress {
    background: var(--slate-100);
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--slate-400);
}
.modal-progress .step-active { color: var(--emerald-600); font-weight: 800; }

.modal-body { padding: 1.25rem; }
.wizard-step { display: flex; flex-direction: column; gap: 0.875rem; }
.form-label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--slate-700); margin-bottom: 0.375rem; }
.form-select, .form-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    font-size: 0.75rem;
    font-family: inherit;
    background: var(--slate-50);
}
.form-select:focus, .form-input:focus {
    outline: none;
    border-color: var(--emerald-600);
    background: #ffffff;
}

.doctor-badge-inline {
    padding: 0.75rem;
    background: var(--emerald-50);
    border-radius: 0.75rem;
    border: 1px solid var(--emerald-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.doctor-badge-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--emerald-600);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}
.doctor-inline-name { font-size: 0.75rem; font-weight: 700; color: var(--slate-900); }
.doctor-inline-qual { font-size: 0.625rem; color: var(--emerald-800); }

.shift-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.shift-btn {
    border: 1px solid var(--slate-200);
    padding: 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    background: #ffffff;
    color: var(--slate-700);
    cursor: pointer;
}
.shift-btn.active {
    border-color: var(--emerald-600);
    background: var(--emerald-50);
    color: var(--emerald-800);
}

.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.375rem; }
.slot-btn {
    border: 1px solid var(--slate-200);
    padding: 0.375rem;
    border-radius: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    background: #ffffff;
    color: var(--slate-700);
    cursor: pointer;
}
.slot-btn.active {
    background: var(--emerald-600);
    color: #ffffff;
    border-color: var(--emerald-600);
}

/* --- 15. Toast Popup --- */
.toast-popup {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    z-index: 50;
    background: var(--slate-900);
    color: #ffffff;
    padding: 0.625rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateY(1.25rem);
    pointer-events: none;
    transition: all 0.3s ease;
}
@media (min-width: 768px) { .toast-popup { bottom: 1.5rem; } }
.toast-popup.show {
    opacity: 1;
    transform: translateY(0);
}