/* =========================================================
   Aurelia Medical Clinic - Ultra-Interactive Modern Design System
   Color Palette: Deep Medical Green (#164E4A), Soft Sage (#DDEDE8), Warm White (#FAFAF7)
   Typography: Manrope
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary: #0D3832;            /* Deep Medical Forest Green */
    --primary-hover: #072622;
    --primary-light: #16564d;
    --primary-glow: rgba(13, 56, 50, 0.16);

    /* Brand Accent Colors (Matched with Aurelia Logo Icon Heart & Care Red) */
    --brand-red: #C12322;          /* Exact Red from Logo Icon */
    --brand-red-hover: #A71C1B;
    --brand-red-light: #DE3635;
    --brand-red-subtle: #FDF2F2;   /* Soft Red / Coral Tint for Eyebrows & Badges */
    --brand-red-border: #F8D7D7;
    --brand-red-glow: rgba(193, 35, 34, 0.22);

    --sage: #DDEDE8;               /* Soft Sage Accent */
    --sage-light: #EAF4F1;
    --sage-subtle: #F3F8F6;
    --sage-dark: #b8ded3;

    --bg-page: #F7FAF8;            /* Warm Calm Medical Background */
    --bg-card: #FFFFFF;
    --bg-muted: #F0F4F2;

    --text-title: #0F2320;          /* Deep Obsidian Slate */
    --text-body: #455A56;          /* Balanced Calm Medical Charcoal */
    --text-muted: #738A85;

    --border: #E1EBE7;
    --border-light: #EBF2EF;
    --border-focus: #0D3832;

    --whatsapp: #25D366;
    --whatsapp-dark: #1ea952;
    --success: #15803d;
    --accent-orange: #d97706;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-card: 20px;
    --radius-lg: 28px;
    --radius-full: 9999px;

    /* Elevated Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 35, 32, 0.04);
    --shadow-md: 0 6px 18px -4px rgba(15, 35, 32, 0.06), 0 2px 6px -2px rgba(15, 35, 32, 0.03);
    --shadow-lg: 0 16px 36px -6px rgba(13, 56, 50, 0.1), 0 4px 12px -2px rgba(15, 35, 32, 0.04);
    --shadow-hover: 0 20px 42px -6px rgba(13, 56, 50, 0.14);

    --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    --max-w: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-title);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.025em;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   Top Bar & Live Clinic Status (Redesigned & Premium)
   ========================================================= */

.top-bar {
    background: #082420;
    background: linear-gradient(90deg, #071f1c 0%, #0c2e28 50%, #071f1c 100%);
    color: #c9ded9;
    font-size: 12.5px;
    line-height: 1.4;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Status Badge with Live Pulse (Solid Clean Colors) */
.top-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #0d3832;
    border: 1px solid #1b574e;
    padding: 4px 11px 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.top-status-badge .status-text {
    color: #4ade80;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.top-status-badge .status-hours {
    color: #d1fae5;
    font-weight: 500;
    opacity: 0.95;
    padding-left: 6px;
    border-left: 1px solid #1b574e;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseDotGlow 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    flex-shrink: 0;
}

@keyframes pulseDotGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    60% {
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Dividers */
.top-bar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-block;
    flex-shrink: 0;
}

/* Location Link */
.top-bar-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b7d5ce;
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.2s ease;
}

.top-bar-location:hover {
    color: #ffffff;
}

.top-bar-location .top-bar-icon {
    color: #5eead4;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.top-bar-location:hover .top-bar-icon {
    transform: translateY(-1px);
}

/* Desk Phone */
.top-bar-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    text-decoration: none;
    font-size: 12.5px;
    padding: 3px 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.top-bar-phone .phone-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #113f38;
    border: 1px solid #1d584e;
    color: #5eead4;
    transition: background 0.2s ease, transform 0.2s ease;
}

.top-bar-phone .phone-label {
    color: #93bfb6;
    font-weight: 500;
}

