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

/* --- CUSTOM PROPERTIES & TOKENS --- */
:root {
    /* Color Palette (lungtransplant.in theme) */
    --color-maroon-primary: #065370; /* Primary Deep Teal */
    --color-maroon-hover: #043c52;   /* Darker Teal */
    --color-maroon-light: #ebf5f8;   /* Subtle Light Teal Accent */
    --color-blue-clinical: #087fa3;  /* Secondary Blue */
    --color-blue-clinical-hover: #065f7a; /* Darker Secondary Blue */
    --color-blue-light: #ebf5f8;     /* Light Teal Accent */
    --color-text-dark: #0f172a;      /* Slate 900 */
    --color-text-muted: #475569;     /* Slate 600 */
    --color-text-light: #ffffff;
    --color-bg-pure: #ffffff;
    --color-bg-subtle: #f8f3f0;      /* Cream Background */
    --color-border-light: rgba(6, 83, 112, 0.08);
    --color-border-focus: #065370;
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    
    /* Layout & Shadows */
    --max-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(6, 83, 112, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(6, 83, 112, 0.05), 0 2px 4px -1px rgba(6, 83, 112, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(6, 83, 112, 0.08), 0 4px 6px -2px rgba(6, 83, 112, 0.02);
    --shadow-premium: 0 20px 25px -5px rgba(6, 83, 112, 0.1), 0 10px 10px -5px rgba(6, 83, 112, 0.02);
    
    /* Animation Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    background-color: var(--color-bg-subtle); /* Global subtle cream bg */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-subtle);
}
::-webkit-scrollbar-thumb {
    background: rgba(6, 83, 112, 0.2);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-maroon-primary);
}

/* --- FIXED TOP SCROLL PROGRESS BAR --- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #0284C7, #14B8A6, #38BDF8);
    width: 0%;
    z-index: 10001;
    transition: width 0.08s ease-out;
    pointer-events: none;
}

/* --- PREMIUM AMBIENT BACKDROP (No Moving Particles) --- */
.mesh-gradient-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: #f8fafc;
}

/* Subtle architectural precision dot grid */
.mesh-gradient-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.9;
    pointer-events: none;
}

/* Ambient breathing radial glow gradients */
.mesh-gradient {
    position: absolute;
    inset: -25%;
    background: 
        radial-gradient(circle at 18% 22%, rgba(2, 132, 199, 0.09) 0%, transparent 45%),
        radial-gradient(circle at 82% 25%, rgba(20, 184, 166, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 45% 80%, rgba(2, 132, 199, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 78% 82%, rgba(20, 184, 166, 0.07) 0%, transparent 45%);
    filter: blur(75px);
    animation: subtleAmbientGlow 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes subtleAmbientGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-3%, 3%) scale(1.04); }
    100% { transform: translate(3%, -3%) scale(0.97); }
}

/* --- TYPOGRAPHY HIERARCHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-maroon-primary); /* Primary Deep Teal */
}

h1 {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 0;
    margin-bottom: 0.75rem;
}

h2::after,
h2.text-center::after {
    display: none;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.15rem;
    font-weight: 600;
}

p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    font-weight: 400;
}

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

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

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.section-subtle {
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.inner-page-hero {
    padding-top: 140px !important;
    padding-bottom: 3rem !important;
}

.flex { display: flex; }
.grid { display: grid; }

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

.gap-sm { gap: 1rem; }
.gap-md { gap: 2rem; }
.gap-lg { gap: 3rem; }

.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }

/* Text color helpers */
.text-maroon { color: var(--color-maroon-primary); }
.text-blue { color: var(--color-blue-clinical); }
.text-muted { color: var(--color-text-muted); }
.text-light { color: var(--color-text-light); }

/* --- PREMIUM BUTTONS (Styled from test.html design system) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.85rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid transparent;
    gap: 0.5rem;
    text-decoration: none;
    line-height: 1.25;
}

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

.btn-primary {
    background: linear-gradient(to right, #0284C7, #14B8A6);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(to right, #0284C7, #14B8A6);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.38);
    opacity: 0.98;
    color: #ffffff !important;
}

.btn-secondary {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #0284C7;
    color: #0284C7;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

.btn-outline-blue {
    background-color: transparent;
    border: 1.5px solid #0284C7;
    color: #0284C7;
    font-weight: 600;
}

.btn-outline-blue:hover {
    background-color: rgba(2, 132, 199, 0.08);
    border-color: #0284C7;
    color: #0284C7;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.btn-white {
    background-color: #ffffff;
    color: #0284C7;
    border: 1px solid #cbd5e1;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
    background-color: #f8fafc;
    border-color: #0284C7;
    color: #0284C7;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.18);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.82rem;
    border-radius: 12px;
}

/* --- HEADER & STICKY NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: transform 0.3s ease, background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header-scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--color-border-light);
    backdrop-filter: blur(8px);
}

.header-hidden {
    transform: translateY(-100%);
}

.nav-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: height var(--transition-normal);
}

.header-scrolled .nav-container {
    height: 65px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.logo-link:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-maroon-primary);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-blue-clinical);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
}

/* --- ULTRA-PREMIUM LIQUID-GLASS NAVIGATION ITEMS --- */
.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 0.52rem 1.15rem;
    border-radius: 50px;
    border: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    letter-spacing: 0.01em;
    overflow: hidden;
    background: transparent;
    transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

/* 1. Specular Light-Sheen Sweep Animation on Hover */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

/* No Underlines: Pseudo-element disabled */
.nav-link::after {
    display: none;
}

/* Hover State: Spring Buoyancy Lift & Ambient Glow */
.nav-link:hover {
    color: var(--color-maroon-primary);
    background-color: rgba(2, 132, 199, 0.07);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px -2px rgba(2, 132, 199, 0.14);
}

.nav-link:hover::before {
    left: 150%;
}

/* Active Click / Tap Micro-Interaction */
.nav-link:active {
    transform: translateY(0) scale(0.96);
    transition-duration: 0.1s;
}

