@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============ ROOT VARIABLES - ELEGANT DARK THEME ============ */
:root {
    /* Font Variables */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Primary Colors - Dark Elegant Teal/Green */
    --primary-dark: #082f2b;
    --primary-color: #0a3d39;
    --primary-medium: #0c4a44;
    --primary-light: #0f5851;
    
    /* Accent Colors - Light Cyan & Brown */
    --accent-cyan: #00d9bf;
    --accent-cyan-light: #1ee6cc;
    --accent-brown: #c9a875;
    --accent-brown-light: #d4b896;
    --accent-gold: #d7b56d;
    
    /* Text Colors - IMPROVED CONTRAST */
    --text-white: #ffffff;
    --text-light: #e8f5f3;
    --text-muted: #c8dcd9;
    --text-dim: #a0b8b3;

    /* Text on light sections (forms, about, contact cards) */
    --text-on-light: #103c37;
    --text-on-light-body: #2a4a46;
    --text-on-light-muted: #4a6864;
    --text-dark: #173d39;
    --link-on-light: #0a5c54;
    --heading-on-light: #0c4a44;
    
    /* Background Colors */
    --bg-dark: #051816;
    --bg-dark-secondary: #082420;
    --bg-dark-card: #0a2e2a;
    --bg-overlay: rgba(8, 36, 32, 0.95);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a3d39 0%, #0c4a44 50%, #0f5851 100%);
    --gradient-hero: linear-gradient(135deg, #051816 0%, #0a3d39 60%, #0f5851 100%);
    --gradient-accent: linear-gradient(135deg, #00d9bf 0%, #1ee6cc 100%);
    --gradient-brown: linear-gradient(135deg, #c9a875 0%, #d4b896 100%);
    --gradient-dark-accent: linear-gradient(135deg, #062a26 0%, #0a3d39 55%, #0f5851 100%);

    /* Extended Palette (used across inner pages/components) */
    --secondary-color: #0f766e;
    --accent-color: #14b8a6;
    --accent-strong: #0d9488;
    --accent-bright: #2dd4bf;

    /* Extended Surface Colors */
    --bg-darker: #041c19;
    --bg-card: #0a2e2a;
    --bg-light: #e8f2f0;
    --bg-lighter: #f3f8f7;
    --bg-soft: #dceae7;
    --bg-white: #ffffff;

    /* Border Tokens */
    --border-color: rgba(7, 89, 84, 0.22);
    --border-light: rgba(7, 89, 84, 0.16);
    
    /* Shadows - Elegant & Soft */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-strong: 0 18px 48px rgba(0, 0, 0, 0.32);
    --shadow-glow: 0 0 30px rgba(0, 217, 191, 0.3);
    --shadow-glow-brown: 0 0 30px rgba(201, 168, 117, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Transitions - Cinematic */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
}

/* ============ RESET & BASE STYLES ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-light);
    background-color: var(--bg-dark);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 300;
    overflow-x: hidden;
    background: var(--gradient-hero);
    background-attachment: fixed;
}

input, select, textarea, button {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-white);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.03em;
}
h2 { 
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
}
h3 { 
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 400;
}
h4 { 
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
}
h5 { 
    font-size: 1.25rem;
    font-weight: 400;
}
h6 { 
    font-size: 1.125rem;
    font-weight: 400;
}

p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-weight: 300;
    letter-spacing: 0.01em;
}

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

a:hover {
    color: var(--accent-cyan-light);
    text-shadow: var(--shadow-glow);
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

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

img, video {
    max-width: 100%;
    display: block;
}

/* ============ BUTTONS - ELEGANT & CINEMATIC ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    border-radius: var(--radius);
    font-weight: 400;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
    font-weight: 500;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    transform: translateY(-3px);
    color: var(--primary-dark);
}

.btn-secondary {
    background: var(--gradient-brown);
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow-brown);
    font-weight: 500;
}

.btn-secondary:hover {
    box-shadow: var(--shadow-glow-brown), var(--shadow-lg);
    transform: translateY(-3px);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    position: relative;
}

.btn-outline::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-outline:hover {
    color: var(--primary-dark);
    border-color: var(--accent-cyan-light);
    box-shadow: var(--shadow-glow);
}

.btn-outline:hover::after {
    opacity: 1;
}

.pulse-hover {
    position: relative;
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-glow);
    }
    50% {
        transform: scale(1.02);
        box-shadow: var(--shadow-glow), 0 0 40px rgba(0, 217, 191, 0.4);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ============ NAVIGATION — CLINICAL LUXURY ============ */

/* Scroll-progress line */
.navbar__progress {
    position: absolute;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-gold) 100%);
    transition: width 0.1s linear;
    z-index: 2;
    border-radius: 0 99px 99px 0;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(4, 20, 18, 0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0, 217, 191, 0.08);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
    background: rgba(4, 20, 18, 0.97);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
    border-bottom-color: rgba(0, 217, 191, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    height: 76px;
    padding: 0;
    gap: 0.5rem;
    position: relative;
}

/* ---- Logo ---- */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: auto;
}

.nav-logo__emblem {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    transition: transform 0.4s var(--transition-bounce);
}

.nav-logo:hover .nav-logo__emblem {
    transform: rotate(12deg) scale(1.1);
}

.nav-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 3px;
}

.nav-logo__name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: #fff;
}

.nav-logo__sub {
    font-family: var(--font-sans);
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    color: var(--accent-cyan);
    text-transform: uppercase;
}

/* ---- Desktop Nav Links ---- */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.9rem;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.22s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 1.8rem);
    height: 1.5px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
    border-radius: 99px;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: #fff;
}

/* Chevron for Services */
.nav-chevron {
    width: 10px;
    height: 7px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-item--has-mega:hover .nav-chevron,
.nav-item--has-mega.active .nav-chevron {
    transform: rotate(180deg);
}

/* ---- Mega Menu ---- */
.nav-item--has-mega {
    position: static;
}

.nav-mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    width: min(700px, calc(100vw - 3rem));
    background: rgba(4, 22, 20, 0.99);
    backdrop-filter: blur(32px);
    border: 1px solid rgba(0, 217, 191, 0.14);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.03);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    z-index: 1001;
}

.nav-item--has-mega:hover .nav-mega,
.nav-item--has-mega:focus-within .nav-mega,
.nav-item--has-mega.active .nav-mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.nav-mega__inner {
    padding: 1.25rem;
}

.nav-mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem;
}

.nav-mega__item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.18s ease;
    color: inherit;
}

.nav-mega__item:hover {
    background: rgba(0, 217, 191, 0.07);
}

.nav-mega__icon {
    font-size: 1.3rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9px;
    flex-shrink: 0;
    transition: background 0.18s ease, transform 0.2s ease;
}