.top-bar-phone .phone-number {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.top-bar-phone:hover {
    color: #5eead4;
}

.top-bar-phone:hover .phone-icon-wrap {
    background: #19564c;
    transform: scale(1.08);
}

.top-bar-phone:hover .phone-number {
    color: #5eead4;
}

/* WhatsApp Solid CTA Button */
.top-bar-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    border: 1px solid #20b859;
    color: #04241d;
    padding: 4px 13px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.top-bar-whatsapp .whatsapp-icon {
    fill: #04241d;
    transition: transform 0.2s ease;
}

.top-bar-whatsapp:hover {
    background: #1eb857;
    color: #031c17;
    border-color: #1eb857;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

.top-bar-whatsapp:hover .whatsapp-icon {
    transform: scale(1.1);
}

/* Staff Login Shortcut (Solid Clean Box) */
.top-bar-staff {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #0d3832;
    border: 1px solid #1a544c;
    color: #bde0d9;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.top-bar-staff:hover {
    color: #ffffff;
    background: #144940;
}

/* Top bar responsive behavior */
@media (max-width: 992px) {
    .top-bar-location span {
        max-width: 250px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 840px) {
    .top-bar-location {
        display: none;
    }
    .top-bar-left .top-bar-divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .top-bar {
        padding: 6px 0;
    }
    .top-bar-inner {
        justify-content: space-between;
        gap: 8px;
    }
    .top-status-badge {
        padding: 2.5px 8px;
        font-size: 11px;
    }
    .top-status-badge .status-hours {
        display: none;
    }
    .top-bar-phone .phone-label {
        display: none;
    }
    .top-bar-phone .phone-number {
        font-size: 11.5px;
    }
    .top-bar-whatsapp {
        padding: 2.5px 9px;
        font-size: 11px;
    }
    .top-bar-right .top-bar-divider {
        display: none;
    }
    .top-bar-staff {
        display: none;
    }
}

/* =========================================================
   Header & Sticky Navigation
   ========================================================= */

.site-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-symbol {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
    transition: var(--transition);
}

.brand-logo:hover .brand-symbol {
    transform: rotate(-4deg) scale(1.04);
}

.brand-text h1 {
    font-size: 21px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.brand-text span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    color: var(--text-title);
    font-weight: 600;
    font-size: 14.5px;
    padding: 6px 0;
    position: relative;
}

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

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-title);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    height: 44px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.header-phone svg {
    width: 17px;
    height: 17px;
    color: var(--primary);
    flex-shrink: 0;
}

.header-phone span {
    white-space: nowrap;
    line-height: 1;
}

.header-phone:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--sage-light);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--text-title);
}

/* =========================================================
   Buttons & Interactive Pills
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    user-select: none;
}

.btn-primary {
    background-color: var(--brand-red);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--brand-red-glow);
}

.btn-primary:hover {
    background-color: var(--brand-red-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(193, 35, 34, 0.32);
}

.btn-forest {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-forest:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(13, 56, 50, 0.24);
}

.btn-outline {
    background: #ffffff;
    border-color: var(--border);
    color: var(--text-title);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--sage-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13.5px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

/* =========================================================
   02. Premium Hero Section (Solid, High-Contrast, Luxury Aesthetic)
   ========================================================= */
.hero-clean-section {
    padding: 48px 0 46px;
    background: #f7faf8;
    border-bottom: 1px solid var(--border);
}

.hero-clean-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 52px;
    align-items: center;
}

.hero-clean-content {
    max-width: 630px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-red-subtle);
    border: 1px solid var(--brand-red-border);
    color: var(--brand-red);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 22px;
}

.hero-clean-title {
    font-size: 52px;
    line-height: 1.14;
    letter-spacing: -0.035em;
    color: #0f2320;
    font-weight: 800;
    margin-bottom: 22px;
}

.hero-clean-title .title-accent {
    color: #12544c;
    position: relative;
    display: inline-block;
}

.hero-clean-desc {
    font-size: 17.5px;
    line-height: 1.7;
    color: #435753;
    margin-bottom: 34px;
    font-weight: 400;
}

.hero-clean-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn-clean-call {
    background: #ffffff;
    border: 1.5px solid #0d3832;
    color: #0d3832;
    padding: 14px 24px;
    font-weight: 700;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.btn-clean-call:hover {
    background: #e2f0ec;
    color: #082823;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 56, 50, 0.12);
}

.hero-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
    padding-top: 28px;
    border-top: 1px solid #dde6e3;
}

.hero-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: #172b28;
}