/* Active Item: Elevated Liquid-Glass Floating Capsule (No Underline) */
.nav-link.active {
    color: var(--color-maroon-primary);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.13) 0%, rgba(20, 184, 166, 0.09) 100%);
    font-weight: 700;
    box-shadow: 0 4px 16px -2px rgba(2, 132, 199, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: activePillPulse 4s ease-in-out infinite;
}

.nav-link.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -2px rgba(2, 132, 199, 0.24), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    animation-play-state: paused;
}

@keyframes activePillPulse {
    0%, 100% {
        box-shadow: 0 4px 14px -2px rgba(2, 132, 199, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    }
    50% {
        box-shadow: 0 6px 20px -1px rgba(2, 132, 199, 0.26), inset 0 1px 1px rgba(255, 255, 255, 1);
    }
}

.nav-cta {
    margin-left: 0.5rem;
}

.nav-cta .btn {
    border-radius: 12px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-maroon-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f3f0 0%, #ebf5f8 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--color-maroon-light);
    color: var(--color-maroon-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(6, 83, 112, 0.1);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-maroon-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid var(--color-border-light);
    padding-top: 2rem;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(6, 83, 112, 0.08);
    color: var(--color-maroon-primary);
}

.hero-meta-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-maroon-primary);
}

.hero-meta-text p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --- DOCTOR IMAGE & IDENTITY BADGE --- */
.hero-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.18), 0 8px 24px -4px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-image-container {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #07131d;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-img-animation {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .doctor-img-animation {
    transform: scale(1.04);
}

/* Subtle Vignette Scrim */
.hero-image-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 19, 29, 0.25) 0%, rgba(7, 19, 29, 0.08) 30%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

/* Live Availability Status Pill (Top Right) */
.hero-doctor-status {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    background: rgba(7, 19, 29, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.7rem;
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-live-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: mapPulse 2s infinite;
}

/* --- ULTRA-PREMIUM LIQUID-GLASS IDENTITY ISLAND --- */
.doctor-identity-island {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 0.85rem 1.05rem 0.75rem;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.52) 0%, 
        rgba(10, 25, 41, 0.35) 100%);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 2px solid rgba(56, 189, 248, 0.65);
    box-shadow: 
        0 16px 36px -8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .doctor-identity-island {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.65) 0%, 
        rgba(10, 25, 41, 0.45) 100%);
    border-color: rgba(56, 189, 248, 0.4);
    border-top-color: rgba(255, 255, 255, 0.5);
    border-left-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 
        0 22px 45px -10px rgba(2, 132, 199, 0.25),
        0 14px 28px -6px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.doctor-island-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.doctor-island-name-group {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.doctor-island-name {
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.doctor-island-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05rem;
    height: 1.05rem;
    color: #38bdf8;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}

.doctor-island-verified svg {
    width: 100%;
    height: 100%;
}

.doctor-island-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #7dd3fc;
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.doctor-island-pulse {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: mapPulse 2s infinite;
}

.doctor-island-hairline {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(56, 189, 248, 0.45) 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        transparent 100%);
}

.doctor-island-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.doctor-island-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.doctor-island-chip {
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #bae6fd;
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.doctor-island-role {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #2dd4bf;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.doctor-island-role .role-sparkle {
    color: #38bdf8;
    font-size: 0.75rem;
}

@media (max-width: 640px) {
    .doctor-identity-island {
        bottom: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        padding: 0.75rem 0.85rem 0.65rem;
        gap: 0.35rem;
    }
    .doctor-island-name {
        font-size: 1.02rem;
    }
    .doctor-island-pill {
        font-size: 0.58rem;
        padding: 0.12rem 0.45rem;
    }
    .doctor-island-chip {
        font-size: 0.58rem;
        padding: 0.08rem 0.28rem;
    }
    .doctor-island-role {
        font-size: 0.65rem;
        white-space: normal;
    }
}

.hero-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: var(--color-text-light);
    text-align: center;
    background: linear-gradient(to bottom, rgba(6,83,112,0.7) 0%, rgba(6,83,112,0.95) 100%);
}

.hero-image-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    stroke: var(--color-maroon-light);
}

.hero-image-placeholder h4 {
    color: var(--color-text-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-image-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* --- DOCTOR INTRO SECTION --- */
.intro-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.intro-image-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background-color: var(--color-bg-pure);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
    animation: containerSlideDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.intro-image-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--color-maroon-primary) 0%, var(--color-blue-clinical) 100%);
    color: var(--color-text-light);
    padding: 2rem;
    text-align: center;
}

.intro-image-placeholder svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.intro-image-placeholder h4 {
    color: var(--color-text-light);
}

.intro-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-blue-clinical);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.intro-title {
    margin-bottom: 1.5rem;
}

.intro-quote {
    font-size: 1.25rem;
    color: var(--color-maroon-primary);
    font-weight: 500;
    border-left: 4px solid var(--color-blue-clinical);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid var(--color-border-light);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-blue-clinical);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* --- SECTION HEADERS (Unified Executive Style) --- */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3.5rem auto;
}

.section-badge-tag,
.intro-tag {
    color: #0d9488;
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.section-header h2,
.intro-title {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 0.65rem;
}

.section-header p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    max-width: 38rem;
    margin: 0 auto;
}

.expertise-card {
    background-color: var(--color-bg-pure);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 83, 112, 0.2);
}

.expertise-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: var(--color-maroon-light);
    color: var(--color-maroon-primary);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.expertise-card:hover .expertise-icon-box {
    background-color: var(--color-maroon-primary);
    color: var(--color-text-light);
}

.expertise-card h3 {
    margin-bottom: 1rem;
    color: var(--color-maroon-primary);
}

.expertise-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.expertise-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-blue-clinical);
}

.expertise-link svg {
    transition: transform var(--transition-normal);
}

.expertise-card:hover .expertise-link svg {
    transform: translateX(4px);
}

/* --- LUNG TRANSPLANT COLLABORATION BANNER --- */
.kims-banner-container {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px dashed rgba(6, 83, 112, 0.2);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.kims-banner-container:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 83, 112, 0.4);
}

.kims-banner-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