.nav-mega__item:hover .nav-mega__icon {
    background: rgba(0, 217, 191, 0.12);
    transform: scale(1.08);
}

.nav-mega__label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nav-mega__label strong {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-mega__label em {
    font-style: normal;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-sans);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-mega__item--emergency {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 0.2rem;
    padding-top: 1rem;
}

.nav-mega__item--emergency .nav-mega__icon {
    background: rgba(255, 80, 80, 0.1);
}

.nav-mega__item--emergency:hover .nav-mega__icon {
    background: rgba(255, 80, 80, 0.18);
}

.nav-mega__item--all {
    grid-column: 1 / -1;
}

.nav-mega__item--all .nav-mega__icon {
    background: rgba(201, 168, 117, 0.1);
    color: var(--accent-gold);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
}

.nav-mega__item--all:hover .nav-mega__icon {
    background: rgba(201, 168, 117, 0.18);
}

/* ---- CTA Button ---- */
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.4rem;
    background: linear-gradient(135deg, #00d9bf 0%, #00b89f 100%);
    color: #041410 !important;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 99px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    flex-shrink: 0;
    margin-left: 0.75rem;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 217, 191, 0.38);
}

/* ---- Mobile Toggle ---- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    background: rgba(0, 217, 191, 0.08);
    border: 1px solid rgba(0, 217, 191, 0.3);
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.22s, border-color 0.22s;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-toggle:hover {
    background: rgba(0, 217, 191, 0.18);
    border-color: rgba(0, 217, 191, 0.55);
}

.nav-toggle__bar {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 99px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s;
    display: block;
}

.nav-toggle.active .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile Drawer ---- */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(370px, 88vw);
    height: 100dvh;
    background: rgba(4, 18, 16, 0.99);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    z-index: 999;
    transition: right 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(0, 217, 191, 0.1);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.nav-mobile.open {
    right: 0;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.nav-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.nav-mobile__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.75rem;
    border-bottom: 1px solid rgba(0, 217, 191, 0.08);
}

.nav-mobile__logo {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-mobile__close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1;
}

.nav-mobile__close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.nav-mobile__links {
    list-style: none;
    padding: 0.75rem 1.25rem;
}

.nav-mobile__links > li > a,
.nav-mobile__section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.045);
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-mobile__links > li > a:hover,
.nav-mobile__section-toggle:hover {
    color: var(--accent-cyan);
    padding-left: 1.25rem;
}

.nav-mobile__toggle-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.35);
    transition: transform 0.3s ease;
    font-style: normal;
}

.nav-mobile__group.open .nav-mobile__toggle-icon {
    transform: rotate(45deg);
}

.nav-mobile__sub {
    list-style: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 217, 191, 0.03);
    border-radius: 10px;
    margin: 0.25rem 0 0.5rem;
}

.nav-mobile__group.open .nav-mobile__sub {
    max-height: 700px;
}

.nav-mobile__sub li a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255,255,255,0.48);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 8px;
}

.nav-mobile__sub li a:hover {
    color: var(--accent-cyan);
    background: rgba(0, 217, 191, 0.06);
}

.nav-mobile__cta {
    padding: 1.5rem 1.75rem 0;
}

.nav-mobile__cta .nav-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1.5rem;
    margin-left: 0;
    font-size: 0.82rem;
}

.nav-mobile__contact {
    padding: 1.5rem 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.nav-mobile__contact p {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}

/* Staggered entrance animation */
.nav-mobile.open .nav-mobile__links > li {
    animation: mobileSlideIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nav-mobile.open .nav-mobile__links > li:nth-child(1) { animation-delay: 0.06s; }
.nav-mobile.open .nav-mobile__links > li:nth-child(2) { animation-delay: 0.11s; }
.nav-mobile.open .nav-mobile__links > li:nth-child(3) { animation-delay: 0.16s; }
.nav-mobile.open .nav-mobile__links > li:nth-child(4) { animation-delay: 0.21s; }
.nav-mobile.open .nav-mobile__links > li:nth-child(5) { animation-delay: 0.26s; }

@keyframes mobileSlideIn {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Legacy selectors kept for JS compatibility */
.menu-toggle { display: none; }
.nav-menu { display: none; }

/* ============ HERO SECTION - CINEMATIC DARK ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 76px;
    overflow: hidden;
    background: image-set(
        url('../assets/img/iye-hospital-exterior-fertility-center.webp') type('image/webp'),
        url('../assets/img/iye-hospital-exterior-fertility-center.jpg') type('image/jpeg')
    ) center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(5, 24, 22, 0.72) 0%, rgba(10, 61, 57, 0.5) 45%, rgba(5, 24, 22, 0.78) 100%),
        radial-gradient(circle at 15% 25%, rgba(0, 217, 191, 0.12), transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(201, 168, 117, 0.1), transparent 50%);
    animation: ambientGlow 12s ease-in-out infinite;
    z-index: 1;
}

@keyframes ambientGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(0, 0) scale(1);
    }
    33% {
        opacity: 0.8;
        transform: translate(20px, -30px) scale(1.05);
    }
    66% {
        opacity: 0.7;
        transform: translate(-25px, 20px) scale(0.98);
    }
}

.hero-background,
.hero-overlay,
.hero-video,
.hero-particles {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: var(--space-xl) var(--space-lg);
    animation: heroEnter 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.hero-title {
    font-size: clamp(2.75rem, 7vw, 5rem);
    margin-bottom: var(--space-lg);
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: var(--accent-cyan);
    position: relative;
    display: inline-block;
    font-weight: 400;
    text-shadow: 0 0 30px rgba(0, 217, 191, 0.6);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 217, 191, 0.5);
    }
    50% {
        text-shadow: 0 0 35px rgba(0, 217, 191, 0.8), 0 0 50px rgba(0, 217, 191, 0.4);
    }
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: var(--space-xl);
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.7;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-ctas .btn {
    padding: 1.25rem 2.75rem;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-xl);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    color: var(--text-muted);
    display: grid;
    place-items: center;
    gap: 0.75rem;
    z-index: 2;
    font-weight: 300;
    font-size: 0.8125rem;
    opacity: 0.8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 26px;
    height: 26px;
    border: 2px solid var(--accent-cyan);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: floatDown 2.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 217, 191, 0.3);
}

@keyframes floatDown {
    0%, 100% { 
        transform: translateY(0) rotate(45deg); 
        opacity: 1;
    }
    50% { 
        transform: translateY(15px) rotate(45deg); 
        opacity: 0.4;
    }
}

/* ============ SECTIONS ============ */
.section-padding {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

/* ============ SECTIONS ============ */
.section-padding {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: center;
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-md);
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--text-white);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-top: calc(-1 * var(--space-md));
    margin-bottom: var(--space-xl);
    font-size: 1.125rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

/* ============ TYPOGRAPHY HELPERS ============ */
.content-paragraph {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.85;
    font-weight: 300;
}

.content-note,
.content-note p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
}

.content-note-small {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

.list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-light);
    line-height: 1.9;
    font-weight: 300;
}

/* ============ DEPARTMENT TEMPLATE ============ */
.breadcrumbs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
}