.hero-check-badge {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    transition: transform 0.25s ease, color 0.25s ease;
}

.hero-check-badge svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.2;
    stroke: currentColor;
}

.hero-check-item:hover .hero-check-badge {
    background: transparent;
    color: #12544c;
    border: none;
    transform: scale(1.1);
}

/* =========================================================
   Why Choose Us / Patient Experience Line-Art Cards
   ========================================================= */
.why-num-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.why-num-card:hover {
    border-color: #0d3832;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(13, 56, 50, 0.08);
}

.why-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.why-icon-box {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    transition: transform 0.25s ease, color 0.25s ease;
}

.why-icon-box svg {
    width: 48px;
    height: 48px;
    stroke-width: 2;
    stroke: currentColor;
}

.why-num-card:hover .why-icon-box {
    background: transparent;
    color: #12544c;
    border: none;
    transform: translateY(-2px) scale(1.06);
}

.why-num-badge {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--brand-red);
    font-family: 'Plus Jakarta Sans', monospace, sans-serif;
    background: var(--brand-red-subtle);
    border: 1px solid var(--brand-red-border);
    padding: 5px 11px;
    border-radius: 6px;
}

/* Right Doctor Portrait Card (Solid, Framed, Luxury) */
.hero-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid #e1ebe7;
    background: #ffffff;
    box-shadow: 0 16px 40px -8px rgba(13, 56, 50, 0.12), 0 2px 6px rgba(13, 56, 50, 0.04);
}

.hero-image-card img {
    width: 100%;
    height: 425px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hero-top-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #0d3832;
    border: 1px solid #1f5f55;
    padding: 7px 14px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4ade80;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hero-top-badge span.text {
    color: #e6f7f3;
}

.hero-image-caption {
    background: #0d3832;
    padding: 18px 22px;
    color: #ffffff;
    border-top: 1px solid #1a594e;
}

.hero-caption-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.hero-doc-name {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.hero-doc-sub {
    font-size: 13px;
    color: #b7ded5;
    font-weight: 500;
}

.hero-rating-pill {
    background: #072520;
    border: 1px solid #185247;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #fcd34d;
    white-space: nowrap;
}

.hero-caption-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: #8bbcb2;
    border-top: 1px solid #174d44;
    padding-top: 10px;
    margin-top: 10px;
}

.hero-caption-bottom strong {
    color: #4ade80;
}

/* =========================================================
   03. Trust / Clinic Highlights Horizontal Strip
   ========================================================= */
.trust-strip-container {
    margin: 36px auto 64px;
}

.trust-strip {
    background: #0a2f2a;
    border: 1px solid #154e45;
    border-radius: 20px;
    padding: 30px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(10, 47, 42, 0.16);
    width: 100%;
}

.trust-strip-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-strip-metric {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 5px;
    letter-spacing: -0.025em;
}

.trust-strip-metric .metric-accent {
    color: var(--brand-red-light);
}

.trust-strip-label {
    font-size: 14.5px;
    font-weight: 700;
    color: #d1f0e7;
    margin-bottom: 2px;
}

.trust-strip-sub {
    font-size: 12.5px;
    font-weight: 500;
    color: #7ebfb2;
}

.trust-strip-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   04. Clinical Services Cards (Solid, Elevated)
   ========================================================= */
.service-card {
    background: #ffffff;
    border: 1.5px solid #e1eae7;
    border-radius: 18px;
    padding: 32px 28px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15, 35, 32, 0.04);
    position: relative;
}

/* Individual Soft Pastel Clinical Themes matching box designs */
.service-card:nth-child(1),
.service-card.service-card-mint {
    background: #eaf5f1;
    border-color: #cbe3dc;
}

.service-card:nth-child(2),
.service-card.service-card-blue {
    background: #eaf2f9;
    border-color: #cbe0f0;
}

.service-card:nth-child(3),
.service-card.service-card-lavender {
    background: #f7eef5;
    border-color: #ebd1e3;
}

.service-card:nth-child(4),
.service-card.service-card-amber {
    background: #faf4e8;
    border-color: #ecdbc3;
}

.service-card:nth-child(5),
.service-card.service-card-sage {
    background: #eff7ee;
    border-color: #d1ebd1;
}