.kims-banner-content {
    text-align: center;
    padding: 3.5rem 2rem;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kims-logo-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.kims-logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.kims-badge {
    border: 1px solid rgba(6, 83, 112, 0.25);
    background: rgba(6, 83, 112, 0.04);
    color: var(--color-blue-clinical);
    border-radius: 50px;
    padding: 0.35rem 1.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.kims-banner-title {
    font-size: 2rem;
    color: var(--color-maroon-primary);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
    max-width: 850px;
    border: none;
    padding: 0;
}

.kims-banner-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 780px;
    line-height: 1.5;
    font-weight: 400;
}

.kims-banner-desc strong {
    font-weight: 700;
    color: var(--color-text-dark);
}

.kims-banner-btn {
    background: linear-gradient(to right, #0284C7, #14B8A6);
    color: #ffffff;
    border-radius: 12px;
    padding: 0.75rem 2.25rem;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.kims-banner-link-wrapper:hover .kims-banner-btn {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.38);
}

@media (max-width: 768px) {
    .kims-banner-content {
        padding: 2.5rem 1.5rem;
    }
    .kims-banner-title {
        font-size: 1.5rem;
    }
    .kims-banner-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    .kims-banner-btn {
        padding: 0.65rem 1.75rem;
        font-size: 0.85rem;
    }
}

/* --- CAREER TIMELINE / ACHIEVEMENTS --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--color-border-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item-even {
    padding-left: 50%;
}

.timeline-item-odd {
    padding-right: 50%;
    text-align: right;
}

.timeline-badge {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-bg-pure);
    border: 4px solid var(--color-maroon-primary);
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-content {
    position: relative;
    padding: 0 2.5rem;
}

.timeline-item-odd .timeline-content {
    padding-right: 2.5rem;
}

.timeline-item-even .timeline-content {
    padding-left: 2.5rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-maroon-light);
    color: var(--color-maroon-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-subtitle {
    font-size: 0.95rem;
    color: var(--color-blue-clinical);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.9rem;
}

/* --- GALLERY & MASONRY --- */
.gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    background-color: var(--color-bg-pure);
    border: 1px solid var(--color-border-light);
    break-inside: avoid;
}

.gallery-item:nth-child(2) {
    aspect-ratio: 3 / 4;
}

.gallery-item:nth-child(3) {
    aspect-ratio: 1 / 1;
}

.gallery-item:nth-child(4) {
    aspect-ratio: 3 / 2;
}

.gallery-item:nth-child(5) {
    aspect-ratio: 16 / 10;
}

.gallery-item:nth-child(6) {
    aspect-ratio: 3 / 4;
}

.gallery-item-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    color: var(--color-maroon-primary);
    background: linear-gradient(135deg, #ffffff 0%, var(--color-maroon-light) 100%);
    transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-item-placeholder {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--color-maroon-light) 0%, #ffffff 100%);
}

.gallery-item-placeholder svg {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
    stroke: var(--color-blue-clinical);
}

.gallery-item-placeholder h5 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.gallery-item-placeholder p {
    font-size: 0.8rem;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 83, 112, 0.8);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-light);
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-blue-clinical);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-light);
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay-icon {
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-img-placeholder {
    width: 600px;
    max-width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-maroon-primary) 0%, var(--color-blue-clinical) 100%);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-text-light);
    padding: 2rem;
    text-align: center;
}

.lightbox-img-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--color-text-light);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-caption {
    color: var(--color-text-light);
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
}

/* --- VIDEO CARDS & HUB --- */
.video-card {
    background-color: var(--color-bg-pure);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-normal);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: var(--color-maroon-primary);
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-thumbnail-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(6,83,112,0.6) 0%, rgba(6,83,112,0.9) 100%);
    color: var(--color-text-light);
    padding: 1.5rem;
    text-align: center;
}

.video-thumbnail-placeholder svg.video-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
    stroke: var(--color-maroon-light);
}

.video-play-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-blue-clinical);
    color: var(--color-text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: 5;
}

.video-card:hover .video-play-btn {
    transform: scale(1.1);
    background-color: var(--color-blue-clinical-hover);
}

.video-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-info h4 {
    margin-bottom: 0.5rem;
    color: var(--color-maroon-primary);
    line-height: 1.3;
}

.video-info p {
    font-size: 0.85rem;
}

/* --- YOUTUBE SECTION REDESIGN (HOME) --- */
.youtube-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.youtube-section-header .header-left {
    max-width: 700px;
}

.youtube-title {
    font-size: 2.25rem;
    font-weight: 300; /* Thin weight for "From the" */
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.youtube-title span {
    font-weight: 700; /* Bold weight for the highlights */
}

.youtube-title .text-blue {
    color: var(--color-maroon-primary); /* Primary Deep Teal */
}

.youtube-title .text-teal {
    color: var(--color-blue-clinical); /* Secondary Blue */
}

.youtube-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.youtube-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--color-text-dark); /* Dark text to match the mockup */
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    white-space: nowrap;
    padding-bottom: 0.25rem;
}

.youtube-channel-link:hover {
    color: var(--color-blue-clinical);
}

.youtube-grid {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 2.5rem;
}

/* Subscribe card (Left column) */
.youtube-channel-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg-pure);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.youtube-channel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.channel-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center top;
    display: flex;
    justify-content: center;
    align-items: center;
}

.channel-card-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

.badge-youtube {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background-color: #ff0000;
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    letter-spacing: 0.05em;
    z-index: 2;
}

.youtube-icon-red {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 7px;
    border-color: transparent transparent transparent #ffffff;
}

.badge-handle {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.btn-play-red {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #ff0000;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.35);
    transition: transform var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
    z-index: 2;
    text-decoration: none;
}

.btn-play-red:hover {
    transform: scale(1.1);
    background-color: #e60000;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5);
    color: #ffffff;
}

.channel-card-content {
    padding: 1.75rem;
    background-color: #18181b; /* Dark charcoal */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.channel-card-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
}

.channel-card-content p {
    font-size: 0.9rem;
    color: #a1a1aa; /* Light gray */
    line-height: 1.45;
}

.btn-visit-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: #18181b;
    padding: 0.65rem 1.35rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
    border: 1px solid #e4e4e7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-visit-channel:hover {
    background-color: #fafafa;
    border-color: #0284C7;
    color: #0284C7;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
}

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