.dept-hero {
    margin-top: 64px;
    padding: 140px 0 110px;
    position: relative;
    overflow: hidden;
    color: white;
    background: radial-gradient(circle at 15% 20%, rgba(215, 181, 109, 0.12), transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(15, 140, 131, 0.18), transparent 55%),
        linear-gradient(135deg, #031b19, #062722, #074237);
}

.dept-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 80%, rgba(13, 97, 90, 0.35), transparent 60%);
    opacity: 0.5;
}

.dept-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
}

.dept-intro {
    max-width: 820px;
}

.dept-kicker {
    text-transform: uppercase;
    letter-spacing: 0.35rem;
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.dept-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 1rem;
}

.dept-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
}

.dept-icon {
    width: 90px;
    height: 90px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.dept-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.dept-cta-group .btn {
    min-width: 180px;
    justify-content: center;
}

.dept-section {
    padding: 5rem 0;
}

.dept-section.soft-bg {
    background: linear-gradient(135deg, var(--bg-light), white);
}

/* Override text colors for light background sections */
.dept-section.soft-bg .section-title,
.dept-section.soft-bg h1,
.dept-section.soft-bg h2,
.dept-section.soft-bg h3,
.dept-section.soft-bg h4,
.dept-section.soft-bg h5,
.dept-section.soft-bg h6 {
    color: var(--text-on-light) !important;
}

.dept-section.soft-bg p,
.dept-section.soft-bg .dept-overview p {
    color: var(--text-on-light-body) !important;
}

.dept-overview p {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.dept-section.soft-bg .dept-overview p {
    color: var(--text-on-light-body);
}

.dept-services-grid,
.dept-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.dept-service-card,
.dept-why-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid rgba(0, 217, 191, 0.1);
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
}

.dept-service-card:hover,
.dept-why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    border-color: rgba(0, 217, 191, 0.3);
}

/* Light background cards in soft-bg sections */
.dept-section.soft-bg .dept-service-card,
.dept-section.soft-bg .dept-why-card {
    background: white;
    border: 1px solid rgba(10, 61, 57, 0.15);
    box-shadow: 0 4px 20px rgba(10, 61, 57, 0.08);
}

.dept-section.soft-bg .dept-service-card h3,
.dept-section.soft-bg .dept-why-card h3 {
    color: var(--heading-on-light) !important;
}

.dept-section.soft-bg .dept-service-card ul,
.dept-section.soft-bg .dept-service-card ul li,
.dept-section.soft-bg .dept-service-card p,
.dept-section.soft-bg .dept-why-card p {
    color: var(--text-on-light-body) !important;
}

.dept-section.soft-bg .dept-service-card:hover,
.dept-section.soft-bg .dept-why-card:hover {
    box-shadow: 0 8px 30px rgba(10, 61, 57, 0.15);
    border-color: rgba(0, 217, 191, 0.4);
}

.dept-service-card h3,
.dept-why-card h3 {
    margin-bottom: 0.6rem;
}

.dept-service-card ul {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    color: var(--text-light);
}

.dept-service-card ul li::before {
    content: '•';
    margin-right: 0.4rem;
    color: var(--accent-strong);
}

.dept-why-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.dept-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.dept-highlight .stat-card {
    background: var(--bg-soft);
}

.dept-cta {
    background: linear-gradient(135deg, var(--primary-color), #0d3f35);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.dept-cta .cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 768px) {
    .dept-hero { padding: 120px 0 90px; }
    .dept-kicker { letter-spacing: 0.25rem; }
    .dept-cta-group .btn { width: 100%; }
    .dept-service-card,
    .dept-why-card { padding: 1.6rem; }
}

/* ============ CARDS & GRID ============ */
.card,
.service-card,
.testimonial-card,
.department-card,
.store-card,
.advantage-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 217, 191, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before,
.service-card::before,
.testimonial-card::before,
.department-card::before,
.store-card::before,
.advantage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.card:hover::before,
.service-card:hover::before,
.testimonial-card:hover::before,
.department-card:hover::before,
.store-card:hover::before,
.advantage-card:hover::before {
    opacity: 0.04;
}

.card:hover,
.service-card:hover,
.testimonial-card:hover,
.department-card:hover,
.store-card:hover,
.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    border-color: rgba(0, 217, 191, 0.3);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============ NAV / HERO HELPERS FOR INNER PAGES ============ */
.hero-page {
    margin-top: 76px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 40%, rgba(0, 217, 191, 0.15), transparent 45%),
        radial-gradient(circle at 85% 60%, rgba(201, 168, 117, 0.12), transparent 50%);
    animation: ambientGlow 14s ease-in-out infinite;
    z-index: 0;
}

.hero-page > .container {
    position: relative;
    z-index: 1;
}

.theme-gradient-primary {
    background: var(--gradient-dark-accent);
}

.theme-gradient-soft {
    background: var(--bg-darker);
}

.theme-gradient-dark {
    background: var(--gradient-hero);
    color: white;
}

/* ============ STORE PAGE HELPERS ============ */
.store-hero {
    background: var(--gradient-dark-accent);
}

.store-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.store-card.featured {
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: none;
}

.store-card.featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.store-card .store-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.store-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.store-card[data-variant="teal-gold"] {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.store-card[data-variant="green-teal"] {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.store-card[data-variant="teal-green"] {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.store-card[data-variant="gold-teal"] {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.store-card[data-variant="teal-amber"] {
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-color));
}

.store-card[data-variant="gold-strong"] {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-strong));
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    box-shadow: none;
}

.btn-light:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.order-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Store catalog */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.catalog-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.catalog-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.catalog-card ul {
    list-style: none;
    display: grid;
    gap: 0.35rem;
    color: var(--text-light);
    margin: 0;
    padding: 0;
}

.catalog-card li {
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}

.catalog-card li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--accent-strong);
    font-weight: 700;
}

/* Catalog Link Styling */
.catalog-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.catalog-link:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.shop-now-btn {
    margin-top: 1.5rem;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.catalog-link:hover .shop-now-btn {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.3);
}

.step-card {
    text-align: center;
}