.service-card:nth-child(6),
.service-card.service-card-ice {
    background: #ebf5f7;
    border-color: #cce7eb;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -6px rgba(13, 56, 50, 0.12), 0 4px 12px rgba(13, 56, 50, 0.05);
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

/* Logo icon styled with crisp white circle border & matching box background */
.service-card-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 10px rgba(15, 35, 32, 0.08);
    background: inherit;
    color: #0f2320;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card-icon svg {
    width: 44px;
    height: 44px;
    stroke-width: 2.1;
    stroke: #0f2320;
    transition: transform 0.2s ease;
}

.service-card:hover .service-card-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(15, 35, 32, 0.12);
    border-color: #ffffff;
}

/* Highly visible active / click state */
.service-card-icon:active,
.service-card:active .service-card-icon {
    transform: scale(0.92);
    border-color: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(255, 255, 255, 0.95), 0 2px 8px rgba(15, 35, 32, 0.2);
}

.service-badge {
    background: #ffffff;
    border: 1px solid rgba(15, 35, 32, 0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 9999px;
    box-shadow: 0 1px 4px rgba(15, 35, 32, 0.05);
}

.service-card h3 {
    font-size: 21px;
    color: #0f2320;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    font-size: 14.5px;
    color: #4b605c;
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    font-size: 14px;
    font-weight: 800;
    color: #0d3832;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid #edf3f0;
    transition: all 0.2s ease;
}

.service-link:hover {
    color: var(--brand-red);
    gap: 10px;
}

/* =========================================================
   05. About the Clinic Section
   ========================================================= */
.about-clinic-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.about-clinic-photo {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid #e1ebe7;
    background: #ffffff;
    box-shadow: 0 16px 40px -8px rgba(13, 56, 50, 0.12);
}

.about-clinic-photo img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.about-photo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #0d3832;
    border: 1px solid #1d5f54;
    padding: 14px 20px;
    border-radius: 12px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
}

.about-photo-badge span.location {
    color: #92d4c6;
}

.about-clinic-content h2 {
    font-size: 38px;
    line-height: 1.2;
    color: #0f2320;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.about-clinic-p {
    font-size: 16px;
    line-height: 1.72;
    color: #455a55;
    margin-bottom: 28px;
}

.about-clinic-checks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 34px;
}

.about-check-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #132825;
    background: #ffffff;
    border: 1px solid #e1ebe7;
    padding: 12px 18px;
    border-radius: 10px;
}

.about-check-row .check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e6f7ef;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =========================================================
   06. Executive Doctor Feature Card
   ========================================================= */
.doctor-feature-card {
    background: #ffffff;
    border: 1.5px solid #e1eae7;
    border-radius: 24px;
    padding: 44px;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(13, 56, 50, 0.06);
}

.doctor-feature-img {
    border-radius: 20px;
    overflow: hidden;
    height: 420px;
    border: 1px solid #dde6e3;
}

.doctor-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.doctor-schedule-box {
    background: #f4f8f6;
    border: 1.5px solid #d4e7e0;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.doctor-schedule-box strong {
    color: #0d3832;
    display: block;
    margin-bottom: 2px;
}

.doctor-fee-box {
    text-align: right;
}

.doctor-fee-box .fee-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-red);
    display: block;
    line-height: 1.1;
}

.doctor-fee-box .fee-label {
    font-size: 11.5px;
    color: #647b76;
}

/* =========================================================
   07. Why Choose Us Numbered Cards
   ========================================================= */
.why-num-card {
    background: #ffffff;
    border: 1.5px solid #e1eae7;
    border-radius: 18px;
    padding: 34px 28px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(15, 35, 32, 0.03);
}

.why-num-card:hover {
    border-color: #0d3832;
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(13, 56, 50, 0.1);
}

.why-num-badge {
    font-size: 15px;
    font-weight: 800;
    color: var(--brand-red);
    font-family: monospace;
    background: var(--brand-red-subtle);
    border: 1px solid var(--brand-red-border);
    padding: 4px 11px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 16px;
}

.why-num-card h3 {
    font-size: 20px;
    color: #0f2320;
    margin-bottom: 10px;
    font-weight: 700;
}

.why-num-card p {
    font-size: 14.5px;
    color: #485d58;
    line-height: 1.65;
}