/* Masonry Staggered Grid (Right column) */
.youtube-videos-masonry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.youtube-masonry-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.youtube-video-item {
    display: flex;
    flex-direction: column;
}

.video-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    background-color: #000;
    margin-bottom: 0.75rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.video-thumbnail-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.youtube-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-thumbnail-wrapper:hover .youtube-thumb {
    transform: scale(1.05);
}

.video-overlay-play {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background var(--transition-normal);
}

.video-thumbnail-wrapper:hover .video-overlay-play {
    background: rgba(0, 0, 0, 0.25);
}

.play-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.video-thumbnail-wrapper:hover .play-circle {
    transform: scale(1.1);
    background-color: #ffffff;
}

.video-meta {
    padding: 0.25rem 0;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.tag-patient-education {
    background-color: rgba(8, 127, 163, 0.08);
    color: #087fa3;
}
.tag-clinical {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
}
.tag-research {
    background-color: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
}
.tag-introduction {
    background-color: rgba(107, 114, 128, 0.08);
    color: #6b7280;
}

.dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.dot-blue { background-color: #087fa3; }
.dot-green { background-color: #10b981; }
.dot-darkblue { background-color: #4f46e5; }
.dot-grey { background-color: #6b7280; }

.video-meta h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.35;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .youtube-channel-card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    .channel-card-media {
        aspect-ratio: 1.2 / 1;
    }
}

@media (max-width: 768px) {
    .youtube-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .youtube-title {
        font-size: 1.85rem;
    }
    .youtube-channel-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .youtube-videos-masonry {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .youtube-masonry-col {
        gap: 2rem;
    }
    .channel-card-media {
        aspect-ratio: 1.1 / 1;
    }
}

/* --- FEATURED VIDEO SHOWCASE GRID (Wireframe 3-Column Layout, Matched Equal Height) --- */
.video-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "v1 featured v2"
        "v3 featured v4";
    gap: 1.75rem 2rem;
    align-items: stretch;
}

.video-grid-v1 { grid-area: v1; display: flex; flex-direction: column; height: 100%; }
.video-grid-v2 { grid-area: v2; display: flex; flex-direction: column; height: 100%; }
.video-grid-v3 { grid-area: v3; display: flex; flex-direction: column; height: 100%; }
.video-grid-v4 { grid-area: v4; display: flex; flex-direction: column; height: 100%; }

.video-showcase-grid .youtube-video-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

.video-grid-featured { 
    grid-area: featured;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Center Featured YouTube Channel Card (Flush Top & Bottom with Side Videos) */
.video-showcase-grid .youtube-channel-card {
    height: 100%;
    width: 100%;
    min-height: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(175deg, #092c3a 0%, #062330 45%, #03141c 100%);
    border: none;
    box-shadow: 0 20px 48px -12px rgba(3, 20, 28, 0.45);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.video-showcase-grid .youtube-channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 60px -12px rgba(6, 83, 112, 0.5);
    border: none;
}

.video-showcase-grid .channel-card-media {
    position: relative;
    aspect-ratio: auto !important; /* Resets base 1/1 aspect ratio */
    flex: 1 1 0; /* Flexibly absorbs all available vertical space */
    min-height: 150px;
    background-size: cover;
    background-position: center 15%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
    overflow: hidden;
}

.video-showcase-grid .channel-card-media::before {
    display: none;
}

.featured-media-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, 
        rgba(5, 28, 38, 0.1) 0%, 
        rgba(5, 28, 38, 0.2) 35%, 
        rgba(6, 35, 48, 0.75) 80%, 
        #062330 100%);
    z-index: 1;
}

.featured-card-glass-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.featured-badge-channel {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.featured-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    background: rgba(6, 83, 112, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    color: #bae6fd;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.btn-play-featured {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-decoration: none;
    transition: transform var(--transition-normal);
}

.btn-play-featured:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.play-icon-glow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff1a1a 0%, #cc0000 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.45), 0 0 0 5px rgba(255, 255, 255, 0.22);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.btn-play-featured:hover .play-icon-glow {
    background: #ff0000;
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.65), 0 0 0 8px rgba(255, 255, 255, 0.3);
}

.play-icon-glow svg {
    transform: translateX(1.5px);
}

.video-showcase-grid .channel-card-content {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    min-height: 0;
    padding: 1.15rem 1.35rem 1.25rem;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.65rem;
}

.featured-content-top {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.featured-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 0.1rem;
}

.featured-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    animation: featuredPulse 2s infinite;
}

@keyframes featuredPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.featured-doctor-title {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.featured-doctor-role {
    font-size: 0.76rem;
    font-weight: 600;
    color: #2dd4bf;
    letter-spacing: 0.02em;
    margin: 0 0 0.2rem 0;
}

.featured-doctor-desc {
    font-size: 0.82rem;
    line-height: 1.38;
    color: #94a3b8;
    margin: 0;
}

.featured-content-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 0.5rem;
    border-top: none;
}

.featured-tags-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.featured-mini-pill {
    font-size: 0.65rem;
    font-weight: 600;
    color: #bae6fd;
    background: rgba(56, 189, 248, 0.12);
    border: none;
    padding: 0.12rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.btn-subscribe-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
}

.btn-subscribe-luxury .yt-brand-svg {
    color: #ff0000;
    transition: transform var(--transition-fast);
}

.btn-subscribe-luxury:hover {
    background: #ff0000;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.4);
    transform: translateY(-2px);
}

.btn-subscribe-luxury:hover .yt-brand-svg {
    color: #ffffff;
    transform: scale(1.1);
}

.btn-subscribe-luxury .arrow-svg {
    transition: transform var(--transition-fast);
}

.btn-subscribe-luxury:hover .arrow-svg {
    transform: translateX(3px);
}

/* Responsive Breakpoints for Video Showcase Grid */
@media (max-width: 1024px) {
    .video-showcase-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "featured featured"
            "v1 v2"
            "v3 v4";
        gap: 1.75rem;
    }
    .video-grid-featured {
        height: auto;
    }
    .video-showcase-grid .youtube-channel-card {
        height: auto;
        max-width: 580px;
        margin: 0 auto;
    }
    .video-showcase-grid .channel-card-media {
        aspect-ratio: 16 / 9;
        min-height: 240px;
        flex: none;
    }
}

@media (max-width: 680px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "featured"
            "v1"
            "v2"
            "v3"
            "v4";
        gap: 1.5rem;
    }
    .video-showcase-grid .youtube-channel-card {
        max-width: 100%;
    }
    .video-showcase-grid .channel-card-media {
        aspect-ratio: 4 / 3;
    }
}

/* --- BLOG CARD & GRID --- */
.blog-card {
    background-color: var(--color-bg-pure);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 83, 112, 0.15);
}