.step-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.panel-soft {
    background: linear-gradient(135deg, var(--bg-light), white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 217, 191, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 217, 191, 0.15);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-white);
    background: var(--bg-darker);
    transition: var(--transition);
    font-weight: 300;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 217, 191, 0.1), var(--shadow-glow);
    background: rgba(10, 61, 57, 0.8);
}

.form-control::placeholder {
    color: var(--text-dim);
    opacity: 0.95;
}

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

.w-100 {
    width: 100%;
}

/* ============ OVERRIDES ============ */
[style*="background: white"] {
    background: white !important;
}

[style*="#f5fbf9"][style*="#ffffff"] {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-white)) !important;
}

[style*="background: white"] .content-note,
[style*="background: white"] .content-note p,
[style*="background: white"] .content-note-small,
[style*="background: white"] .content-paragraph,
[style*="background: white"] .content-paragraph p,
[style*="background: white"] .list-clean,
[style*="background: white"] .list-clean li,
[style*="#f5fbf9"] .content-note-small,
[style*="#f5fbf9"] .content-paragraph,
[style*="#f5fbf9"] .content-note,
[style*="#f5fbf9"] .content-note p,
.section-light .content-note,
.section-light .content-note p,
.section-light .content-note-small,
.section-light .content-paragraph,
.section-light .content-paragraph p,
.section-light .list-clean,
.section-light .list-clean li {
    color: var(--text-on-light-body);
}

[style*="background: white"] .section-title,
[style*="background: white"] h2,
[style*="background: white"] h3,
[style*="background: white"] h4,
[style*="#f5fbf9"] .section-title,
[style*="#f5fbf9"] h2,
[style*="#f8fffd"] .section-title,
[style*="#f8fffd"] h2,
.section-light .section-title {
    color: var(--text-on-light);
}

[style*="background: white"] input,
[style*="background: white"] select,
[style*="background: white"] textarea,
[style*="#f5fbf9"] input,
[style*="#f5fbf9"] select,
[style*="#f5fbf9"] textarea,
.section-light input,
.section-light select,
.section-light textarea {
    color: var(--text-dark);
    background: var(--bg-white);
    border-color: rgba(10, 61, 57, 0.18);
}

[style*="background: white"] input:focus,
[style*="background: white"] select:focus,
[style*="background: white"] textarea:focus,
[style*="#f5fbf9"] input:focus,
[style*="#f5fbf9"] select:focus,
[style*="#f5fbf9"] textarea:focus,
.section-light input:focus,
.section-light select:focus,
.section-light textarea:focus {
    background: #ffffff;
    color: var(--text-dark);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 61, 57, 0.08);
}

[style*="#f5fbf9"] .content-paragraph,
[style*="#f5fbf9"] .content-note,
[style*="#f5fbf9"] .content-note p,
[style*="#f8fffd"] .content-paragraph,
[style*="#f8fffd"] .content-note,
[style*="#f8fffd"] .content-note p {
    color: var(--text-on-light-body);
}

[style*="background: white"] input::placeholder,
[style*="background: white"] textarea::placeholder,
[style*="#f5fbf9"] input::placeholder,
[style*="#f5fbf9"] textarea::placeholder,
.section-light input::placeholder,
.section-light textarea::placeholder {
    color: var(--text-on-light-muted);
    opacity: 1;
}

/* Select arrow override for light sections */
[style*="background: white"] select option,
[style*="#f5fbf9"] select option,
.section-light select option {
    background: #ffffff;
    color: var(--text-dark);
}

[style*="background: white"] a:not(.btn),
.section-light a:not(.btn) {
    color: var(--link-on-light);
}

/* Additional contrast rules for white/light backgrounds */
[style*="background: white"] p,
[style*="#f5fbf9"] p,
[style*="#f8fffd"] p,
.why-item p,
.mission-card p,
.vision-card p,
.values-card p,
.md-info p,
.md-info li,
.contact-card p,
.contact-card .content-note-small {
    color: var(--text-on-light-body) !important;
}

[style*="background: white"] h1,
[style*="background: white"] h2,
[style*="background: white"] h3,
[style*="background: white"] h4,
[style*="background: white"] h5,
[style*="background: white"] h6,
.why-item h4,
.mission-card h3,
.vision-card h3,
.values-card h3,
.contact-card h3,
.md-info h3,
.md-info h4 {
    color: var(--text-on-light) !important;
}

[style*="background: white"] ul,
[style*="background: white"] li,
.values-card ul,
.values-card li,
.md-info ul,
.md-info li {
    color: var(--text-on-light-body) !important;
}

/* Light section background and text colors */
.section-light {
    background: linear-gradient(135deg, var(--bg-lighter), var(--bg-white)) !important;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 {
    color: var(--text-on-light) !important;
}

.section-light p,
.section-light .process-step p,
.section-light .service-card p,
.section-light .faq-question,
.section-light .faq-item h4 {
    color: var(--text-on-light-body) !important;
}

.section-light h4 {
    color: var(--heading-on-light) !important;
}

.section-light .list-clean,
.section-light .list-clean li {
    color: var(--text-on-light-body) !important;
}

.section-light .process-step,
.section-light .service-card,
.section-light .advantage-card {
    background: white !important;
    border-color: rgba(10, 61, 57, 0.15) !important;
    box-shadow: 0 4px 20px rgba(10, 61, 57, 0.08) !important;
}

.section-light .faq-item {
    border-bottom-color: rgba(10, 61, 57, 0.15) !important;
}

/* ============ COMMON CONTENT UTILITIES ============ */
.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 217, 191, 0.1);
}

.star-rating {
    color: var(--accent-brown);
    margin-bottom: 1rem;
}

.notice-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 217, 191, 0.1);
}

/* Notice card inside light/white sections */
.section-light .notice-card,
[style*="#f5fbf9"] .notice-card,
[style*="background: white"] .notice-card {
    background: #eef7f5;
    border: 1px solid rgba(10, 61, 57, 0.12);
    color: var(--text-on-light-body);
}

.section-light .notice-card p,
[style*="#f5fbf9"] .notice-card p,
[style*="background: white"] .notice-card p,
.section-light .notice-card strong,
[style*="#f5fbf9"] .notice-card strong {
    color: var(--text-on-light-body) !important;
}

.progress-bar {
    height: 4px;
    background: rgba(0, 217, 191, 0.15);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-accent);
    width: 33%;
    transition: width 0.3s ease;
}

.md-achievements {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 217, 191, 0.1);
}

/* ============ SPECIFIC SECTIONS ============ */
.trust-signals {
    position: relative;
    padding: 5rem 0;
    background: var(--bg-darker);
    overflow: hidden;
}