/* =========================================================
   08. High-Conversion Appointment CTA Banner
   ========================================================= */
.cta-banner-card {
    background: #0a2f2a;
    border: 1px solid #165247;
    border-radius: 24px;
    padding: 60px 48px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 16px 44px rgba(10, 47, 42, 0.22);
}

.cta-banner-card h2 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.cta-banner-card p {
    color: #c9ede4;
    font-size: 18px;
    margin-bottom: 34px;
}

.cta-banner-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-cta-white {
    background: #ffffff;
    color: #0a2f2a;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-white:hover {
    background: var(--brand-red);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(193, 35, 34, 0.4);
}

.btn-cta-phone {
    background: transparent;
    border: 1.5px solid #236c5f;
    color: #ffffff;
    padding: 15px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-cta-phone:hover {
    background: #14493f;
    border-color: #4ade80;
    color: #ffffff;
}

.cta-trust-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: #8cc3b7;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid #14473e;
}

.cta-call-link {
    color: #ffffff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cta-call-link:hover {
    color: #4ade80;
}

/* Panoramic Banner styles (Retained for secondary banner) */
.hero-panoramic-section {
    padding: 24px 0 32px;
    position: relative;
}

.hero-banner-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #08211d url('../images/hero-bg.jpg') center right / cover no-repeat;
    box-shadow: 0 20px 50px rgba(7, 31, 28, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 570px;
    display: flex;
    align-items: center;
}

/* Gradient Mask: High-contrast dark atmospheric overlay on left, easing into hospital exterior on right */
.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg, 
        rgba(5, 23, 20, 0.96) 0%, 
        rgba(5, 23, 20, 0.91) 40%, 
        rgba(5, 23, 20, 0.65) 64%, 
        rgba(5, 23, 20, 0.28) 85%,
        rgba(5, 23, 20, 0.15) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Vertical ambient vignette */
.hero-banner-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        rgba(5, 23, 20, 0.4) 0%, 
        transparent 35%, 
        transparent 65%, 
        rgba(5, 23, 20, 0.6) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    padding: 60px 64px;
    max-width: 820px;
}

/* Status Pill */
.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d3832;
    border: 1px solid #1a544c;
    color: #5eead4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 22px;
}

/* Main Headline */
.hero-banner-headline {
    font-size: 46px;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-banner-headline .title-primary {
    display: block;
    color: #ffffff;
}

.hero-banner-headline .title-highlight {
    display: block;
    color: #f59e0b; /* Solid Warm Medical Amber */
}

.hero-banner-headline .title-sub {
    display: block;
    color: #ffffff;
}

/* Subhead */
.hero-banner-subhead {
    font-size: 16.5px;
    line-height: 1.65;
    color: #d1e7e2;
    margin-bottom: 34px;
    max-width: 620px;
    font-weight: 400;
}

/* Action Row matching reference */
.hero-cta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 36px;
}

.hero-btn-book {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-red);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(193, 35, 34, 0.35);
    transition: all 0.25s ease;
}

.hero-btn-book:hover {
    background: var(--brand-red-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(193, 35, 34, 0.45);
}

.hero-btn-book svg {
    transition: transform 0.2s ease;
}

.hero-btn-book:hover svg {
    transform: translateX(3px);
}

.hero-cta-divider {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.28);
    display: inline-block;
}

/* Social Proof Rating Box (Solid Background) */
.hero-social-proof {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #0a2f28;
    border: 1px solid #175246;
    border-radius: 12px;
    padding: 10px 18px;
}

.hero-social-proof .proof-top {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.hero-social-proof .proof-bottom {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #c0e3dc;
}

.hero-social-proof .proof-stars {
    color: #fbbf24;
    font-size: 13.5px;
    letter-spacing: 2px;
}

/* Bottom Trust Checklist inside Banner (Solid Badges) */
.hero-banner-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #14493f;
}

.banner-trust-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d3831;
    border: 1px solid #1a564c;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #e5f7f2;
}

.banner-trust-box svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-banner-card {
        background-position: 72% center;
    }
    .hero-banner-content {
        padding: 48px 40px;
        max-width: 100%;
    }
    .hero-banner-headline {
        font-size: 38px;
    }
}