.blog-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-maroon-light);
}

.blog-image-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--color-maroon-primary) 0%, var(--color-maroon-light) 100%);
    color: var(--color-text-light);
    padding: 1.5rem;
    text-align: center;
}

.blog-image-placeholder svg {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
    stroke: var(--color-blue-light);
}

.blog-image-placeholder h5 {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-blue-clinical);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.blog-date {
    display: none !important;
}

.blog-title {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border-light);
    padding-top: 1.25rem;
    font-size: 0.85rem;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.blog-author-img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--color-maroon-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.65rem;
}

/* --- CONTACT & APPOINTMENT FORM --- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-card {
    background-color: var(--color-bg-pure);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-maroon-light);
    color: var(--color-maroon-primary);
    flex-shrink: 0;
}

.contact-detail-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-detail-text p, .contact-detail-text a {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.contact-detail-text a:hover {
    color: var(--color-blue-clinical);
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 300px;
    background-color: var(--color-border-light);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    color: var(--color-maroon-primary);
    background: linear-gradient(135deg, #f8f3f0 0%, #ebf5f8 100%);
}

.map-placeholder svg {
    width: 45px;
    height: 45px;
    margin-bottom: 1rem;
    stroke: var(--color-blue-clinical);
}

/* Appointment Form */
.form-card {
    background-color: var(--color-bg-pure);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-premium);
}

.form-card h3 {
    margin-bottom: 0.5rem;
}

.form-card p {
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-maroon-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    font-family: var(--font-primary);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-fast);
    color: var(--color-text-dark);
    background-color: var(--color-bg-subtle);
}

.form-control:focus {
    border-color: var(--color-border-focus);
    background-color: var(--color-bg-pure);
    box-shadow: 0 0 0 3px rgba(6, 83, 112, 0.1);
}

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

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

/* Form success message */
.form-feedback {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-feedback.success {
    display: block;
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.form-feedback.error {
    display: block;
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-maroon-hover);
    color: var(--color-text-light);
    padding: 5rem 0 2rem 0;
    border-top: 5px solid var(--color-blue-clinical);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0;
}

.footer-column h4::after {
    display: none;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--color-blue-clinical);
    transform: translateY(-2px);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--color-text-light);
    padding-left: 5px;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-contact-item svg {
    color: var(--color-blue-light);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--color-text-light);
}

/* --- PREMIUM SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active,
.reveal.reveal-active,
.reveal-scale.active,
.reveal-scale.reveal-active,
.reveal-left.active,
.reveal-left.reveal-active,
.reveal-right.active,
.reveal-right.reveal-active {
    opacity: 1 !important;
    transform: translateY(0) scale(1) translateX(0) !important;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.42s; }
.delay-5 { transition-delay: 0.52s; }

/* Subtle Hero Image Float Animation */
@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.15);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 28px 55px -12px rgba(20, 184, 166, 0.22);
    }
}

.hero-image-animate {
    animation: subtleFloat 6s ease-in-out infinite;
}

/* Text shimmer gradient */
.text-shimmer {
    background: linear-gradient(110deg, #0284C7 20%, #14B8A6 45%, #0284C7 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 5s ease-in-out infinite;
}

@keyframes textShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Metric Counter typography styling */
.counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* Pulse Animation Keyframes */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(6, 83, 112, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(6, 83, 112, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(6, 83, 112, 0);
    }
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Laptops & Desktops (Under 1200px) */
@media (max-width: 1200px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 3rem; }
    .grid-4 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

/* Tablets & Small Laptops (Under 992px) */
@media (max-width: 992px) {
    .section { padding: 4.5rem 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero { min-height: auto; padding-top: 140px; }
    .hero-badge { justify-content: center; }
    .hero-lead { margin: 0 auto 2.5rem auto; }
    .hero-btns { justify-content: center; }
    .hero-meta { justify-content: center; }
    .hero-image-wrapper { max-width: 450px; margin: 0 auto; }
    
    .intro-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .intro-image-container { max-width: 400px; margin: 0 auto; }
    .intro-quote { border-left: none; border-top: 2px solid var(--color-blue-clinical); border-bottom: 2px solid var(--color-blue-clinical); padding: 1rem 0; text-align: center; }
    
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { column-count: 2; }
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    .highlight-grid { grid-template-columns: 1fr; gap: 3rem; }
    
    .timeline::before { left: 40px; }
    .timeline-item-even { padding-left: 80px; }
    .timeline-item-odd { padding-right: 0; padding-left: 80px; text-align: left; }
    .timeline-badge { left: 40px; }
    .timeline-item-odd .timeline-content { padding-right: 0; padding-left: 0; }
    .timeline-item-even .timeline-content { padding-left: 0; }
}

/* Mobile Devices (Under 768px) */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .hero-title { font-size: 2.5rem; }
    
    .mobile-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-bg-pure);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 1.5rem 3rem;
        gap: 0.75rem;
        overflow-y: auto;
        transition: left var(--transition-normal);
        border-top: 1px solid var(--color-border-light);
        box-shadow: var(--shadow-lg);
    }
    
    .header-scrolled .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        max-width: 320px;
        display: flex;
        justify-content: center;
    }

    .nav-menu .nav-link {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1.25rem;
        font-size: 1rem;
    }
    
    .nav-cta {
        margin-left: 0;
        width: 100%;
        max-width: 320px;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    /* Toggle animations */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .gallery-grid { column-count: 1; }
    .form-group-grid { grid-template-columns: 1fr; gap: 0; }
    .form-card { padding: 2rem 1.5rem; }
    
    .highlight-features { grid-template-columns: 1fr; }
    .highlight-stats { grid-template-columns: 1fr; gap: 1.5rem; }
    .lung-transplant-highlight { padding: 2.5rem 1.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* --- GOOGLE REVIEWS WIDGET --- */
.reviews-section {
    padding: 6rem 0;
}
.reviews-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}
.reviews-summary-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.reviews-summary-card h3 {
    font-size: 1.4rem;
    color: var(--color-maroon-primary);
}
.reviews-rating-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-maroon-primary);
    line-height: 1;
}
.reviews-stars {
    display: flex;
    gap: 0.25rem;
    color: #f59e0b; /* Amber */
}
.reviews-stars svg {
    fill: currentColor;
    width: 20px;
    height: 20px;
}
.reviews-count-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}
.reviews-list-wrapper {
    position: relative;
    height: 480px; /* Constrain display height */
    overflow: hidden;
    /* Faded top and bottom vertically using CSS mask-image */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    padding: 1rem 0; /* Give some breathing room for cards */
}