.trust-signals::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 30%, rgba(0, 217, 191, 0.08), transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(201, 168, 117, 0.06), transparent 45%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid rgba(0, 217, 191, 0.1);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    border-color: rgba(0, 217, 191, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    filter: brightness(1.2);
    color: var(--accent-brown);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent-cyan);
    margin-bottom: 0.25rem;
    line-height: 1;
    text-shadow: 0 0 15px rgba(0, 217, 191, 0.3);
}

.stat-label {
    color: var(--text-light);
    font-weight: 300;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-highlight {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.services-highlight,
.services-grid,
.why-choose-us,
.why-content,
.testimonials,
.quick-booking,
.cta-section {
    position: relative;
}

.services-grid,
.testimonials-grid,
.why-grid,
.timeline-grid,
.mission-vision-grid,
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card,
.advantage-card,
.process-step,
.why-item,
.department-card,
.store-card {
    border: 1px solid rgba(0, 217, 191, 0.1);
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.advantage-card::before,
.process-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before,
.advantage-card:hover::before,
.process-step:hover::before {
    opacity: 0.04;
}

.service-card:hover,
.advantage-card:hover,
.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    border-color: rgba(0, 217, 191, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: inline-block;
    transition: transform var(--transition);
    filter: brightness(1.2);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-8deg);
    filter: drop-shadow(0 0 15px var(--accent-cyan));
}

.service-card h3 {
    color: var(--text-white);
    margin-bottom: var(--space-sm);
    font-weight: 400;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.service-link,
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    font-weight: 400;
    color: var(--accent-cyan);
    margin-top: var(--space-md);
    font-size: 0.9375rem;
    transition: var(--transition);
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.service-link:hover {
    gap: 0.875rem;
    text-shadow: 0 0 10px rgba(0, 217, 191, 0.5);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: var(--gradient-dark-accent);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 191, 0.12), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 168, 117, 0.08), transparent 50%);
    animation: ambientFloat 15s ease-in-out infinite;
}

.why-choose-us .container {
    position: relative;
    z-index: 2;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.why-text {
    background: rgba(5, 56, 52, 0.4);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid rgba(0, 217, 191, 0.15);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.why-text h2 {
    color: white;
    margin-bottom: var(--space-md);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.why-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.glow-list {
    list-style: none;
    margin: var(--space-lg) 0;
    padding: 0;
    display: grid;
    gap: var(--space-sm);
}

.glow-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: inherit;
}

.glow-list span {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.why-visual {
    position: relative;
}

.visual-frame {
    position: relative;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.visual-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1), transparent 50%);
    opacity: 0.5;
    pointer-events: none;
}

.visual-content {
    position: relative;
    color: white;
}

.visual-content h3 {
    color: white;
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.visual-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.visual-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.visual-stats div {
    padding: var(--space-md);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.visual-stats strong {
    display: block;
    font-size: 1.75rem;
    color: white;
    font-weight: 700;
}

.visual-stats span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.floating-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: white;
    color: var(--primary-color);
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.section-kicker {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.15em;
    font-size: 0.8125rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.why-heading {
    margin-bottom: var(--space-md);
}

.why-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

@media (max-width: 800px) {
    .why-content {
        grid-template-columns: 1fr;
    }
}

.why-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    margin: 1.5rem 0;
    color: var(--text-light);
}

.why-list li {
    padding-left: 1.6rem;
    position: relative;
}

.why-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.visual-placeholder {
    background: radial-gradient(circle at 20% 20%, rgba(215, 181, 109, 0.25), rgba(15, 118, 110, 0.4));
    border-radius: var(--radius);
    min-height: 320px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.medical-gradient {
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.8), rgba(10, 61, 57, 0.85)),
        image-set(
            url('../assets/img/doctor-stethoscope-stock.webp') type('image/webp'),
            url('../assets/img/doctor-stethoscope-stock.png') type('image/png')
        );
    background-size: cover;
}

.testimonials {
    background: var(--bg-dark);
    padding: 5rem 0;
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 191, 0.1);
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--accent-cyan);
    opacity: 0.06;
    position: absolute;
    top: -20px;
    left: 20px;
    font-weight: 300;
    line-height: 1;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.testimonial-card:hover::after {
    opacity: 0.04;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    border-color: rgba(0, 217, 191, 0.3);
}

.stars {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    display: inline-block;
    color: var(--accent-brown);
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: normal;
    color: var(--text-muted);
    margin: var(--space-md) 0;
    line-height: 1.7;
    font-size: 0.9375rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 217, 191, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-author strong {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 300;
}

.booking-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 217, 191, 0.1);
}

.quick-booking {
    padding: 5rem 0;
    background: var(--bg-darker);
    position: relative;
}

.quick-booking::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 191, 0.08), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 168, 117, 0.06), transparent 50%);
    pointer-events: none;
}

.quick-booking .booking-heading {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.quick-booking .section-kicker {
    color: var(--accent-cyan);
    letter-spacing: 0.15em;
    font-size: 0.8125rem;
    text-transform: uppercase;
    font-weight: 300;
}

.quick-booking .section-title {
    margin: var(--space-sm) 0;
    color: var(--text-white);
    font-weight: 300;
}

.quick-booking .section-subtitle {
    color: var(--text-muted);
}

.quick-booking .booking-shell {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(6, 42, 38, 0.95), rgba(11, 66, 60, 0.92));
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.quick-booking .booking-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.quick-booking .booking-steps .step {
    display: flex;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-weight: 500;
    transition: var(--transition);
}

.quick-booking .booking-steps .step:hover {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.12);
}

.quick-booking .booking-steps .step span {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-booking .booking-form {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: grid;
    gap: var(--space-md);
}

.quick-booking .booking-form .floating-label {
    position: relative;
}

.quick-booking .booking-form input,
.quick-booking .booking-form select {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: rgba(8, 46, 42, 0.9);
    color: var(--text-white);
    font-weight: 400;
    transition: var(--transition-fast);
    font-size: 0.9375rem;
}

.quick-booking .booking-form input:focus,
.quick-booking .booking-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.quick-booking .booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-white);
    font-weight: 500;
}

.quick-booking .booking-form input::placeholder,
.quick-booking .booking-form select,
.quick-booking .booking-note,
.quick-booking .booking-steps .step p {
    color: var(--text-muted);
}

.quick-booking .booking-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.quick-booking .booking-form button {
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.quick-booking .booking-note {
    color: var(--text-light);
    font-weight: 400;
    text-align: center;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .quick-booking .booking-shell {
        padding: var(--space-lg);
        grid-template-columns: 1fr;
    }
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.booking-form input,
.booking-form select,
.booking-form textarea,
input,
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0, 217, 191, 0.15);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    background: var(--bg-darker);
    color: var(--text-white);
    font-weight: 300;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 217, 191, 0.1);
    background: rgba(10, 61, 57, 0.8);
}

