/* ============================================================
   Tejas Netralaya — Dr. Namrata Kabra
   style.css — Main stylesheet
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Navy + Gold theme — vibrant, premium medical aesthetic */
    --navy:          #0d2256;
    --navy2:         #112b6b;
    --navy3:         #1a3a7c;
    --navydk:        #080f2a;
    --navylt:        #1e3d8a;
    --gold:          #c9963a;
    --gold2:         #d9aa4a;
    --gold3:         #e8c878;
    --goldlt:        #f5e0a0;
    --goldfade:      rgba(201, 150, 58, 0.15);
    --cream:         #faf7ef;
    --offwht:        #f8f6f0;

    /* Backward-compat tokens — alias the legacy names to new palette so all existing CSS keeps working */
    --primary:       var(--navy);
    --primary-dark:  var(--navydk);
    --primary-light: var(--navy3);
    --accent:        var(--gold);
    --accent-dark:   #b08431;
    --accent-light:  var(--goldlt);
    --text:          #1a1f3a;
    --text-muted:    #4a5578;
    --text-light:    #8a96b8;
    --bg:            #ffffff;
    --bg-alt:        var(--cream);
    --bg-dark:       var(--navydk);
    --border:        rgba(201, 150, 58, 0.2);
    --shadow:        0 2px 16px rgba(13, 34, 86, 0.10);
    --shadow-md:     0 4px 32px rgba(13, 34, 86, 0.14);
    --shadow-lg:     0 8px 48px rgba(13, 34, 86, 0.18);
    --radius:        10px;
    --radius-lg:     16px;
    --transition:    0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Nunito Sans', sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.25; color: var(--primary); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-family: 'Nunito Sans', sans-serif; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.accent { color: var(--accent); }
.label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ---- Buttons (gold gradient primary, gold-outline on dark, navy on light) ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
}
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: var(--navydk); box-shadow: 0 6px 24px rgba(201, 150, 58, 0.3); }
.btn-primary:hover { background: linear-gradient(135deg, var(--gold2), var(--gold3)); color: var(--navydk); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(201, 150, 58, 0.4); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: transparent; color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--gold); color: var(--navydk); transform: translateY(-2px); }

/* ---- Scroll progress bar (top of page) ---- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold3), var(--gold));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ---- Top Bar (deep navy with gold accents, centered contact info, gold separators) ---- */
.top-bar {
    background: linear-gradient(90deg, var(--navydk) 0%, var(--navy) 50%, var(--navydk) 100%);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    padding: 11px 0;
    border-bottom: 1px solid rgba(201, 150, 58, 0.18);
    position: relative;
}
.top-bar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,150,58,0.6), transparent);
}
.top-bar-inner { display: flex; align-items: center; justify-content: center; gap: 16px; }
.top-bar-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 22px;
    position: relative;
    line-height: 1;
}
.top-bar-info span + span::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.6;
}
.top-bar-info svg { color: var(--gold); opacity: 0.9; flex-shrink: 0; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 12px rgba(27, 58, 107, 0.08);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(27, 58, 107, 0.14); }
/* Header bar — taller (16px vertical), centered alignment of all 3 zones */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 14px;
    padding-bottom: 14px;
    min-height: 88px;
}

.site-logo { display: flex; align-items: center; gap: 16px; text-decoration: none; flex-shrink: 0; }
.brand-logo-img { height: 60px; width: auto; display: block; }
.brand-tagline {
    font-family: 'Cinzel', serif;
    font-size: 0.66rem;
    color: var(--gold);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    padding-left: 16px;
    border-left: 2px solid rgba(201, 150, 58, 0.35);
    line-height: 1.55;
    max-width: 130px;
    align-self: center;
}

.main-nav { flex: 1; display: flex; justify-content: center; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-link {
    padding: 10px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all var(--transition);
    position: relative;
    display: inline-block;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px;
    bottom: 4px;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: transparent; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.btn-appt-header {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--navydk);
    padding: 13px 26px;
    border-radius: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all var(--transition);
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(201, 150, 58, 0.3);
    align-self: center;
}
.btn-appt-header:hover {
    background: linear-gradient(135deg, var(--gold2), var(--gold3));
    color: var(--navydk);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 150, 58, 0.45);
}