.reviews-marquee-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: marqueeScrollVertical 24s linear infinite;
}

/* Pause marquee when mouse pointer is focused/hovered over it */
.reviews-list-wrapper:hover .reviews-marquee-track,
.reviews-list-wrapper:focus-within .reviews-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScrollVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
.review-item-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
    position: relative;
}
.review-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(6, 83, 112, 0.15);
}
.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.review-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.review-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-maroon-light);
    color: var(--color-maroon-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}
.review-author-name {
    font-weight: 600;
    color: var(--color-text-dark);
}
.review-card-rating {
    display: flex;
    gap: 0.15rem;
    color: #f59e0b;
}
.review-card-rating svg {
    fill: currentColor;
    width: 14px;
    height: 14px;
}
.review-card-title {
    font-weight: 700;
    color: var(--color-maroon-primary);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}
.review-card-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .reviews-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .reviews-summary-card {
        padding: 2.5rem 2rem;
    }
}

/* --- NEWS & PRESS HORIZONTAL MARQUEE --- */
.press-list-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    padding: 1.5rem 0;
}

.press-marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marqueeScrollHorizontal 30s linear infinite;
}

.press-list-wrapper:hover .press-marquee-track,
.press-list-wrapper:focus-within .press-marquee-track {
    animation-play-state: paused;
}

.press-marquee-track .press-card-wrapper {
    width: 340px;
    flex-shrink: 0;
}

.press-marquee-track .blog-card {
    height: 100%;
    margin-bottom: 0;
    background-color: var(--color-bg-pure);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.press-marquee-track .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

@keyframes marqueeScrollHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Ensure blog cards inside links have the same height */
.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card-link .blog-card {
    flex-grow: 1;
    height: 100%;
}

/* Proper blog thumbnail images style */
.blog-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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

/* --- MEDIA PAGE: NEWS & PRESS COVERAGE CARDS --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -8px rgba(6, 83, 112, 0.16);
    border-color: rgba(2, 132, 199, 0.3);
}

.news-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

.news-source-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.32rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.news-card-body {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.news-card-tag {
    color: var(--color-blue-clinical);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.news-card-date {
    font-size: 0.8rem;
    color: #94a3b8;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-maroon-primary);
    line-height: 1.35;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.news-card:hover .news-card-title {
    color: var(--color-blue-clinical);
}

.news-card-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border-light);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-blue-clinical);
}

.news-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.25s ease;
}

.news-card:hover .news-card-readmore {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .news-card-img-wrapper {
        height: 200px;
    }
    .news-card-body {
        padding: 1.5rem;
    }
}

/* Floating Action Tab (WhatsApp & Mobile Call) */
.floating-contact-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: #ffffff;
    border-radius: 35px 0 0 35px;
    padding: 12px 8px 12px 14px;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.floating-contact-tab:hover {
    box-shadow: -6px 6px 25px rgba(0, 0, 0, 0.22);
    transform: translateY(-50%) translateX(-3px);
}

.contact-tab-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.contact-tab-btn:hover {
    transform: scale(1.08);
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #22c05b;
}

.call-btn {
    background-color: var(--color-blue-clinical);
    display: none; /* Hide call on desktop */
}

.call-btn:hover {
    background-color: var(--color-blue-clinical-hover);
}

.floating-contact-tab svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.floating-contact-tab .call-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
}

/* Mobile responsive contact tab */
@media (max-width: 768px) {
    .floating-contact-tab {
        padding: 10px 6px 10px 10px;
        gap: 10px;
    }
    .contact-tab-btn {
        width: 42px;
        height: 42px;
    }
    .floating-contact-tab svg {
        width: 22px;
        height: 22px;
    }
    .floating-contact-tab .call-icon {
        width: 18px;
        height: 18px;
    }
    .call-btn {
        display: flex; /* Show call icon on mobile */
    }
}

/* --- KEYNOTE LECTURES & FACULTY MASTERCLASSES SECTION --- */
.lectures-section {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(235, 245, 248, 0.45) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(6, 83, 112, 0.06);
    border-bottom: 1px solid rgba(6, 83, 112, 0.06);
}

.lecture-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    background: rgba(6, 83, 112, 0.08);
    color: var(--color-maroon-primary);
    border: 1px solid rgba(6, 83, 112, 0.15);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.lecture-badge-pill svg {
    color: var(--color-blue-clinical);
    flex-shrink: 0;
}

/* Horizontal Milestones Stepper (Top Track) */
.academic-timeline-milestones {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 860px;
    margin: 2.75rem auto 3.75rem;
    padding: 0 1.5rem;
}

.milestone-track-line {
    position: absolute;
    top: 16px;
    left: 2.5rem;
    right: 2.5rem;
    height: 2px;
    background: linear-gradient(90deg, #0d9488 0%, #0284c7 50%, #cbd5e1 100%);
    z-index: 1;
}

.milestone-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    background: transparent;
    cursor: default;
}