.appointment-form .service-option {
    background: white;
        border: 2px solid var(--border-light) !important;
        box-shadow: 0 8px 22px rgba(12, 65, 60, 0.08);
    }
.appointment-form .service-option:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 12px 28px rgba(12, 65, 60, 0.12);
    transform: translateY(-2px);
}

.appointment-form .service-title {
    color: var(--text-on-light) !important;
    font-weight: 700;
}

.appointment-form .service-desc {
    color: var(--text-on-light-muted) !important;
}

.appointment-form .service-radio {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.cta-section {
    background: var(--gradient-dark-accent);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 217, 191, 0.15), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(201, 168, 117, 0.1), transparent 50%);
    pointer-events: none;
    animation: ambientFloat 15s ease-in-out infinite;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.cta-section p {
    color: var(--text-muted);
}

.cta-section .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 217, 191, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer h4 {
    margin-bottom: var(--space-md);
    color: var(--accent-cyan);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.footer p,
.footer a {
    color: var(--text-light);
    font-size: 0.9375rem;
    font-weight: 300;
}

.footer a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 217, 191, 0.4);
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 217, 191, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.powered-by {
    font-size: 0.9rem;
    margin-top: 0.8rem;
    color: var(--text-muted);
}

.zavex-link {
    color: var(--accent-brown);
    font-weight: 400;
    transition: var(--transition);
}

.zavex-link:hover {
    color: var(--accent-brown-light);
    text-shadow: 0 0 10px rgba(215, 181, 109, 0.4);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 217, 191, 0.1);
    display: grid;
    place-items: center;
    color: var(--accent-cyan);
    transition: var(--transition);
    border: 1px solid rgba(0, 217, 191, 0.2);
}

.social-links a:hover {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.floating-whatsapp {
    display: none !important;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25D366, #1ebe57);
    color: white;
    border-radius: 50%;
    place-items: center;
    box-shadow: var(--shadow-xl);
    z-index: 1100;
    transition: var(--transition);
    font-size: 1.5rem;
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.5);
}

.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 92px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    z-index: 1099;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

/* Timeline (About page) */
/* TIMELINE SECTION - Professional Medical History */
.section-timeline {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a2e2a 50%, var(--bg-dark) 100%);
    padding: 6rem 0;
}

.section-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 217, 191, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.timeline-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.timeline-header .section-title {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.timeline-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    animation: subtitleFadeIn 1s ease-out 0.3s backwards;
}

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

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-top: 0.5rem;
}

/* Timeline Progress Indicator */
.timeline-progress-container {
    position: relative;
    height: 6px;
    background: rgba(0, 217, 191, 0.12);
    border-radius: 999px;
    margin: 0 auto 5rem;
    max-width: 920px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.timeline-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 999px;
    width: 100%;
    animation: progressFill 2s ease-out 0.5s backwards;
    box-shadow: 0 0 20px rgba(0, 217, 191, 0.6), 0 0 40px rgba(0, 217, 191, 0.3);
}

@keyframes progressFill {
    from {
        width: 0%;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

/* Timeline Card */
.timeline-card {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, #0c3532 100%);
    border-radius: 28px;
    padding: 3.5rem 2.75rem 2.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 8px 16px rgba(0, 217, 191, 0.1);
    border: 1px solid rgba(0, 217, 191, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
    min-height: 340px;
    animation: cardFadeIn 0.8s ease-out backwards;
    backdrop-filter: blur(10px);
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 28px 28px 0 0;
}

.timeline-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 191, 0.08) 0%, transparent 70%);
    transform: translate(0, -50%);
    opacity: 0;
    transition: opacity 0.6s ease-out, right 0.6s ease-out;
    pointer-events: none;
}

.timeline-card:hover {
    box-shadow: 0 30px 80px rgba(0, 217, 191, 0.3), 0 15px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 217, 191, 0.4);
}

.timeline-card:hover::before {
    transform: scaleX(1);
}

.timeline-card:hover::after {
    opacity: 1;
    right: -30%;
}

/* Staggered animation delays for cards */
.timeline-grid .timeline-card:nth-child(1) { animation-delay: 0.1s; }
.timeline-grid .timeline-card:nth-child(2) { animation-delay: 0.2s; }
.timeline-grid .timeline-card:nth-child(3) { animation-delay: 0.3s; }
.timeline-grid .timeline-card:nth-child(4) { animation-delay: 0.4s; }
.timeline-grid .timeline-card:nth-child(5) { animation-delay: 0.5s; }
.timeline-grid .timeline-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Year Badge */
.timeline-year-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.25rem;
    font-size: 1rem;
    line-height: 1;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    background: var(--gradient-accent);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 217, 191, 0.4);
    letter-spacing: 0.06em;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
    pointer-events: none;
    white-space: nowrap;
}

.timeline-card:hover .timeline-year-badge {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 217, 191, 0.6);
}

/* Timeline Icon */
.timeline-icon {
    font-size: 3rem;
    margin-bottom: 1.75rem;
    display: block;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 217, 191, 0.2));
}

.timeline-card:hover .timeline-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(0, 217, 191, 0.4));
}

/* Timeline Milestone */
.timeline-milestone {
    font-size: 1.7rem;
    margin-bottom: 1.25rem;
    padding-right: 5rem;
    font-weight: 500;
    color: var(--text-white);
    letter-spacing: 0.01em;
    line-height: 1.3;
    transition: color 0.3s ease-out;
}

.timeline-card:hover .timeline-milestone {
    color: var(--accent-cyan);
}

/* Timeline Description */
.timeline-description {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    font-size: 1.05rem;
    transition: color 0.3s ease-out;
}

.timeline-card:hover .timeline-description {
    color: var(--text-light);
}