.hamburger { display: none; flex-direction: column; gap: 5px; width: 32px; padding: 4px; }
.hamburger span { display: block; height: 2.5px; background: var(--primary); border-radius: 2px; transition: all 0.3s; transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Page Banner ---- */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    color: #fff;
    padding: 64px 0 52px;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute;
    right: -80px; top: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(14, 148, 136, 0.12);
    pointer-events: none;
}
.page-banner h1 { color: #fff; margin-bottom: 10px; }
.page-banner p { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .separator { opacity: 0.5; }

/* ---- Hero Section ---- */
.hero {
    background: var(--navydk);
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
/* Subtle gold grid pattern overlay */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(201,150,58,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,150,58,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
/* Diagonal gold band on right side */
.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 55%; height: 100%;
    background: linear-gradient(150deg, transparent 0%, rgba(13,34,86,.6) 30%, var(--navy2) 100%);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

/* Animated background swirls (blurry circles that float) */
.hero-swirls { position: absolute; inset: 0; pointer-events: none; }
.swirl { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .2; }
.swirl-1 { width: 800px; height: 800px; background: var(--navy2); top: -20%; right: -15%; animation: heroSwirl 12s ease-in-out infinite; }
.swirl-2 { width: 500px; height: 500px; background: #0a4a8a; bottom: -10%; left: -5%; animation: heroSwirl 9s ease-in-out infinite reverse; animation-delay: -3s; }
.swirl-3 { width: 300px; height: 300px; background: var(--gold); bottom: 20%; right: 22%; opacity: .07; animation: heroSwirl 7s ease-in-out infinite; animation-delay: -5s; }
@keyframes heroSwirl {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, -40px) scale(1.08); }
}

/* Rotating eye-ring decoration (right side) */
.hero-eye-deco { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 440px; height: 440px; pointer-events: none; z-index: 1; }
.eye-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.eye-ring-1 { width: 440px; height: 440px; border: 1px solid rgba(201,150,58,.12); animation: ringSpin 50s linear infinite; }
.eye-ring-2 { width: 360px; height: 360px; border: 1px solid rgba(201,150,58,.10); animation: ringSpin 35s linear infinite reverse; }
.eye-ring-3 { width: 280px; height: 280px; border: 1px dashed rgba(201,150,58,.14); animation: ringSpin 25s linear infinite; }
.eye-ring-4 { width: 200px; height: 200px; border: 1px solid rgba(201,150,58,.16); animation: ringSpin 18s linear infinite reverse; }
.eye-ring-5 { width: 120px; height: 120px; background: radial-gradient(circle, rgba(201,150,58,.15) 0%, transparent 70%); }
.eye-ring-6 { width: 50px; height: 50px; background: rgba(201,150,58,.18); }
@keyframes ringSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-inner { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center; position: relative; z-index: 2; }
.hero-content { color: #fff; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--gold2);
    padding: 0;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-badge::before {
    content: '';
    width: 36px; height: 1px; background: var(--gold);
}
.hero-content h1 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 12px;
    font-weight: 700;
}
.hero-content h1 em, .hero-content h1 .it { font-style: italic; color: var(--gold2); }
/* Cinzel slogan — Excellence · Ethics · Empathy */
.hero-slogan {
    font-family: 'Cinzel', serif;
    font-size: clamp(0.7rem, 1vw, 0.86rem);
    color: var(--gold);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-content .hero-subtitle { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 4px; }
.hero-content .hero-quals { color: rgba(255,255,255,0.45); font-size: 0.85rem; font-weight: 400; margin-bottom: 26px; letter-spacing: 0.02em; }
.hero-content p { color: rgba(255,255,255,0.55); font-size: 1rem; line-height: 1.7; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(201,150,58,.12); border: 1px solid rgba(201,150,58,.12); margin-top: 40px; }
.hero-stat { background: rgba(8,15,42,.85); padding: 20px 14px; text-align: center; transition: background 0.3s; }
.hero-stat:hover { background: rgba(13,34,86,.85); }
.hero-stat strong { display: block; font-size: 1.7rem; font-family: 'Playfair Display', serif; color: var(--gold2); line-height: 1; font-weight: 700; }
.hero-stat span { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.4; display: block; margin-top: 6px; }

/* Hero entrance fade-up animations */
.hero-badge, .hero-content h1, .hero-slogan, .hero-content .hero-subtitle, .hero-content .hero-quals, .hero-content p, .hero-actions, .hero-stats {
    opacity: 0;
    animation: heroFadeUp 0.85s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-badge { animation-delay: 0.15s; }
.hero-content h1 { animation-delay: 0.3s; }
.hero-slogan { animation-delay: 0.45s; }
.hero-content .hero-subtitle { animation-delay: 0.55s; }
.hero-content .hero-quals { animation-delay: 0.65s; }
.hero-content p { animation-delay: 0.75s; }
.hero-actions { animation-delay: 0.9s; }
.hero-stats { animation-delay: 1.05s; }
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-image-wrap { position: relative; }
.hero-image-wrap img {
    width: 100%; height: 580px;
    object-fit: cover; object-position: center top;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative; z-index: 1;
}
.hero-image-accent {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 100%; height: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
    opacity: 0.25;
    z-index: 0;
}
.hero-credential-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: #fff;
    border-radius: var(--radius);
    padding: 12px 18px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}
.hero-credential-badge .badge-title { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-credential-badge .badge-value { font-size: 0.95rem; font-weight: 700; color: var(--primary); font-family: 'Playfair Display', serif; }

/* ---- Stats Bar ---- */
.stats-bar { background: var(--accent); padding: 32px 0; }
.stats-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 8px 16px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-size: 2rem; font-family: 'Playfair Display', serif; color: #fff; line-height: 1.1; }
.stat-item span { font-size: 0.82rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- Doctor's Desk Quote ---- */
.desk-quote-section { padding: 72px 0; }
.desk-quote-inner { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: center; }
.desk-quote-photo img { width: 240px; height: 280px; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.desk-quote-content .quote-mark { font-size: 4rem; font-family: 'Playfair Display', serif; color: var(--accent); line-height: 0.5; display: block; margin-bottom: 16px; }
.desk-quote-content blockquote { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-style: italic; color: var(--primary); line-height: 1.65; margin-bottom: 20px; }
.desk-quote-content .quote-attribution strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--primary); }
.desk-quote-content .quote-attribution span { font-size: 0.82rem; color: var(--text-muted); }

/* ---- Services Grid ---- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; background: var(--accent-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-icon svg { color: var(--accent); }
.service-card h3 { font-size: 1rem; font-family: 'Nunito Sans', sans-serif; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.service-card p { font-size: 0.88rem; line-height: 1.6; margin: 0; }
.service-card .service-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 700; color: var(--accent); margin-top: 14px; }

/* ---- Why Choose ---- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon svg { color: #fff; }
.why-text h3 { font-size: 1rem; font-family: 'Nunito Sans', sans-serif; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.why-text p { font-size: 0.9rem; margin: 0; }

/* ---- Awards Strip ---- */
.awards-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.award-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.award-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.award-card img { width: 100%; height: 200px; object-fit: cover; object-position: center top; }
.award-card-body { padding: 18px 20px; }
.award-card-body h3 { font-size: 0.95rem; font-family: 'Nunito Sans', sans-serif; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.award-card-body p { font-size: 0.82rem; margin: 0; }
.award-year { display: inline-block; background: var(--accent-light); color: var(--accent-dark); font-size: 0.72rem; font-weight: 700; padding: 2px 10px; border-radius: 50px; margin-bottom: 8px; }

/* ---- Testimonial ---- */
.testimonial-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 56px 60px;
}
.testimonial-note img { width: 100%; max-width: 380px; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin: 0 auto; }
.testimonial-content { color: #fff; }
.testimonial-content .big-quote { font-size: 5rem; color: var(--accent); font-family: 'Playfair Display', serif; line-height: 0.6; display: block; margin-bottom: 20px; }
.testimonial-content blockquote { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-style: italic; color: rgba(255,255,255,0.95); line-height: 1.6; margin-bottom: 24px; }
.testimonial-content .patient-name { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.testimonial-content .patient-name strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    padding: 72px 0;
    text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---- About Page ---- */
.about-intro-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.about-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-photo-caption { margin-top: 16px; text-align: center; font-size: 0.82rem; color: var(--text-muted); }
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 1.1rem; }
.qual-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.qual-badge { background: var(--accent-light); color: var(--accent-dark); border: 1px solid rgba(14, 148, 136, 0.25); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; }

.training-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.training-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; transition: all var(--transition); }
.training-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.training-card .training-flag { font-size: 2rem; margin-bottom: 12px; }
.training-card h3 { font-size: 0.95rem; font-family: 'Nunito Sans', sans-serif; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.training-card p { font-size: 0.85rem; margin: 0; }

.awards-grid-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.award-row { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: all var(--transition); }
.award-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.award-row-img img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.award-row-body h3 { font-size: 0.92rem; font-family: 'Nunito Sans', sans-serif; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.award-row-body p { font-size: 0.82rem; margin: 0; }

.publications-list { display: grid; gap: 12px; }
.pub-item { background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; font-size: 0.88rem; color: var(--text-muted); }
.pub-item strong { color: var(--primary); display: block; margin-bottom: 2px; }

.memberships-list { display: flex; flex-wrap: wrap; gap: 10px; }
.membership-badge { background: var(--bg-alt); border: 1px solid var(--border); padding: 8px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; color: var(--primary); }

/* ---- Services Page ---- */
.service-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.service-section:last-child { border-bottom: none; }
.service-section-inner { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.service-section-meta { position: sticky; top: 90px; }
.service-section-meta .service-number { font-size: 3.5rem; font-family: 'Playfair Display', serif; color: var(--accent-light); line-height: 1; font-weight: 700; }
.service-section-meta h2 { font-size: 1.4rem; color: var(--primary); margin-bottom: 10px; }
.service-section-meta p { font-size: 0.88rem; }
.service-points { display: grid; gap: 10px; }
.service-point { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; }
.service-point-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
.service-point span { font-size: 0.92rem; color: var(--text-muted); }

/* ---- Gallery ---- */
.gallery-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; justify-content: center; }
.gallery-filter-btn { padding: 9px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); transition: all var(--transition); }
.gallery-filter-btn.active, .gallery-filter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.gallery-group { margin-bottom: 52px; }
.gallery-group-heading { font-size: 1rem; font-weight: 700; color: var(--primary); padding-bottom: 10px; border-bottom: 2px solid var(--border); margin-bottom: 20px; font-family: 'Nunito Sans', sans-serif; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,58,107,0.75) 0%, transparent 50%); display: flex; align-items: flex-end; padding: 14px; opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 0.8rem; color: #fff; font-weight: 600; line-height: 1.3; }

/* ---- Contact ---- */
/* Stretch both columns to equal height so the doctor-info card sits at the bottom
   aligned with the form's Send button instead of floating high with empty space below */
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: stretch; }
.contact-form-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.contact-form-wrap h2 { margin-bottom: 6px; }
.contact-form-wrap > p { margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-family: inherit; font-size: 0.92rem; color: var(--text);
    background: var(--bg); transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 13px; background: var(--accent); color: #fff; border-radius: 50px; font-weight: 700; font-size: 1rem; transition: all var(--transition); }
.form-submit:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14, 148, 136, 0.3); }

.contact-info-wrap { display: flex; flex-direction: column; gap: 20px; height: 100%; justify-content: space-between; }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.contact-info-card h3 { font-size: 1rem; font-family: 'Nunito Sans', sans-serif; font-weight: 700; color: var(--primary); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.contact-info-card h3 svg { color: var(--accent); }
.contact-detail-list { display: grid; gap: 10px; }
.contact-detail-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); }
.contact-detail-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-detail-item a { color: var(--accent); }
.contact-detail-item a:hover { color: var(--accent-dark); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-top: 20px; }
.map-embed iframe { width: 100%; height: 220px; display: block; border: none; }

/* ---- Lightbox ---- */
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox-overlay.active { display: flex; }
.lightbox-inner { max-width: 90vw; max-height: 85vh; position: relative; }
.lightbox-inner img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 6px; display: block; }
.lightbox-close { position: fixed; top: 20px; right: 28px; color: #fff; font-size: 2rem; font-weight: 300; background: rgba(255,255,255,0.12); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition); }
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); color: #fff; background: rgba(255,255,255,0.12); border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-caption { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.85); font-size: 0.9rem; text-align: center; max-width: 600px; background: rgba(0,0,0,0.5); padding: 8px 20px; border-radius: 50px; }
.lightbox-counter { position: fixed; top: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 0.82rem; }

/* ---- Footer ---- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: flex; align-items: center; margin-bottom: 16px; }
.footer-logo-img {
    height: 72px;
    width: auto;
    display: block;
    background: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.footer-doctor-attr {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 14px 0 10px;
    font-weight: 600;
}
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 10px; font-style: italic; }
.footer-quals { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-col h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: 'Nunito Sans', sans-serif; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; }
.footer-contact-list svg { flex-shrink: 0; margin-top: 3px; opacity: 0.6; }
.footer-contact-list a { color: rgba(255,255,255,0.6); }
.footer-contact-list a:hover { color: var(--accent); }
.footer-bottom { padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.8rem; margin: 0; color: rgba(255,255,255,0.4); }
.footer-version { font-size: 0.72rem; }

/* ---- Highlight Box ---- */
.highlight-box { background: var(--accent-light); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin-top: 20px; }
.highlight-box p { color: var(--text); margin: 0; font-size: 0.95rem; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* ---- Patient Name Privacy Cover ---- */
/* Gallery thumbnail cover — hides patient name using blur (no harsh patch) */
.gallery-item.has-name-cover { position: relative; }
.gallery-name-cover {
    position: absolute;
    bottom: 0; right: 0;
    width: 58%; height: 24%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(245, 241, 235, 0.45);
    z-index: 4;
    pointer-events: none;
    border-radius: 0 0 var(--radius) 0;
}

/* Testimonial note image cover — same blur treatment */
.note-img-wrap { position: relative; display: inline-block; width: 100%; }
.note-img-wrap img { width: 100%; border-radius: var(--radius); display: block; }
.note-name-cover {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 20%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(245, 241, 235, 0.45);
    border-radius: 0 0 var(--radius) var(--radius);
    pointer-events: none;
}

/* ===== Map section (contact page) ===== */
.map-section { padding: 0; background: var(--bg); }
.map-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.map-wrap iframe {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(27, 58, 107, 0.08);
}
.map-badge {
    position: absolute;
    bottom: 24px;
    left: 48px;
    max-width: 360px;
    background: #fff;
    padding: 18px 22px;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(27, 58, 107, 0.18);
    font-size: 0.9rem;
    line-height: 1.5;
}
.map-badge strong { display: block; color: var(--primary); font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.map-badge span { display: block; color: var(--text-muted); font-size: 0.85rem; }
.map-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}
.map-badge-link:hover { color: var(--accent-dark); }

/* ===== WhatsApp floating button (site-wide) ===== */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float .wa-tip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.wa-float:hover .wa-tip { opacity: 1; }

/* ===== Big-number service cards (inspired by doctor's reference HTML) ===== */
.svc-big-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

/* ============================================================
   Vibrant Theme additions (Doctor's Feedback Round 4 — May 2026)
   Color tokens, fonts, hero decorations, marquee, philosophy
   ============================================================ */

/* ===== Marquee — scrolling achievements band below hero ===== */
.marquee-band {
    background: var(--navy);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}
.marquee-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: marqueeScroll 60s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 38px;
    border-right: 1px solid rgba(201, 150, 58, 0.18);
}
.marquee-dot {
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}
.marquee-item span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== Stats bar — animated counters with gold styling ===== */
.stats-bar { background: var(--navydk); padding: 36px 0; position: relative; overflow: hidden; }
.stats-bar::before {
    content: '';
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(201,150,58,.02) 0, rgba(201,150,58,.02) 1px, transparent 0, transparent 50%);
    background-size: 30px 30px;
    pointer-events: none;
}
.stats-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(201, 150, 58, 0.12); position: relative; z-index: 1; }
.stat-item { background: rgba(8, 15, 42, 0.92); text-align: center; padding: 24px 16px; border: none; transition: background 0.3s; }
.stat-item:hover { background: rgba(13, 34, 86, 0.95); }
.stat-item strong { display: block; font-size: 2.2rem; font-family: 'Playfair Display', serif; color: var(--gold2); line-height: 1.1; font-weight: 700; }
.stat-item span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; display: block; }