.milestone-node {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.milestone-step:hover .milestone-node,
.milestone-step.active .milestone-node {
    border-color: #0284c7;
    box-shadow: 0 0 0 6px rgba(2, 132, 199, 0.2), 0 0 16px rgba(13, 148, 136, 0.35);
    transform: scale(1.1);
}

.node-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0d9488;
    transition: background 0.3s ease;
}

.milestone-step:hover .node-inner,
.milestone-step.active .node-inner {
    background: #0284c7;
}

.milestone-year {
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0.65rem;
    letter-spacing: -0.01em;
}

.milestone-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

/* Points Timeline with Horizontal Lines */
.academic-horizontal-timeline {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.timeline-h-item {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.25rem;
    padding: 1.6rem 2rem 1.85rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-h-item:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: 0 20px 35px -10px rgba(13, 148, 136, 0.12), 0 0 1px rgba(13, 148, 136, 0.2);
}

/* Horizontal Line & Point Track */
.timeline-h-line-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.timeline-h-point {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0d9488;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    transition: all 0.3s ease;
}

.timeline-h-item:hover .timeline-h-point {
    border-color: #0284c7;
    box-shadow: 0 0 0 5px rgba(2, 132, 199, 0.2), 0 0 14px rgba(13, 148, 136, 0.45);
    transform: scale(1.15);
}

.point-core {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0d9488;
    transition: background 0.3s ease;
}

.timeline-h-item:hover .point-core {
    background: #0284c7;
}

/* Horizontal Line */
.timeline-h-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.45) 0%, rgba(203, 213, 225, 0.7) 45%, rgba(226, 232, 240, 0.25) 100%);
    transition: background 0.35s ease;
}