@media (max-width: 680px) {
    .hero-panoramic-section {
        padding: 12px 0 20px;
    }
    .hero-banner-card {
        border-radius: 18px;
        min-height: auto;
    }
    .hero-banner-overlay {
        background: linear-gradient(
            180deg,
            rgba(5, 23, 20, 0.94) 0%,
            rgba(5, 23, 20, 0.90) 65%,
            rgba(5, 23, 20, 0.96) 100%
        );
    }
    .hero-banner-content {
        padding: 30px 18px;
    }
    .hero-banner-headline {
        font-size: 28px;
    }
    .hero-cta-divider {
        display: none;
    }
    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .hero-btn-book {
        width: 100%;
        justify-content: center;
    }
    .hero-banner-trust {
        gap: 12px 18px;
    }
}

/* Fallback legacy classes for other templates */
.hero {
    padding: 40px 0 60px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.hero-headline {
    font-size: 42px;
}
.hero-subhead {
    font-size: 17px;
}
.hero-ctas {
}

.floating-doc-name {
    font-weight: 800;
    font-size: 15.5px;
    color: var(--primary);
}

.floating-doc-role {
    font-size: 12.5px;
    color: var(--text-muted);
}

.doc-status-badge {
    background: #e6f8ee;
    color: #1e8e4c;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #c2ecd3;
}

/* =========================================================
   Live Clinic Today Banner
   ========================================================= */

.today-clinic-banner {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px 28px;
    margin: 20px 0 50px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.today-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.today-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--sage);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.today-icon svg { width: 22px; height: 22px; }

.today-info span {
    font-size: 11.5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    display: block;
}

.today-info strong {
    font-size: 14.5px;
    color: var(--text-title);
    font-weight: 700;
}

/* =========================================================
   Interactive Tabbed Doctor & Service Section
   ========================================================= */

.section {
    padding: 80px 0;
}

.section-bg-white {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    margin-bottom: 46px;
    max-width: 680px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-subtitle {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--brand-red);
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-title {
    font-size: 38px;
    letter-spacing: -0.03em;
    color: var(--text-title);
    margin-bottom: 14px;
}

.section-desc {
    font-size: 16.5px;
    color: var(--text-body);
    line-height: 1.65;
}

/* Filter Tab Pills */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    justify-content: center;
}

.tab-btn {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-title);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-card);
    padding: 34px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

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

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--sage);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    background: var(--primary);
    color: #ffffff;
}

.service-card-icon svg { width: 26px; height: 26px; }

.service-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.service-tagline {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14.5px;
    color: var(--text-body);
    margin-bottom: 22px;
    flex-grow: 1;
}

.service-link {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-hover);
}

/* =========================================================
   Interactive Doctor Cards & Spotlight
   ========================================================= */

.doctor-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.doctor-feature-img {
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 400px;
    background: var(--sage);
    position: relative;
}

.doctor-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.doctor-feature-card:hover .doctor-feature-img img {
    transform: scale(1.02);
}

.doc-pill-meta {
    display: inline-flex;
    gap: 10px;
    margin-bottom: 14px;
}