/* Responsive Timeline Styles */
@media (max-width: 1200px) {
    .timeline-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-timeline {
        padding: 4rem 0;
    }

    .timeline-header .section-title {
        font-size: 2.5rem;
    }

    .timeline-subtitle {
        font-size: 1rem;
    }

    .timeline-header {
        margin-bottom: 3.5rem;
    }

    .timeline-progress-container {
        margin-bottom: 3.5rem;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .timeline-card {
        padding: 2.5rem 2rem 2rem;
        min-height: 280px;
    }

    .timeline-icon {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .timeline-milestone {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .timeline-description {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .timeline-year-badge {
        top: 1rem;
        right: 1.25rem;
        font-size: 0.9rem;
        padding: 0.5rem 1.1rem;
        min-width: 3.75rem;
    }
}

@media (max-width: 480px) {
    .timeline-card {
        padding: 2rem 1.5rem 1.75rem;
        min-height: 260px;
        border-radius: 20px;
    }

    .timeline-icon {
        font-size: 2.2rem;
    }

    .timeline-milestone {
        font-size: 1.25rem;
    }

    .timeline-description {
        font-size: 0.95rem;
    }

    .timeline-year-badge {
        font-size: 0.85rem;
        padding: 0.45rem 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 520px) {
    .timeline-item {
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .timeline-card {
        padding: 1.25rem;
    }

    .timeline-milestone {
        font-size: 1rem;
    }

    .timeline-description {
        font-size: 0.85rem;
    }

    .timeline-icon {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline-subtitle {
        font-size: 0.95rem;
    }
}

/* Toast helper (from JS) */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.4rem;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-strong);
    z-index: 1200;
}

.toast-success { background: var(--secondary-color); }
.toast-error { background: #c0392b; }
.toast-info { background: var(--primary-color); }

/* ============ UTILITIES ============ */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .container { padding: 0 1.4rem; }
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2.1rem; }
    .nav-link { padding: 0.55rem 0.65rem; font-size: 0.72rem; }
    .nav-cta  { padding: 0.55rem 1rem;   font-size: 0.72rem; }
}

/* Switch to hamburger at 860px and below */
@media (max-width: 860px) {
    .nav-links { display: none !important; }
    .nav-cta   { display: none !important; }
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 42px;
        height: 42px;
        padding: 0;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 1.2rem; }
    .nav-container { height: 64px; }
    .hero { margin-top: 64px; min-height: 90vh; }
    .hero-page { margin-top: 64px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .scroll-to-top { right: 22px; bottom: 82px; }
    .floating-whatsapp { right: 22px; bottom: 22px; }
}

@media (max-width: 520px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }
    .hero-title { font-size: 2rem; }
    .hero-content { padding: 1.2rem; }
    .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===========================
   ACCESSIBILITY ENHANCEMENTS
   =========================== */

/* Focus Visible for Keyboard Navigation */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(0, 217, 191, 0.15);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Skip to Main Content */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
}

.skip-to-main:focus {
    left: 1rem;
    top: 1rem;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .service-card,
    .testimonial-card,
    .stat-card {
        border: 2px solid var(--primary-light);
    }
}

/* ============ CTA & HERO TEXT (contrast fixes) ============ */
.cta-section,
.cta-section.theme-gradient-primary,
.cta-section.theme-gradient-dark {
    color: var(--text-white);
}

.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section p {
    color: rgba(255, 255, 255, 0.95);
}

.cta-section .btn-outline {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-section .btn-outline:hover {
    color: var(--primary-dark);
}

.dept-hero h1,
.dept-hero .hero-title {
    color: var(--text-white);
}

.text-accent-gold {
    color: var(--accent-gold);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mission-card,
.vision-card,
.values-card,
.why-item {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(12, 65, 60, 0.08);
}

.mission-card { border-left: 5px solid var(--secondary-color); }
.vision-card { border-left: 5px solid var(--accent-strong); }
.values-card { border-left: 5px solid var(--accent-gold); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-item {
    padding: 2rem;
}

.why-item-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.md-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .md-content {
        grid-template-columns: 1fr;
    }
}

.mission-card h3 { color: var(--secondary-color) !important; }
.vision-card h3 { color: var(--accent-strong) !important; }
.values-card h3 { color: var(--accent-brown) !important; }
.md-info .md-role { color: var(--secondary-color); font-weight: 600; font-size: 1.3rem; margin-bottom: 2rem; }

.timeline-card--highlight {
    border-color: rgba(0, 217, 191, 0.35) !important;
    box-shadow: 0 20px 60px rgba(0, 217, 191, 0.15), 0 8px 16px rgba(0, 0, 0, 0.4) !important;
}

.timeline-card--gold {
    border-color: rgba(215, 181, 109, 0.45) !important;
    box-shadow: 0 20px 60px rgba(215, 181, 109, 0.12), 0 8px 16px rgba(0, 0, 0, 0.4) !important;
}

.timeline-card--gold .timeline-year-badge {
    background: var(--gradient-brown);
    color: var(--primary-dark);
}

.timeline-card--gold:hover .timeline-milestone {
    color: var(--accent-gold);
}

/* About page — aligned sections & typography */
.page-about .section-light .section-title {
    color: var(--text-on-light) !important;
}

.page-about .section-light .section-title::after {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-cyan));
}

.page-about .mission-vision {
    border-top: 1px solid rgba(10, 61, 57, 0.08);
}

.page-about .md-profile {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(0, 217, 191, 0.1);
    border-bottom: 1px solid rgba(0, 217, 191, 0.1);
}

.page-about .md-profile .section-title {
    color: var(--text-white) !important;
}

.page-about .md-profile .section-title::after {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-brown));
}

.page-about .md-info h3 {
    color: var(--text-white) !important;
}

.page-about .md-info h4 {
    color: var(--accent-cyan) !important;
}

.page-about .md-info p,
.page-about .md-info li {
    color: var(--text-muted) !important;
}

.page-about .md-info .md-role {
    color: var(--accent-cyan);
}

.page-about .md-achievements {
    border-top-color: rgba(0, 217, 191, 0.15);
}

.page-about .why-iye {
    border-top: 1px solid rgba(10, 61, 57, 0.08);
}

.page-about .why-item h4 {
    color: var(--heading-on-light) !important;
    margin-bottom: 0.75rem;
}

.page-about .mission-card p,
.page-about .vision-card p,
.page-about .values-card p,
.page-about .values-card li {
    color: var(--text-on-light-body) !important;
}

/* ============ PHOTO GALLERY (Homepage) — Redesigned ============ */
.photo-gallery {
    padding: var(--space-xl) 0;
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 217, 191, 0.08);
}

.photo-gallery__header {
    margin-bottom: var(--space-lg);
}

.photo-gallery__intro {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ---- Masonry-style gallery grid ---- */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 1rem;
}

.gallery-tile {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(0, 217, 191, 0.1);
    box-shadow: var(--shadow);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease;
}

.gallery-tile:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    border-color: rgba(0, 217, 191, 0.28);
}

/* Wide tile spans 2 columns and 2 rows */
.gallery-tile--wide {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-fig {
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}

.gallery-fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gallery-tile:hover .gallery-fig img {
    transform: scale(1.05);
}

/* Gradient overlay + caption */
.gallery-fig::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(5, 24, 22, 0.88) 0%,
        rgba(5, 24, 22, 0.2) 45%,
        transparent 100%);
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 2;
    transform: translateY(4px);
    transition: transform 0.3s ease;
}