.timeline-h-item:hover .timeline-h-line {
    background: linear-gradient(90deg, #0d9488 0%, #38bdf8 60%, rgba(56, 189, 248, 0.15) 100%);
}

.timeline-h-date-stamp {
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    padding: 0.28rem 0.8rem;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Item Body Layout */
.timeline-h-body {
    display: grid;
    grid-template-columns: 230px 1fr auto;
    gap: 2rem;
    align-items: start;
}

.timeline-h-meta {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.timeline-h-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.timeline-h-badge.role-speaker {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    border: 1px solid rgba(13, 148, 136, 0.25);
}

.timeline-h-badge.role-faculty {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.timeline-h-badge.role-workshop {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.timeline-h-badge.role-oration {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.25);
}

.timeline-h-venue {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.4;
}

.timeline-h-venue svg {
    color: #0d9488;
    flex-shrink: 0;
}

.timeline-h-content {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.timeline-h-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.015em;
    transition: color 0.2s ease;
}

.timeline-h-item:hover .timeline-h-title {
    color: #0284c7;
}

.timeline-h-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.timeline-h-tag-wrapper {
    display: flex;
    align-items: flex-start;
}

.timeline-h-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.timeline-h-item:hover .timeline-h-tag {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

/* Item 8: Executive Speaking Inquiries Banner */
.timeline-h-invite {
    position: relative;
    background: linear-gradient(135deg, #07131d 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    padding: 1.75rem 2rem 2rem;
    color: #ffffff;
    box-shadow: 0 20px 40px -10px rgba(7, 19, 29, 0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-h-invite:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 25px 45px -8px rgba(7, 19, 29, 0.6), 0 0 25px rgba(13, 148, 136, 0.2);
}

.timeline-h-point.invite-point {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.timeline-h-point.invite-point .point-core {
    background: #38bdf8;
}

.timeline-h-line.invite-line {
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.6) 0%, rgba(255, 255, 255, 0.15) 60%, transparent 100%);
}

.timeline-h-date-stamp.invite-stamp {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}

.timeline-h-invite-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.invite-header-badge {
    display: inline-block;
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2dd4bf;
    margin-bottom: 0.5rem;
}

.invite-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.4rem 0;
    letter-spacing: -0.015em;
}

.invite-desc {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    max-width: 650px;
}

.invite-action-right {
    flex-shrink: 0;
}

.invite-btn {
    white-space: nowrap;
    padding: 0.85rem 1.65rem;
    font-size: 0.88rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .timeline-h-body {
        grid-template-columns: 200px 1fr;
        gap: 1.5rem;
    }
    .timeline-h-tag-wrapper {
        grid-column: 2 / -1;
    }
    .timeline-h-invite-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .academic-timeline-milestones {
        padding: 0 0.5rem;
        margin: 2rem auto 2.5rem;
    }
    .milestone-year {
        font-size: 0.85rem;
    }
    .milestone-sub {
        display: none;
    }
    .timeline-h-item,
    .timeline-h-invite {
        padding: 1.25rem 1.25rem 1.4rem;
        border-radius: 1rem;
    }
    .timeline-h-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .timeline-h-tag-wrapper {
        grid-column: 1 / -1;
    }
    .timeline-h-title {
        font-size: 1.12rem;
    }
    .invite-title {
        font-size: 1.15rem;
    }
}

/* --- PROCEDURAL EXCELLENCE / SPECIALTIES SECTION (from test.html) --- */
.procedural-excellence-section {
    padding: 6rem 0;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
}

.procedural-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.procedural-header-wrap {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem auto;
}

.procedural-badge-tag {
    color: #0d9488;
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}

.procedural-main-heading {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
    line-height: 1.25;
}

.procedural-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.procedural-item-card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.procedural-item-card:hover {
    box-shadow: 0 14px 28px -5px rgba(2, 132, 199, 0.12), 0 0 1px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.5);
}

.procedural-item-card.hover-teal:hover {
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 14px 28px -5px rgba(20, 184, 166, 0.15), 0 0 1px rgba(0, 0, 0, 0.05);
}

.procedural-icon-container {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.procedural-icon-container.icon-clinical {
    background-color: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

.procedural-icon-container.icon-teal {
    background-color: rgba(20, 184, 166, 0.1);
    color: #0d9488;
}

.procedural-icon-container svg,
.procedural-icon-container i {
    width: 24px;
    height: 24px;
}

.procedural-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.procedural-item-desc {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.625;
    font-weight: 400;
}

.procedural-item-footer {
    padding-top: 1.5rem;
    margin-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.75rem;
    font-family: 'Space Grotesk', monospace, sans-serif;
    color: #0d9488;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.procedural-item-footer svg,
.procedural-item-footer i {
    width: 14px;
    height: 14px;
}

/* --- LOCATION & APPOINTMENT BOOKING SECTION (from test.html) --- */
.location-booking-section {
    padding: 6rem 0;
    background-color: rgba(241, 245, 249, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
    border-top: 1px solid #e2e8f0;
}

.location-booking-grid {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hospital-center-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hospital-center-badge {
    color: #0d9488;
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.hospital-center-heading {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
    line-height: 1.25;
}

.hospital-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    font-size: 0.875rem;
    color: #475569;
}

.hospital-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.55;
}

.hospital-detail-icon {
    color: #0d9488;
    flex-shrink: 0;
    margin-top: 2px;
    width: 20px;
    height: 20px;
}

.hospital-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background-color: #14b8a6;
    color: #07131d !important;
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    align-self: flex-start;
}

.hospital-directions-btn:hover {
    background-color: #2dd4bf;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.hospital-directions-btn svg,
.hospital-directions-btn i {
    width: 16px;
    height: 16px;
}

.appointment-booking-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2.25rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.appointment-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.appointment-card-desc {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.appointment-form-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appointment-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.appointment-input-field,
.appointment-select-field,
.appointment-textarea-field {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-family: inherit;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.appointment-input-field::placeholder,
.appointment-textarea-field::placeholder {
    color: #94a3b8;
}

.appointment-input-field:focus,
.appointment-select-field:focus,
.appointment-textarea-field:focus {
    border-color: #0284c7;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.appointment-submit-action {
    width: 100%;
    padding: 0.95rem 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(to right, #0284c7, #14b8a6);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appointment-submit-action:hover {
    opacity: 0.94;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

/* Responsive overrides for test.html sections */
@media (max-width: 1024px) {
    .procedural-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .location-booking-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }
}

@media (max-width: 640px) {
    .procedural-cards-grid {
        grid-template-columns: 1fr;
    }
    .procedural-item-card {
        padding: 1.5rem;
    }
    .appointment-form-row {
        grid-template-columns: 1fr;
    }
    .appointment-booking-card {
        padding: 1.5rem 1.25rem;
    }
}

/* --- 11. CLINIC INTERACTIVE MAP SECTION --- */
.clinic-map-section {
    padding: 5rem 0 3.5rem 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid #e2e8f0;
}

.clinic-map-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.clinic-map-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2.75rem auto;
}

.clinic-map-badge {
    color: #0d9488;
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.clinic-map-title {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 0.65rem;
}

.clinic-map-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    max-width: 38rem;
    margin: 0 auto;
}

.clinic-map-card {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.clinic-map-card:hover {
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.18), 0 6px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(14, 165, 233, 0.45);
}

.clinic-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .clinic-map-section {
        padding: 3.5rem 0 2.5rem 0;
    }
    .clinic-map-card {
        height: 380px;
        border-radius: 1rem;
    }
}

@media (max-width: 480px) {
    .clinic-map-card {
        height: 340px;
    }
}

/* ==========================================================================
   OUTPATIENT CLINIC & OPD BOOKING MODAL (INDEX2 SPEC)
   ========================================================================== */
.clinic-section {
    background: #ffffff;
    border-top: 1px solid var(--color-border-light);
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.section-header-center {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 3.75rem;
}

.section-pill-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #087fa3;
    background: #ebf5f8;
    padding: 0.35rem 0.95rem;
    border-radius: 99px;
    margin-bottom: 0.9rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.35rem);
    font-weight: 800;
    color: #065370;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-title .serif-accent {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: #087fa3;
}

.section-desc {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.65;
}

.clinic-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.location-info-card {
    background: #f8f3f0;
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.75rem;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 10px 30px -5px rgba(6, 83, 112, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hospital-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    padding: 0.6rem 1.25rem;
    border-radius: 14px;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 4px 12px rgba(6, 83, 112, 0.04);
    margin-bottom: 1.5rem;
    width: fit-content;
}

.hospital-brand-badge img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.hospital-name {
    font-size: 1.85rem;
    font-weight: 800;
    color: #065370;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.address-box {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 2rem;
    font-size: 1.02rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.address-box svg {
    color: #065370;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Schedule Timetable */
.schedule-timings-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid var(--color-border-light);
    margin-bottom: 2rem;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.95rem;
}

.schedule-row:not(:last-child) {
    border-bottom: 1px dashed var(--color-border-light);
}

.schedule-day {
    font-weight: 700;
    color: #065370;
}

.schedule-hours {
    font-weight: 600;
    color: var(--color-text-muted);
}

.schedule-emergency-tag {
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.clinic-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    color: #1f2937;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-google:hover {
    border-color: #4285f4;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.15);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    background: #25d366;
    color: #ffffff;
    border: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Interactive Map Frame */
.map-interactive-container {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 20px 40px -10px rgba(6, 83, 112, 0.12);
    height: 100%;
    min-height: 520px;
    background: #e2e8f0;
    position: relative;
}

.map-interactive-container iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    display: block;
}

/* --- QUICK OPD CONSULTATION SCHEDULER MODAL --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 580px;
    padding: 2.75rem;
    box-shadow: 0 20px 40px -10px rgba(6, 83, 112, 0.2);
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-backdrop.is-active .modal-window {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.modal-header h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #065370;
    margin-bottom: 0.4rem;
}

.modal-header p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

.form-group-block {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.45rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    font-family: inherit;
    font-size: 0.96rem;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #087fa3;
    box-shadow: 0 0 0 4px rgba(8, 127, 163, 0.12);
}

.form-disclaimer-note {
    font-size: 0.78rem;
    color: #64748b;
    margin: 1.25rem 0;
    line-height: 1.5;
}

.form-alert-feedback {
    display: none;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-alert-feedback.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

@media (max-width: 992px) {
    .clinic-layout-grid {
        grid-template-columns: 1fr;
    }
    .location-info-card,
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    .map-interactive-container {
        min-height: 400px;
    }
    .modal-window {
        padding: 2rem 1.5rem;
    }
}