/* ===== EEE Philosophy — Excellence · Ethics · Empathy ===== */
.philosophy-band {
    background: var(--navy);
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}
.philosophy-band::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold3), var(--gold), transparent);
}
.philosophy-band::after {
    content: '"';
    position: absolute;
    top: -50px; left: 4%;
    font-family: 'Playfair Display', serif;
    font-size: 480px;
    color: rgba(201, 150, 58, 0.04);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}
.philosophy-inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.philosophy-tag {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    margin-bottom: 20px;
}
.philosophy-tag span { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.philosophy-tag::before, .philosophy-tag::after {
    content: '';
    width: 32px; height: 1px;
    background: rgba(201, 150, 58, 0.4);
}
.philosophy-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.85rem);
    font-style: italic;
    color: #fff;
    line-height: 1.55;
    margin-bottom: 28px;
}
.philosophy-quote em { color: var(--gold2); font-style: normal; }
.philosophy-attribution {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.philosophy-attribution strong { color: var(--gold); font-weight: 600; }

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 56px;
}
.pillar {
    background: var(--navy);
    padding: 40px 30px;
    text-align: center;
    transition: background 0.4s;
    position: relative;
    overflow: hidden;
}
.pillar::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(160deg, var(--navy3), var(--navydk));
    opacity: 0; transition: opacity 0.4s;
}
.pillar:hover::before { opacity: 1; }
.pillar-letter {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    margin-bottom: -16px;
    position: relative; z-index: 1;
    transition: color 0.4s;
}
.pillar:hover .pillar-letter { color: rgba(201, 150, 58, 0.1); }
.pillar-word {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: var(--gold2);
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    position: relative; z-index: 1;
    text-transform: uppercase;
    font-weight: 600;
}
.pillar-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    position: relative; z-index: 1;
}
@media (max-width: 700px) {
    .philosophy-pillars { grid-template-columns: 1fr; }
}