.pill-tag {
    background: var(--brand-red-subtle);
    border: 1px solid var(--brand-red-border);
    color: var(--brand-red);
    font-size: 12.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.doctor-feature-info h3 {
    font-size: 30px;
    margin-bottom: 4px;
}

.doctor-feature-qual {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 18px;
}

.doctor-feature-bio {
    font-size: 15.5px;
    color: var(--text-body);
    margin-bottom: 24px;
    line-height: 1.7;
}

.doctor-timing-row {
    background: var(--bg-page);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.doctor-feature-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================================================
   Interactive Appointment Wizard Section
   ========================================================= */

.wizard-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.wizard-header {
    background: linear-gradient(135deg, #164E4A 0%, #0d3633 100%);
    color: #ffffff;
    padding: 36px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.wizard-header h3 {
    color: #ffffff;
    font-size: 26px;
    margin-bottom: 6px;
}

.wizard-header p {
    color: #c5dbd7;
    font-size: 14.5px;
    margin: 0;
}

.wizard-steps-pill {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #e6f4f1;
}

.wizard-body {
    padding: 44px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

/* Time Slot Chips Grid */
.slot-chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.slot-btn {
    background: var(--bg-page);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-title);
    cursor: pointer;
    transition: var(--transition);
}

.slot-btn:hover {
    border-color: var(--primary);
    background: var(--sage-light);
}

.slot-btn.selected {
    background: var(--brand-red);
    color: #ffffff;
    border-color: var(--brand-red);
    box-shadow: 0 4px 10px var(--brand-red-glow);
}

/* Live Booking Summary Card */
.booking-summary-card {
    background: var(--bg-page);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-header {
    border-bottom: 1.5px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.summary-header h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 4px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 14px;
}

.summary-row span.label {
    color: var(--text-muted);
}

.summary-row span.val {
    font-weight: 700;
    color: var(--text-title);
}

.summary-total {
    border-top: 1.5px dashed var(--border);
    padding-top: 16px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-total strong {
    font-size: 20px;
    color: var(--brand-red);
}

/* =========================================================
   Form Controls
   ========================================================= */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-title);
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    font-size: 14.5px;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--text-title);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

/* =========================
   Interactive FAQ Accordion
   ========================= */

.faq-wrapper {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-header {
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-title);
}

.faq-header:hover {
    color: var(--primary);
}

.faq-toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: #ffffff;
}

.faq-body {
    padding: 0 26px 24px;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-body {
    display: block;
}

/* =========================================================
   Location & Map Section
   ========================================================= */

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
}

.map-embed-box {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 100%;
    min-height: 340px;
    background: var(--sage);
}

.map-embed-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    background: #0f3532;
    color: #b0c6c2;
    padding: 70px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #b0c6c2;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #879f9b;
}

/* =========================================================
   Mobile Sticky Bottom Action Bar
   ========================================================= */

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1.5px solid var(--border);
    padding: 10px 16px;
    z-index: 1001;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.mobile-bottom-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 10px;
}

.mobile-bottom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 8px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.mobile-btn-call {
    background: var(--bg-muted);
    color: var(--text-title);
    border: 1px solid var(--border);
}

.mobile-btn-wa {
    background: #e6f8ee;
    color: #1e8e4c;
    border: 1px solid #c2ecd3;
}

.mobile-btn-book {
    background: var(--brand-red);
    color: #ffffff;
}

/* =========================================================
   Ultra-Polished Responsive Breakpoints & Mobile Architecture
   ========================================================= */

/* Prevent horizontal overflow on all screen sizes */
html, body {
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

/* Appointment layout grid defaults */
.appointment-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
    align-items: start;
}

.appointment-form-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.doc-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
    font-size: 14px;
}

.track-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 26px;
    font-size: 14.5px;
}

/* --- Breakpoint: Tablet Landscape & Small Desktops (<= 1024px) --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    .main-nav ul {
        gap: 20px;
    }
    .hero-clean-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* --- Breakpoint: Tablet Portrait & Under (<= 992px) --- */