.gallery-tile:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption strong {
    color: var(--text-white);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.gallery-caption span {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
    opacity: 0;
    transition: opacity 0.3s ease 0.05s;
}

.gallery-tile:hover .gallery-caption span {
    opacity: 1;
}

/* Responsive — tablet */
@media (max-width: 900px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-tile--wide {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Responsive — mobile */
@media (max-width: 540px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-tile--wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-caption span {
        opacity: 1;
    }
}

/* Homepage — reduced motion & animations */
.page-home .hero::before {
    animation: none;
}

.page-home .hero-content,
.page-home .hero-ctas {
    animation: none;
}

.page-home .hero-title .highlight {
    animation: none;
    text-shadow: 0 0 20px rgba(0, 217, 191, 0.45);
}

.page-home .scroll-arrow {
    animation: none;
}

.page-home .stat-card:hover,
.page-home .service-card:hover,
.page-home .testimonial-card:hover,
.page-home .photo-gallery__item figure:hover {
    transform: none;
}

.page-home .photo-gallery__item img {
    transition: opacity var(--transition-fast);
}

.page-home .btn:hover {
    transform: translateY(-2px);
}

.visual-frame--photo {
    padding: 0;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.visual-frame--photo .visual-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.visual-frame--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 24, 22, 0.92) 0%, rgba(5, 24, 22, 0.35) 55%, transparent 100%);
    z-index: 1;
}

.visual-frame--photo .visual-content,
.visual-frame--photo .floating-badge {
    position: relative;
    z-index: 2;
}

.visual-frame--photo .visual-content {
    padding: var(--space-xl);
}

.md-portrait-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 217, 191, 0.2);
}

.facility-banner {
    margin-top: var(--space-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 217, 191, 0.15);
}

.facility-banner img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.contact-facility-wrap {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-facility-wrap img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

/* Hero / dept-hero with facility photography */
.hero-page--photo,
.dept-hero--photo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-page.theme-gradient-primary.hero-page--photo {
    background-color: var(--primary-dark);
}

.hero-page--about {
    background-image: linear-gradient(135deg, rgba(5, 24, 22, 0.82), rgba(10, 61, 57, 0.75)),
        image-set(
            url('../assets/img/iye-hospital-exterior-fertility-center.webp') type('image/webp'),
            url('../assets/img/iye-hospital-exterior-fertility-center.jpg') type('image/jpeg')
        );
}

.hero-page--departments {
    background-image: linear-gradient(135deg, rgba(5, 24, 22, 0.82), rgba(10, 61, 57, 0.75)),
        image-set(
            url('../assets/img/iye-hospital-fertility-centre-building.webp') type('image/webp'),
            url('../assets/img/iye-hospital-fertility-centre-building.jpg') type('image/jpeg')
        );
}

.hero-page--ivf {
    background-image: linear-gradient(135deg, rgba(5, 24, 22, 0.82), rgba(10, 61, 57, 0.75)),
        image-set(
            url('../assets/img/iye-hospital-exterior-with-gate.webp') type('image/webp'),
            url('../assets/img/iye-hospital-exterior-with-gate.jpg') type('image/jpeg')
        );
}

.hero-page--laparoscopy {
    background-image: linear-gradient(135deg, rgba(5, 24, 22, 0.82), rgba(10, 61, 57, 0.75)),
        image-set(
            url('../assets/img/iye-hospital-main-entrance.webp') type('image/webp'),
            url('../assets/img/iye-hospital-main-entrance.jpg') type('image/jpeg')
        );
}

.hero-page--contact {
    background-image: linear-gradient(135deg, rgba(5, 24, 22, 0.82), rgba(10, 61, 57, 0.75)),
        image-set(
            url('../assets/img/iye-hospital-pharmacy-window.webp') type('image/webp'),
            url('../assets/img/iye-hospital-pharmacy-window.jpg') type('image/jpeg')
        );
}

.hero-page--bookings {
    background-image: linear-gradient(135deg, rgba(5, 24, 22, 0.78), rgba(10, 61, 57, 0.70)),
        image-set(
            url('../assets/img/iye-hospital-exterior-fertility-center.webp') type('image/webp'),
            url('../assets/img/iye-hospital-exterior-fertility-center.jpg') type('image/jpeg')
        );
}

.dept-hero.dept-hero--gynecology {
    background: linear-gradient(135deg, rgba(3, 27, 25, 0.82), rgba(7, 66, 55, 0.75)),
        image-set(
            url('../assets/img/iye-hospital-interior-hallway.webp') type('image/webp'),
            url('../assets/img/iye-hospital-interior-hallway.jpg') type('image/jpeg')
        ) center/cover no-repeat;
}

.dept-hero.dept-hero--obstetrics {
    background: linear-gradient(135deg, rgba(3, 27, 25, 0.82), rgba(7, 66, 55, 0.75)),
        image-set(
            url('../assets/img/iye-hospital-pharmacy-counter.webp') type('image/webp'),
            url('../assets/img/iye-hospital-pharmacy-counter.jpg') type('image/jpeg')
        ) center/cover no-repeat;
}

.dept-hero.dept-hero--diagnostics {
    background: linear-gradient(135deg, rgba(3, 27, 25, 0.82), rgba(7, 66, 55, 0.75)),
        image-set(
            url('../assets/img/iye-hospital-laboratory-microscopes.webp') type('image/webp'),
            url('../assets/img/iye-hospital-laboratory-microscopes.jpg') type('image/jpeg')
        ) center/cover no-repeat;
}

.dept-hero.dept-hero--pediatrics,
.dept-hero.dept-hero--general-surgery,
.dept-hero.dept-hero--pharmacy,
.dept-hero.dept-hero--emergency {
    background: linear-gradient(135deg, rgba(3, 27, 25, 0.82), rgba(7, 66, 55, 0.75)),
        image-set(
            url('../assets/img/iye-hospital-waiting-room.webp') type('image/webp'),
            url('../assets/img/iye-hospital-waiting-room.jpg') type('image/jpeg')
        ) center/cover no-repeat;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid rgba(10, 61, 57, 0.12);
    box-shadow: 0 4px 20px rgba(10, 61, 57, 0.06);
}

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--link-on-light);
    font-weight: 600;
    text-decoration: none;
}

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

.contact-link--whatsapp {
    color: var(--accent-strong);
}

.store-hero--photo {
    background-image: linear-gradient(135deg, rgba(5, 24, 22, 0.9), rgba(10, 61, 57, 0.8)),
        image-set(
            url('../assets/img/iye-hospital-exterior-fertility-center.webp') type('image/webp'),
            url('../assets/img/iye-hospital-exterior-fertility-center.jpg') type('image/jpeg')
        );
    background-size: cover;
    background-position: center;
}

/* Light mode enforced for healthcare clarity */