/* ===== Service cards — dark hover flip effect (from doctor's HTML) =====
   Overrides the earlier 3px gold-ribbon ::before rule with explicit values so
   the full card is covered on hover, not just a thin top strip. */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(.22,1,.36,1);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;                  /* override earlier height: 3px */
    background: linear-gradient(160deg, var(--navy2), var(--navydk));
    transform: translateY(101%);
    transform-origin: center;      /* override earlier transform-origin: left */
    transition: transform 0.45s cubic-bezier(.22,1,.36,1);
    z-index: 0;
}
.service-card:hover::before { transform: translateY(0); }
.service-card > * { position: relative; z-index: 1; }

/* Icon container also needs to recolor on hover (it's a div with bg, not just an SVG) */
.service-card:hover .service-icon { background: rgba(201, 150, 58, 0.15); }
.service-card:hover .service-icon svg { color: var(--gold2); }
.service-card:hover .svc-big-num { color: rgba(201, 150, 58, 0.5); }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255, 255, 255, 0.55); }
.service-card:hover .service-link { color: var(--gold2); }
/* Color transitions on inner elements so the flip feels smooth */
.service-card .service-icon,
.service-card .service-icon svg,
.service-card h3,
.service-card p,
.service-card .service-link,
.service-card .svc-big-num { transition: color 0.4s ease, background 0.4s ease; }

/* Update big-number styling to match her Cinzel font + gold tint */
.svc-big-num {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.12);
    letter-spacing: 0.16em;
    line-height: 1;
    margin-bottom: 18px;
    transition: color 0.4s;
}