@media (max-width: 992px) {
    /* Header & Navigation Drawer */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    .nav-wrapper {
        height: 74px;
    }
    .header-phone {
        display: none;
    }
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: var(--radius-sm);
        border: 1.5px solid var(--border);
        background: var(--bg-card);
        color: var(--text-title);
        cursor: pointer;
        transition: var(--transition);
    }
    .mobile-toggle:hover {
        background: var(--sage-light);
        border-color: var(--primary);
    }
    .main-nav {
        display: none;
    }
    .main-nav.mobile-active {
        display: block;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 18px 45px rgba(13, 56, 50, 0.16);
        padding: 20px 24px 28px;
        border-bottom: 2px solid var(--border);
        z-index: 10000;
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        animation: mobileMenuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .main-nav.mobile-active ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 8px;
    }
    .main-nav.mobile-active a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 18px;
        font-size: 15.5px;
        font-weight: 700;
        color: var(--text-title);
        border-radius: var(--radius-md);
        background: #fbfdfc;
        border: 1px solid var(--border-light);
        width: 100%;
        transition: var(--transition);
        box-sizing: border-box;
    }
    .main-nav.mobile-active a:hover,
    .main-nav.mobile-active a.active {
        background: var(--sage);
        color: var(--primary);
        border-color: var(--primary);
    }
    .main-nav.mobile-active a.active::after {
        display: none;
    }

    /* Grids & Cards */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .appointment-layout-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .today-clinic-banner {
        grid-template-columns: 1fr 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .doctor-feature-card {
        grid-template-columns: 1fr;
    }
    .doctor-feature-img {
        height: 340px;
    }
    .wizard-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .location-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .about-clinic-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* --- Breakpoint: Standard Mobile (<= 768px) --- */
@media (max-width: 768px) {
    /* Safe clearance for fixed bottom bar */
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    .container {
        padding: 0 16px;
    }

    /* Mobile Fixed Bottom Bar */
    .mobile-bottom-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #ffffff;
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 22px rgba(13, 56, 50, 0.12);
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    }
    .mobile-bottom-inner {
        display: grid;
        grid-template-columns: 1fr 1.15fr 1.4fr;
        gap: 8px;
        max-width: 520px;
        margin: 0 auto;
    }
    .mobile-bottom-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 11px 8px;
        border-radius: 10px;
        font-size: 13.5px;
        font-weight: 700;
        text-decoration: none;
    }

    /* Responsive Headings */
    h1, .hero-headline, .hero-clean-title {
        font-size: 32px !important;
        line-height: 1.22 !important;
    }
    h2, .section-title {
        font-size: 25px !important;
        line-height: 1.28 !important;
    }
    h3 {
        font-size: 20px !important;
    }
    .section-desc {
        font-size: 15px !important;
    }

    /* Single-Column Grids */
    .today-clinic-banner {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr !important;
    }
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    /* Trust Strip */
    .trust-strip {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px 18px;
    }
    .trust-strip-divider {
        display: none;
    }

    /* Swipeable Filter Chips (Services & FAQ) */
    .filter-tabs, .faq-categories {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4px 2px 12px;
        gap: 8px;
        justify-content: flex-start !important;
        scrollbar-width: none;
    }
    .filter-tabs::-webkit-scrollbar, .faq-categories::-webkit-scrollbar {
        display: none;
    }
    .tab-btn, .faq-cat-pill {
        flex-shrink: 0;
        padding: 9px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* Card Padding Optimization */
    .appointment-form-card {
        padding: 28px 20px !important;
    }
    .tracker-card {
        padding: 26px 20px !important;
    }
    .voucher-card {
        padding: 30px 22px !important;
    }
    .cta-banner-card {
        padding: 36px 20px;
    }
    .cta-banner-card h2 {
        font-size: 25px;
    }

    /* Doctor Feature Card adjustments */
    .doctor-feature-img {
        height: 280px;
    }
    .doctor-feature-info {
        padding: 24px 20px;
    }
    .doctor-schedule-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .doctor-feature-actions {
        flex-direction: column;
        width: 100%;
    }
    .doctor-feature-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Breakpoint: Small Mobile (<= 576px) --- */
@media (max-width: 576px) {
    /* Header Clean Spacing */
    .nav-wrapper {
        height: 66px;
    }
    .brand-logo img {
        height: 38px !important;
        max-width: 155px !important;
    }
    /* Hide redundant desktop button on small phones since bottom bar handles Book Visit */
    .header-actions .btn-primary {
        display: none;
    }

    /* Top Bar Mobile Optimization */
    .top-bar-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 6px;
    }
    .top-bar-location {
        display: none;
    }
    .top-bar-left .top-bar-divider {
        display: none;
    }
    .top-bar-phone .phone-label {
        display: none;
    }
    .top-bar-phone .phone-number {
        font-size: 11.5px;
    }
    .top-bar-whatsapp {
        padding: 3px 9px;
        font-size: 11px;
    }

    /* Prevent auto-zooming on iOS when tapping inputs */
    input, select, textarea, .form-control {
        font-size: 16px !important;
    }

    /* Small Phone Headings */
    h1, .hero-headline, .hero-clean-title {
        font-size: 27px !important;
    }
    h2, .section-title {
        font-size: 22px !important;
    }

    /* Collapse Grids to 1 Column */
    .doc-spec-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    .track-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* Mobile Buttons */
    .btn-lg {
        padding: 13px 20px;
        font-size: 15px;
    }
    .sample-pill-btn {
        width: 100%;
        text-align: left;
    }
}

/* Keyframe for smooth mobile drawer entrance */
@keyframes mobileMenuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


