/* ==========================================================================
   A1 HOSPITAL - DESIGN SYSTEM & STYLESHEET
   Inspired by Boutique Healthcare Aesthetics (Smera Dental Care Reference)
   - Warm Luxury Healthcare Palette (Alabaster / Cream, Rich Burgundy & Gold)
   - Refined Typography: Playfair Display (Serif with Italic Accents) + Plus Jakarta Sans / Outfit
   - Smera Signature Frames: 22px Rounded Cards, Arched Doctor Portrait Frame
   - Floating Trust Badges, Sticky Glassmorphism, Micro-Animations & Pulsing WhatsApp FAB
   - Flawless Mobile Responsiveness & Fluid Font Alignment
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-red: #800000;
    --primary-accent: #99131a;
    --dark-red: #4a0000;
    --light-red: #fbf1f1;
    --red-glow: rgba(128, 0, 0, 0.12);
    
    --gold-accent: #c59b27;
    --gold-light: #fef9ee;
    --gold-glow: rgba(197, 155, 39, 0.2);

    --bg-cream: #fbf8f5;
    --bg-surface: #ffffff;
    --bg-warm-tint: #f8f4ee;

    --border-warm: #ece6df;
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-red-tint: rgba(128, 0, 0, 0.14);

    --text-dark: #191616;
    --text-charcoal: #2a2525;
    --text-muted: #615656;
    --text-light: #807373;
    --white: #ffffff;

    /* Sizing & Borders */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 50px;

    /* Box Shadows */
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 18px 42px rgba(128, 0, 0, 0.07);
    --shadow-hover: 0 22px 50px rgba(128, 0, 0, 0.15);
    
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: clip;
}

body {
    background-color: var(--bg-cream);
    overflow-x: clip;
    position: relative;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ==========================================================================
   TYPOGRAPHY & BRAND ACCENTS (SMERA INSPIRED)
   ========================================================================== */
h1, h2, h3, .serif-font {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.3rem, 4.5vw + 0.8rem, 4.1rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.85rem, 3.2vw + 0.5rem, 2.75rem);
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.3;
}

p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Elegant Italic Accent Word - Smera's signature touch */
.serif-italic {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    color: var(--primary-accent);
    position: relative;
    display: inline;
}

.highlight {
    color: var(--primary-accent);
    font-weight: 700;
}

/* Category Eyebrow Badge */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--primary-accent);
    background: rgba(128, 0, 0, 0.05);
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.85rem;
    border: 1px solid rgba(128, 0, 0, 0.12);
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.2);
    animation: livePulse 2s infinite;
}

.section-title {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}

.section-title p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR (SMERA SIGNATURE)
   ========================================================================== */
.top-announcement-bar {
    background: #141313;
    color: #e5e2e0;
    font-size: 0.82rem;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1002;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.topbar-item i, .topbar-item svg {
    width: 14px;
    height: 14px;
    color: var(--gold-accent);
}

.topbar-item strong {
    color: #ffffff;
    font-weight: 700;
}

.topbar-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.topbar-link:hover {
    color: var(--gold-accent);
}

/* ==========================================================================
   STICKY GLASSMORPHIC NAVBAR
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 5%;
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9990;
    border-bottom: 1.5px solid var(--border-warm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    padding: 0.45rem 5%;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1.5px solid rgba(128, 0, 0, 0.15);
    box-shadow: 0 10px 30px rgba(20, 19, 19, 0.08), 0 2px 6px rgba(128, 0, 0, 0.04);
}

.logo img {
    height: 72px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.02);
}

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

/* Smera-Style Pill Nav Links */
.nav-links > li > a:not(.btn-primary) {
    color: var(--text-charcoal);
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-links > li > a:not(.btn-primary):hover {
    color: var(--primary-red);
    background: rgba(128, 0, 0, 0.05);
    border-color: rgba(128, 0, 0, 0.12);
    transform: translateY(-2px);
}

.nav-links > li > a.active-link {
    background: var(--light-red);
    color: var(--primary-red);
    border-color: rgba(128, 0, 0, 0.18);
    font-weight: 700;
}

/* Mega Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background-color: var(--white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    gap: 3.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    min-width: 720px;
    z-index: 1001;
    border-top: 4px solid var(--primary-red);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-column h4 {
    color: var(--primary-red);
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    border-bottom: 1px solid var(--border-warm);
    padding-bottom: 0.45rem;
}

.dropdown-column ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.75rem;
}

.dropdown-column ul li a {
    color: var(--text-charcoal);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    padding: 0.2rem 0;
}

.dropdown-column ul li a:hover {
    color: var(--primary-red);
    transform: translateX(4px);
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-red) 50%, var(--dark-red) 100%);
    color: var(--white);
    padding: 0.75rem 1.65rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    transition: var(--transition-bounce);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.24);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 30%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    transition: none;
}

.btn-primary:hover::after {
    left: 150%;
    transition: left 0.75s ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(128, 0, 0, 0.35);
    color: var(--white);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 0.75rem 1.65rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1.5px solid var(--border-warm);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--light-red);
    color: var(--primary-red);
    border-color: rgba(128, 0, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary.small {
    padding: 0.5rem 1.25rem;
    font-size: 0.88rem;
}

.btn-whatsapp-pill {
    background-color: #ffffff;
    border-color: #25d366;
    color: #1a7f37;
}

.btn-whatsapp-pill i, .btn-whatsapp-pill svg {
    color: #25d366;
}

.btn-whatsapp-pill:hover {
    background-color: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

.btn-whatsapp-pill:hover i, .btn-whatsapp-pill:hover svg {
    color: #ffffff;
}

/* ==========================================================================
   FLOWING MARQUEE TICKER (LUXURY HEALTHCARE RIBBON)
   ========================================================================== */
.flowing-text-container {
    width: 100%;
    background: linear-gradient(90deg, #f7ece8 0%, #ffffff 50%, #f7ece8 100%);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--border-warm);
    border-bottom: 1px solid var(--border-warm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.flowing-text {
    display: inline-flex;
    white-space: nowrap;
    animation: flowText 28s linear infinite;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-charcoal);
    letter-spacing: 0.5px;
}

.flowing-text span {
    margin: 0 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

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

/* ==========================================================================
   FRAMED SECTIONS (SMERA ARCHITECTURAL FRAMES)
   ========================================================================== */
.framed-section {
    position: relative;
    margin: 2.5rem 4%;
    padding: 5.5rem 4%;
    border: 1.5px solid var(--border-warm);
    border-radius: var(--radius-xl);
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 1;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.framed-section:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(128, 0, 0, 0.15);
}

/* Subtle architectural watermark backdrop */
.framed-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.025;
    z-index: -1;
    pointer-events: none;
}

#home.framed-section::before {
    background-image: url('https://images.unsplash.com/photo-1516549655169-df83a0774514?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
#services.framed-section::before {
    background-image: url('https://images.unsplash.com/photo-1581594693702-fbdc51b2763b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
#departments.framed-section::before {
    background-image: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
#lab.framed-section::before {
    background-image: url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
#doctors.framed-section::before {
    background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
#insurance-schemes.framed-section::before {
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

/* ==========================================================================
   HERO SECTION (SMERA ARCH & FLOATING BADGES)
   ========================================================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4.5rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 248, 245, 0.95) 100%);
}

.hero-content {
    flex: 1.1;
    max-width: 620px;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

/* Smera Trust Strip */
.hero-trust-strip {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-warm);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-stars {
    color: #eab308;
    font-size: 1.1rem;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 4px;
}

.trust-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-accent);
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
}

.trust-label {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 38px;
    background-color: var(--border-warm);
}

/* Smera Hero Right Column - Founders & Managing Partners Frame */
.hero-image {
    flex: 1.05;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-founders-frame {
    width: 100%;
    max-width: 580px;
    background: linear-gradient(145deg, #ffffff 0%, #fdf8f5 100%);
    border: 2px solid rgba(128, 0, 0, 0.16);
    border-radius: 26px;
    padding: 1.5rem 1.4rem 1.4rem 1.4rem;
    box-shadow: 0 20px 48px rgba(128, 0, 0, 0.08), 0 0 0 6px rgba(255, 255, 255, 0.7);
}

.smera-hero-arch-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

/* Arched Doctor Portrait Frame */
.smera-hero-arch-frame {
    position: relative;
    width: 100%;
    border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
    border: 3px solid var(--border-warm);
    background: linear-gradient(180deg, #fbf2ee 0%, #ffffff 100%);
    box-shadow: 0 25px 60px rgba(128, 0, 0, 0.12), 0 0 0 8px rgba(255, 255, 255, 0.8);
    overflow: hidden;
    padding: 10px 10px 0 10px;
}

.smera-hero-arch-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top center;
    border-radius: 190px 190px 16px 16px;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.smera-hero-arch-wrapper:hover .smera-hero-arch-frame img {
    transform: scale(1.03);
}

/* Floating Glassmorphic Badges on Hero Frame */
.floating-hero-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.15rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-warm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    animation: floatAnim 4.5s ease-in-out infinite;
}

.badge-top-right {
    top: 35px;
    right: -25px;
    animation-delay: 0.5s;
}

.badge-bottom-left {
    bottom: 25px;
    left: -25px;
    animation-delay: 1.2s;
}

.badge-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--light-red);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon-box.green-box {
    background: #ecfdf5;
    color: #059669;
}

.badge-text-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.badge-text-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.2;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ==========================================================================
   SERVICES & TREATMENT CARDS (SMERA FORMAT)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-warm);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(128, 0, 0, 0.22);
    box-shadow: var(--shadow-hover);
}

.service-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1.4rem;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.03);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.card-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--light-red);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.service-card:hover .card-icon-badge {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
}

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

/* Smera Treatment Bottom Link: LEARN MORE → */
.card-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: gap 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

.card-action-link i, .card-action-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.service-card:hover .card-action-link {
    color: var(--dark-red);
}

.service-card:hover .card-action-link i, 
.service-card:hover .card-action-link svg {
    transform: translateX(6px);
}

/* ==========================================================================
   DEPARTMENTS SECTION
   ========================================================================== */
.dept-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.dept-card-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border-warm);
    transition: var(--transition-bounce);
    cursor: pointer;
    min-width: 275px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    position: relative;
}

.dept-card-photo:hover {
    transform: translateY(-8px);
    border-color: rgba(128, 0, 0, 0.25);
    box-shadow: var(--shadow-hover);
}

.dept-card-photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dept-card-photo:hover img {
    transform: scale(1.08);
}

.dept-info {
    padding: 1.35rem 1.25rem;
    text-align: center;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-warm);
}

.dept-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* ==========================================================================
   LAB & DIAGNOSTICS SECTION
   ========================================================================== */
.lab-container {
    display: flex;
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border-warm);
}

.lab-content {
    padding: 4rem 3.5rem;
    flex: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lab-services {
    list-style: none;
    margin: 2rem 0;
}

.lab-services li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-charcoal);
}

.lab-services li i {
    color: var(--primary-red);
    width: 22px;
    height: 22px;
}

.lab-image {
    flex: 0.9;
}

.lab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   DOCTORS SECTION (SMERA SPECIALIST CARD FORMAT)
   ========================================================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.25rem;
}

.doctor-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-warm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-8px);
    border-color: rgba(128, 0, 0, 0.22);
    box-shadow: var(--shadow-hover);
}

.doctor-card img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
    background-color: #f5f1ed;
}

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

.doctor-info {
    padding: 1.6rem 1.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.doctor-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    font-weight: 700;
}

.doctor-tag {
    display: inline-block;
    background: var(--light-red);
    color: var(--primary-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.65rem;
    border: 1px solid rgba(128, 0, 0, 0.1);
}

.doctor-spec-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Doctor Carousel Cards (All Doctors View) */
.doctor-carousel-card {
    min-width: 290px;
    max-width: 310px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border-warm);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.doctor-carousel-card:hover {
    transform: translateY(-8px);
    border-color: rgba(128, 0, 0, 0.22);
    box-shadow: var(--shadow-hover);
}

.doctor-carousel-card img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    background-color: #f5f1ed;
}

.doctor-carousel-card:hover img {
    transform: scale(1.04);
}

.doctor-carousel-info {
    padding: 1.4rem 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.doctor-carousel-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    font-weight: 700;
}

.doc-degrees {
    font-size: 0.82rem;
    color: var(--primary-accent);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.doc-specialty {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Carousel Global Controls */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 3rem;
    margin-top: 2rem;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem 0;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-warm);
    color: var(--primary-red);
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

.left-btn { left: 5px; }
.right-btn { right: 5px; }

/* ==========================================================================
   24/7 EMERGENCY CARE SECTION (COMPACT & CREATIVE)
   ========================================================================== */
#contact.emergency-compact-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    max-width: 880px;
    margin: 2rem auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 5;
}

#contact.emergency-compact-wrap::before {
    display: none;
}

.emergency-compact-card {
    background: linear-gradient(135deg, #ffffff 0%, #fdf8f7 50%, #fbf1ef 100%);
    border: 2px solid var(--border-red-tint);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition-bounce);
}

.emergency-compact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(128, 0, 0, 0.16);
    border-color: rgba(128, 0, 0, 0.28);
}

.emergency-glow-orb {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(128, 0, 0, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.emergency-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-red);
    border: 1px solid rgba(128, 0, 0, 0.25);
    color: var(--primary-accent);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.4rem 1.15rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.85rem;
}

.live-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(128, 0, 0, 0.7);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(128, 0, 0, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 9px rgba(128, 0, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(128, 0, 0, 0); }
}

.emergency-title {
    font-size: 2.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.emergency-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 1.45rem auto;
    line-height: 1.6;
}

.emergency-phone-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    background: var(--bg-surface);
    padding: 0.7rem 1.8rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-warm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.emergency-phone-container:hover {
    border-color: var(--primary-red);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.emergency-phone-icon {
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: phoneShake 3s ease infinite;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0deg); }
    8%, 24% { transform: rotate(-14deg); }
    16%, 32% { transform: rotate(14deg); }
    40% { transform: rotate(0deg); }
}

.emergency-phone-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

.emergency-phone-num {
    color: var(--primary-accent);
}

.emergency-phone-num:hover {
    color: var(--dark-red);
}

.emergency-phone-divider {
    color: var(--border-warm);
}

.emergency-action-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.btn-emergency-call {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-red) 100%);
    color: #ffffff;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 8px 24px rgba(128, 0, 0, 0.28);
    transition: var(--transition-bounce);
}

.btn-emergency-call:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 30px rgba(128, 0, 0, 0.4);
    color: #ffffff;
}

.btn-emergency-book {
    background: var(--bg-surface);
    color: var(--text-dark);
    border: 1.5px solid var(--border-warm);
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: var(--transition);
}

.btn-emergency-book:hover {
    background: var(--light-red);
    color: var(--primary-red);
    border-color: rgba(128, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER (WARM DARK LUXURY PALETTE)
   ========================================================================== */
.footer {
    background-color: #141212;
    color: #ece8e5;
    padding: 5rem 5% 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.6rem;
    font-family: 'Playfair Display', serif;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    background-color: var(--primary-accent);
    border-radius: 2px;
}

.footer-desc {
    color: #a89f9f;
    margin: 1.2rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: #a89f9f;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.55;
}

.contact-info i {
    color: var(--gold-accent);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: var(--gold-accent);
}

.nowrap-phone,
.phone-link {
    white-space: nowrap !important;
}

.social-links {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #ffffff;
    transition: var(--transition);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.social-links a:hover {
    background-color: var(--primary-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #8c8383;
    font-size: 0.88rem;
}

/* ==========================================================================
   PULSING WHATSAPP FLOATING ACTION BUTTON (FAB)
   ========================================================================== */
.fab-whatsapp {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.fab-whatsapp i, .fab-whatsapp svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.fab-whatsapp:hover {
    transform: scale(1.12);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.fab-whatsapp::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: fabRipple 2.2s infinite cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

@keyframes fabRipple {
    0% { transform: scale(0.95); opacity: 0.85; }
    100% { transform: scale(1.45); opacity: 0; }
}

.fab-tooltip {
    position: absolute;
    right: 72px;
    background: #191616;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.fab-whatsapp:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (PROGRESSIVE ENHANCEMENT)
   ========================================================================== */
.hero, .framed-section {
    opacity: 1 !important;
    transform: none !important;
}

/* Creative Entering Type Motion (All Sections & Cards) */
.animate-up, .animate-left, .animate-right, .animate-scale {
    opacity: 1;
    transform: none;
    will-change: transform, opacity, filter;
    transition: opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.82s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.82s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active .animate-up:not(.show) {
    opacity: 0;
    transform: translate3d(0, 38px, 0) scale(0.975);
    filter: blur(4px);
}
.reveal-active .animate-left:not(.show) {
    opacity: 0;
    transform: translate3d(-38px, 0, 0) scale(0.975);
    filter: blur(4px);
}
.reveal-active .animate-right:not(.show) {
    opacity: 0;
    transform: translate3d(38px, 0, 0) scale(0.975);
    filter: blur(4px);
}
.reveal-active .animate-scale:not(.show) {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(5px);
}

.reveal-active .animate-up.show,
.reveal-active .animate-left.show,
.reveal-active .animate-right.show,
.reveal-active .animate-scale.show {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
}

/* Staggered Delay Cascade System */
.delay-1 { transition-delay: 0.10s !important; }
.delay-2 { transition-delay: 0.20s !important; }
.delay-3 { transition-delay: 0.30s !important; }
.delay-4 { transition-delay: 0.40s !important; }
.delay-5 { transition-delay: 0.50s !important; }

/* Synchronized Creative Entrance for Section Titles */
.section-title.show .section-eyebrow {
    animation: eyebrowEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.section-title.show h2 {
    animation: titleEnter 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.08s backwards;
}
.section-title.show p {
    animation: subtitleEnter 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

@keyframes eyebrowEnter {
    from { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.94); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes titleEnter {
    from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(3px); }
    to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

@keyframes subtitleEnter {
    from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(2px); }
    to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

/* Pulse Animation */
.pulse-anim {
    animation: livePulse 2s infinite;
}

/* ==========================================================================
   APPOINTMENT MODAL STYLES
   ========================================================================== */
.appointment-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    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: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.appointment-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.appointment-modal-container {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem 2.25rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-warm);
    border: 2px solid var(--border-warm);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.appointment-modal-overlay.active .appointment-modal-container {
    transform: scale(1) translateY(0);
}

.appointment-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-warm);
    background: var(--bg-cream);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.appointment-modal-close:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.modal-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--light-red);
    color: var(--primary-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.4rem 0;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    text-align: left;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-charcoal);
    letter-spacing: 0.2px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon svg,
.input-with-icon i {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--primary-accent);
    pointer-events: none;
}

.input-with-icon input,
.input-with-icon select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.65rem;
    border-radius: 12px;
    border: 1.5px solid var(--border-warm);
    font-family: inherit;
    font-size: 0.92rem;
    background: #fdfbf9;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    box-sizing: border-box;
}

.form-group textarea {
    padding-left: 1rem;
    resize: vertical;
    min-height: 65px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.form-group textarea:focus {
    border-color: var(--primary-accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.08);
}

.modal-submit-btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    border: none;
    margin-top: 0.75rem;
}

.modal-success {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.success-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.success-icon-wrap svg {
    width: 38px;
    height: 38px;
}

.modal-success h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.success-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1.75rem 0;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 360px;
    margin: 0 auto;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: var(--transition);
}

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

.btn-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-accent);
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.25);
    transition: var(--transition);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE VIEW ALIGNMENT (SMERA MOBILE FIDELITY)
   ========================================================================== */
@media (max-width: 1024px) {
    .framed-section {
        margin: 2rem 3%;
        padding: 4rem 3.5%;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3.5rem;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-trust-strip {
        justify-content: center;
    }
    .dropdown-menu {
        min-width: 100%;
        flex-direction: column;
        gap: 2rem;
    }
    .lab-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* Top Announcement Bar on Mobile */
    .top-announcement-bar {
        padding: 6px 4%;
        justify-content: center;
    }
    .top-bar-left {
        display: none;
    }
    .top-bar-right {
        gap: 1rem;
        font-size: 0.78rem;
    }

    /* Navbar on Mobile */
    .navbar {
        padding: 0.5rem 4%;
    }
    .logo img {
        height: 54px !important;
        width: auto !important;
    }
    .menu-toggle {
        display: block !important;
        cursor: pointer;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.5rem 0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-warm);
        gap: 0.6rem;
    }
    .nav-links.active {
        display: flex;
        animation: slideDownMenu 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes slideDownMenu {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .nav-links > li {
        width: 100%;
        text-align: center;
    }
    .nav-links > li > a:not(.btn-primary) {
        display: inline-flex;
        width: 85%;
        justify-content: center;
        padding: 0.7rem 1rem;
        box-sizing: border-box;
    }
    .nav-links > li > a.btn-primary {
        display: inline-flex;
        width: 85%;
        justify-content: center;
        padding: 0.8rem 1rem;
        box-sizing: border-box;
        margin: 0.5rem auto 0;
    }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        transform: none;
        box-shadow: none;
        padding: 0.75rem;
        display: none;
        opacity: 1;
        visibility: visible;
        border-top: none;
        border-radius: 0;
    }
    .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .dropdown:hover .dropdown-menu {
        transform: none;
    }

    /* Hero Section on Mobile */
    .framed-section {
        margin: 1.25rem 2.5%;
        padding: 3rem 1.25rem;
        border-radius: var(--radius-lg);
    }
    .hero {
        padding: 2.25rem 1.25rem;
        gap: 2.5rem;
    }
    .hero-desc {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }
    .hero-trust-strip {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .trust-divider {
        display: none;
    }
    .trust-item {
        align-items: center;
        width: 100%;
    }

    /* Smera Hero Arch on Mobile */
    .smera-hero-arch-wrapper {
        max-width: 310px;
        margin: 0 auto;
    }
    .smera-hero-arch-frame img {
        height: 360px;
        width: 100%;
        object-fit: cover;
    }
    .floating-hero-badge {
        padding: 0.6rem 0.9rem;
    }
    .badge-top-right {
        top: 20px;
        right: 0;
    }
    .badge-bottom-left {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 24px);
        max-width: 290px;
        justify-content: center;
    }
    .badge-icon-box {
        width: 36px;
        height: 36px;
    }

    /* Emergency Section on Mobile */
    #contact.emergency-compact-wrap {
        padding: 0 0.5rem;
        margin: 1.5rem auto;
    }
    .emergency-compact-card {
        padding: 1.85rem 1.15rem;
        border-radius: var(--radius-lg);
    }
    .emergency-title {
        font-size: 1.65rem;
    }
    .emergency-subtitle {
        font-size: 0.92rem;
        margin-bottom: 1.15rem;
    }
    .emergency-phone-container {
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.65rem 1rem;
        width: 100%;
    }
    .emergency-phone-links {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    .emergency-phone-divider {
        display: none;
    }
    .emergency-action-btns {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .btn-emergency-call,
    .btn-emergency-book {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
    }

    /* Carousel Controls on Mobile */
    .carousel-container {
        padding: 0 0.5rem;
    }
    .carousel-track {
        gap: 1.1rem;
    }
    .doctor-carousel-card {
        min-width: 260px;
        max-width: 275px;
    }
    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .left-btn { left: 0px; }
    .right-btn { right: 0px; }

    /* Footer Mobile Alignment */
    .footer {
        padding: 3.5rem 5% 5.5rem;
    }
    .footer-container {
        text-align: center;
        gap: 2.5rem;
    }
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
        margin-top: 1.25rem;
    }
    .contact-info {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        margin: 0 auto;
        max-width: 340px;
        width: 100%;
        padding: 0 0.5rem;
        gap: 1rem;
    }
    .contact-info li {
        display: flex;
        align-items: flex-start;
        text-align: left;
        justify-content: flex-start;
        gap: 0.85rem;
        width: 100%;
        margin-bottom: 0;
        line-height: 1.5;
        font-size: 0.92rem;
    }
    .contact-info li i,
    .contact-info li svg {
        flex-shrink: 0;
        margin-top: 3px;
        width: 18px;
        height: 18px;
    }
    .contact-info li span,
    .contact-info li div {
        flex: 1;
        word-break: break-word;
    }
    .nowrap-phone,
    .phone-link {
        white-space: nowrap !important;
        display: inline-block;
    }
    .footer-bottom {
        padding: 1.75rem 1rem 0;
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.55rem; }
    .section-eyebrow {
        font-size: 0.72rem;
        padding: 0.35rem 0.9rem;
    }
    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }
    .flowing-text span {
        font-size: 0.85rem;
        margin: 0 1.25rem;
    }
    .appointment-modal-container {
        padding: 1.5rem 1.2rem;
        border-radius: var(--radius-lg);
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .fab-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
}

/* ==========================================================================
   DOCTOR SPECIALIST AVATAR (WHEN NO PERSONAL PHOTO EXISTS)
   Clean, prestigious monogram & medical emblem banner
   ========================================================================== */
.doctor-avatar-header {
    height: 290px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fffdfb 0%, #f7ece5 55%, #fdf5f0 100%);
    border-bottom: 1.5px solid var(--border-warm);
    overflow: hidden;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

.doctor-avatar-header::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(128, 0, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.doctor-avatar-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 155, 39, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.doctor-emblem-badge {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #fbf1f1 100%);
    border: 2px solid rgba(128, 0, 0, 0.16);
    box-shadow: 0 10px 24px rgba(128, 0, 0, 0.07), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.doctor-card:hover .doctor-emblem-badge,
.doctor-carousel-card:hover .doctor-emblem-badge {
    transform: scale(1.08) translateY(-2px);
    border-color: var(--primary-accent);
    box-shadow: 0 14px 28px rgba(128, 0, 0, 0.16);
}

.doctor-emblem-badge i,
.doctor-emblem-badge svg {
    width: 38px;
    height: 38px;
    stroke-width: 1.8;
}

.doctor-avatar-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem;
    text-align: center;
}

.doctor-dept-pill {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(128, 0, 0, 0.12);
    color: var(--primary-accent);
    padding: 0.28rem 0.85rem;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Detail page doctor spotlight avatar */
.detail-doc-img-wrap .doctor-emblem-badge {
    width: 68px;
    height: 68px;
}
.detail-doc-img-wrap .doctor-emblem-badge i,
.detail-doc-img-wrap .doctor-emblem-badge svg {
    width: 32px;
    height: 32px;
}

/* ==========================================================================
   LUXURY HEALTHCARE ANIMATION SUITE (ALL FRAMES & CARDS)
   ========================================================================== */

/* 1. Light-Sheen Shimmer Reflection on Hover */
.service-card,
.dept-card-photo,
.doctor-card,
.doctor-carousel-card,
.dept-showcase-card,
.service-showcase-card,
.explanation-card,
.emergency-compact-card {
    position: relative;
    overflow: hidden;
}

.service-card::after,
.dept-card-photo::after,
.doctor-card::after,
.doctor-carousel-card::after,
.dept-showcase-card::after,
.service-showcase-card::after,
.explanation-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.32) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    opacity: 0;
    z-index: 5;
}

.service-card:hover::after,
.dept-card-photo:hover::after,
.doctor-card:hover::after,
.doctor-carousel-card:hover::after,
.dept-showcase-card:hover::after,
.service-showcase-card:hover::after,
.explanation-card:hover::after {
    opacity: 1;
    animation: luxuryLightSweep 0.95s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes luxuryLightSweep {
    0% { left: -70%; }
    100% { left: 150%; }
}

/* 2. Soft Floating Breathing Animation on Badges */
@keyframes floatingBadgeSoft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.floating-hero-badge,
.detail-floating-badge {
    animation: floatingBadgeSoft 4.8s ease-in-out infinite !important;
}

.floating-hero-badge.badge-bottom-left {
    animation: floatingBadgeSoft 5.2s ease-in-out infinite !important;
    animation-delay: 0.6s;
}

/* 3. Smooth Frame & Card Elevation */
.service-card,
.dept-card-photo,
.doctor-card,
.doctor-carousel-card,
.dept-showcase-card,
.service-showcase-card,
.explanation-card,
.emergency-compact-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.service-card:hover,
.dept-card-photo:hover,
.doctor-card:hover,
.doctor-carousel-card:hover,
.dept-showcase-card:hover,
.service-showcase-card:hover,
.explanation-card:hover {
    transform: translateY(-8px) scale(1.012) !important;
    box-shadow: 0 20px 45px rgba(128, 0, 0, 0.13), 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(128, 0, 0, 0.28) !important;
}

/* 4. Luxury Micro-Bounce on Click */
.is-bouncing {
    animation: luxuryClickBounce 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@keyframes luxuryClickBounce {
    0% { transform: scale(1); }
    40% { transform: scale(0.97) translateY(2px); box-shadow: 0 8px 20px rgba(128, 0, 0, 0.15); }
    75% { transform: scale(1.025) translateY(-10px); box-shadow: 0 25px 50px rgba(128, 0, 0, 0.2); }
    100% { transform: scale(1.012) translateY(-8px); }
}

/* 5. Glowing Frame Border Shimmer */
.framed-section {
    position: relative;
    border: 1.5px solid var(--border-warm);
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.framed-section:hover {
    border-color: rgba(128, 0, 0, 0.2);
    box-shadow: 0 22px 55px rgba(128, 0, 0, 0.06), 0 4px 18px rgba(0, 0, 0, 0.03);
}

/* 6. Emergency Live Pulse & Phone Shake */
.live-pulse-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: livePulseGlow 2s infinite;
}

@keyframes livePulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   SERVICES & DEPARTMENTS DETAILED EXPLANATIONS STYLES
   ========================================================================== */
.explanation-section {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1.5px solid var(--border-warm);
}

.explanation-section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem auto;
}

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

.explanation-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-warm);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    scroll-margin-top: 110px;
    position: relative;
    overflow: hidden;
}

.explanation-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(128, 0, 0, 0.25);
}

/* Target glow when navigated directly via clicking a card */
.explanation-card:target,
.explanation-card.highlight-card {
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.15), 0 20px 45px rgba(128, 0, 0, 0.18) !important;
    animation: targetPulse 2.5s ease-out;
}

@keyframes targetPulse {
    0% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(128, 0, 0, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(128, 0, 0, 0.15); }
    100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.15); }
}

.explanation-card-header {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 1.25rem;
}

.explanation-card-header .card-icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 1.3rem;
}

.explanation-card h3 {
    font-size: 1.35rem;
    margin: 0;
    color: var(--text-dark);
    font-weight: 700;
}

.explanation-tag {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary-accent);
    background: var(--light-red);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-top: 0.25rem;
}

.explanation-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.explanation-features-title {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.explanation-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.explanation-chip {
    font-size: 0.82rem;
    background: var(--bg-cream);
    color: var(--text-charcoal);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-warm);
    font-weight: 600;
}

.explanation-chip i, .explanation-chip svg {
    width: 13px;
    height: 13px;
    color: var(--primary-accent);
    vertical-align: middle;
    margin-right: 3px;
}

.explanation-card-footer {
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-warm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-book-dept {
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-red));
    color: #ffffff;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(128, 0, 0, 0.2);
    transition: var(--transition-bounce);
}

.btn-book-dept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.32);
    color: #ffffff;
}

.back-to-top-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.back-to-top-link:hover {
    color: var(--primary-accent);
}

/* ==========================================================================
   SERVICES & DEPARTMENTS SHOWCASE GRIDS (FULL PAGES)
   ========================================================================== */
.services-showcase-grid,
.departments-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2.25rem;
    margin-top: 2.5rem;
}

.service-showcase-card,
.dept-showcase-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-warm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.service-showcase-card:hover,
.dept-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(128, 0, 0, 0.28);
}

.service-showcase-img-wrap,
.dept-showcase-img-wrap {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.service-showcase-img-wrap img,
.dept-showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-showcase-card:hover .service-showcase-img-wrap img,
.dept-showcase-card:hover .dept-showcase-img-wrap img {
    transform: scale(1.08);
}

.service-showcase-badge,
.dept-showcase-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.service-showcase-content,
.dept-showcase-content {
    padding: 1.75rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-pill-tag {
    align-self: flex-start;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-accent);
    background: var(--light-red);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.85rem;
}

.service-showcase-content h3,
.dept-showcase-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.service-showcase-content p,
.dept-showcase-content p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-card-cta,
.dept-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-accent);
    transition: transform 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.service-showcase-card:hover .service-card-cta,
.dept-showcase-card:hover .dept-card-cta {
    transform: translateX(4px);
    color: var(--primary-red);
}

/* ==========================================================================
   DEDICATED SERVICE & DEPARTMENT DETAIL PAGES
   ========================================================================== */
.detail-page-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 3.5rem;
    padding: 3rem 2.5rem;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--border-warm);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.detail-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-bottom: 1.75rem;
    margin-bottom: 2.75rem;
    border-bottom: 1.5px solid var(--border-warm);
}

.detail-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.4rem;
    background: var(--bg-cream);
    color: var(--primary-accent);
    border: 1.5px solid var(--border-warm);
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-bounce);
}

.detail-back-btn:hover {
    background: var(--primary-accent);
    color: #ffffff;
    border-color: var(--primary-accent);
    transform: translateX(-4px);
    box-shadow: 0 4px 14px rgba(128, 0, 0, 0.25);
}

.detail-crumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.detail-crumbs a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}

.detail-crumbs a:hover {
    color: var(--primary-accent);
}

.detail-crumbs .active-crumb {
    color: var(--primary-accent);
    font-weight: 700;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.detail-hero-info .detail-title {
    font-size: 2.6rem;
    line-height: 1.18;
    color: var(--text-dark);
    margin: 0.75rem 0 1.25rem 0;
}

.detail-hero-info .detail-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.detail-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
}

.detail-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-cream);
    border: 1px solid var(--border-warm);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.detail-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.detail-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.detail-arch-frame {
    width: 100%;
    max-width: 420px;
    height: 480px;
    border-radius: 200px 200px 36px 36px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(128, 0, 0, 0.15);
    border: 5px solid #ffffff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.detail-arch-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(128, 0, 0, 0.22);
}

.detail-arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.detail-arch-frame:hover img {
    transform: scale(1.06);
}

.detail-floating-badge {
    position: absolute;
    bottom: 24px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.detail-floating-badge strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.detail-floating-badge span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Detail Content Block */
.detail-content-block {
    margin-bottom: 4rem;
    padding-top: 2.5rem;
    border-top: 1.5px solid var(--border-warm);
}

.detail-block-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
}

.detail-block-header h2 {
    font-size: 2.1rem;
    color: var(--text-dark);
}

.detail-text-narrative {
    max-width: 860px;
    margin: 0 auto 3rem auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.detail-text-narrative .lead-paragraph {
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--text-charcoal);
    margin-bottom: 1.25rem;
}

.detail-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.detail-cap-card {
    background: var(--bg-cream);
    border: 1.5px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.detail-cap-card:hover {
    transform: translateY(-8px);
    background: var(--bg-surface);
    border-color: rgba(128, 0, 0, 0.3);
    box-shadow: var(--shadow-hover);
}

.detail-cap-card .cap-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--light-red);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.detail-cap-card h4 {
    font-size: 1.18rem;
    color: var(--text-dark);
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.detail-cap-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Chips Section */
.detail-chips-section {
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-warm);
    padding: 2.25rem;
    margin-bottom: 4rem;
}

.detail-chips-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.detail-chips-header h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-dark);
    font-weight: 700;
}

.detail-chips-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.detail-condition-chip {
    background: var(--bg-surface);
    color: var(--text-charcoal);
    border: 1.5px solid var(--border-warm);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.detail-condition-chip:hover {
    transform: translateY(-3px) scale(1.04);
    background: var(--primary-accent);
    color: #ffffff;
    border-color: var(--primary-accent);
}

/* Lead Doctor Spotlight */
.detail-doctor-spotlight {
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.04), rgba(212, 160, 23, 0.05));
    border: 1.5px solid rgba(128, 0, 0, 0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.detail-doc-img-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-surface);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.detail-doc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-doc-info {
    flex: 1;
    min-width: 260px;
}

.detail-doc-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-accent);
    background: var(--light-red);
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.5rem;
}

.detail-doc-info h3 {
    font-size: 1.5rem;
    margin: 0 0 0.4rem 0;
    color: var(--text-dark);
}

.detail-doc-info .doc-qual {
    font-size: 0.95rem;
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.detail-doc-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Explore Others Section */
.detail-explore-others {
    padding-top: 2rem;
    border-top: 1.5px solid var(--border-warm);
}

.detail-explore-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.detail-explore-header h3 {
    font-size: 1.45rem;
    margin: 0;
    color: var(--text-dark);
}

.explore-nav-arrows {
    display: flex;
    gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .detail-arch-frame {
        max-width: 100%;
        height: 380px;
    }
    .detail-page-wrapper {
        padding: 2rem 1.5rem;
    }
    .detail-doctor-spotlight {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   FOUNDING LEADERSHIP DUO (CREATIVE HERO LAYOUT)
   ========================================================================== */
.smera-hero-duo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
    align-items: stretch;
    justify-content: center;
    position: relative;
    width: 100%;
}

.smera-hero-duo-card {
    background: #ffffff;
    border: 2px solid rgba(128, 0, 0, 0.2);
    border-radius: 20px;
    padding: 10px 10px 16px 10px;
    box-shadow: 0 12px 28px rgba(128, 0, 0, 0.07);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.smera-hero-duo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(128, 0, 0, 0.14);
    border-color: rgba(128, 0, 0, 0.35);
}

.duo-arch-frame {
    position: relative;
    width: 100%;
    height: 235px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #fdf5f2 0%, #fae6e3 100%);
    border: 1.5px solid var(--border-warm);
}

.duo-arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
    display: block;
}

.smera-hero-duo-card:hover .duo-arch-frame img {
    transform: scale(1.04);
}

.duo-role-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
    z-index: 2;
}

.duo-role-tag.founder-tag {
    background: linear-gradient(135deg, #800000 0%, #a11414 100%);
}

.duo-role-tag.specialist-tag,
.duo-role-tag.cofounder-tag {
    background: linear-gradient(135deg, #b8860b 0%, #800000 100%);
}

.duo-doc-meta {
    padding-top: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.duo-doc-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

.duo-doc-qual {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-top: 4px;
    letter-spacing: 0.3px;
}

.duo-doc-spec {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

.duo-floating-crest {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1.5px solid var(--border-warm);
    border-radius: 30px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(128, 0, 0, 0.12);
    z-index: 10;
    white-space: nowrap;
}

.duo-floating-crest .crest-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--light-red);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.duo-floating-crest .crest-icon svg,
.duo-floating-crest .crest-icon i {
    width: 14px;
    height: 14px;
}

.duo-floating-crest .crest-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.duo-floating-crest .crest-text strong {
    font-size: 0.78rem;
    color: var(--text-dark);
    line-height: 1.1;
}

.duo-floating-crest .crest-text span {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 600px) {
    .smera-hero-duo-wrapper {
        flex-direction: column;
        max-width: 320px;
        margin: 0 auto;
        gap: 1.5rem;
    }
    .duo-arch-frame {
        height: 240px;
    }
    .duo-floating-crest {
        bottom: -15px;
    }
}

/* ==========================================================================
   DEDICATED MISSION & VISION FRAMED SECTION (BETWEEN HERO & SERVICES)
   ========================================================================== */
.mission-vision-section {
    margin: 2.2rem 4%;
    padding: 3rem 4%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 248, 246, 0.95) 100%);
    border: 1.5px solid var(--border-warm);
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 45px rgba(128, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.mv-frame-container {
    max-width: 1140px;
    margin: 0 auto;
}

.mv-frame-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.mv-frame-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0.2rem 0 0 0;
}

.mv-frame-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.mv-frame-card {
    background: #ffffff;
    border: 1.5px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    box-shadow: 0 8px 24px rgba(128, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mv-frame-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(128, 0, 0, 0.1);
    border-color: rgba(128, 0, 0, 0.22);
}

.mv-frame-card.mission-card {
    border-top: 4px solid var(--primary-accent);
}

.mv-frame-card.vision-card {
    border-top: 4px solid var(--gold-accent);
}

.mv-frame-card .mv-card-header {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-warm);
}

.mv-icon-pill {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.mv-icon-pill.mission-icon {
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.12) 0%, rgba(161, 20, 20, 0.08) 100%);
    color: var(--primary-accent);
}

.mv-icon-pill.vision-icon {
    background: linear-gradient(135deg, rgba(197, 155, 39, 0.15) 0%, rgba(184, 134, 11, 0.08) 100%);
    color: #b8860b;
}

.mv-icon-pill i, .mv-icon-pill svg {
    width: 22px;
    height: 22px;
}

.mv-title-block {
    display: flex;
    flex-direction: column;
}

.mv-category-tag {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-accent);
    margin-bottom: 2px;
}

.mv-frame-card.vision-card .mv-category-tag {
    color: #b8860b;
}

.mv-title-block h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 700;
}

.mv-card-body {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-charcoal);
    font-weight: 450;
}

@media (max-width: 900px) {
    .mission-vision-section {
        padding: 2.5rem 1.5rem;
        margin: 1.5rem 3%;
    }
    .mv-frame-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .mv-frame-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   HEALTH & WELLNESS BLOG STYLES
   ========================================================================== */
.blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: 2rem 0 2.5rem 0;
}

.blog-filter-pill {
    padding: 0.45rem 1.15rem;
    border-radius: 30px;
    border: 1.5px solid var(--border-warm);
    background: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-charcoal);
    cursor: pointer;
    transition: var(--transition-fast);
}

.blog-filter-pill:hover,
.blog-filter-pill.active {
    background: var(--primary-accent);
    color: #ffffff;
    border-color: var(--primary-accent);
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
}

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

.blog-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-warm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-bounce);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(128, 0, 0, 0.25);
}

.blog-card-visual {
    height: 190px;
    background: linear-gradient(135deg, #fdf5f3 0%, #faece9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-warm);
}

.blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-accent);
    border: 1px solid rgba(128, 0, 0, 0.1);
    text-transform: uppercase;
}

.blog-card-time {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 10px;
    border-radius: 12px;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-content h3 {
    font-size: 1.22rem;
    margin: 0 0 0.6rem 0;
    line-height: 1.4;
    color: var(--text-dark);
}

.blog-card-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
    flex: 1;
}

.blog-card-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-warm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-accent);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.blog-read-btn:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

/* Full Article Modal */
.article-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 12, 12, 0.72);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.article-modal-container {
    background: #ffffff;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    padding: 2.2rem;
    position: relative;
    border: 1.5px solid var(--border-warm);
}

.article-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-cream);
    border: 1px solid var(--border-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-dark);
}

.article-modal-close:hover {
    background: var(--light-red);
    color: var(--primary-accent);
}

/* ==========================================================================
   HERO CLINICAL LEADERSHIP HEADER & EXPERIENCE BADGES
   ========================================================================== */
.hero-doc-leadership-header {
    text-align: center;
    margin-bottom: 1.25rem;
    position: relative;
    width: 100%;
}

.hero-doc-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--primary-accent);
    background: rgba(128, 0, 0, 0.08);
    border: 1.5px solid rgba(128, 0, 0, 0.22);
    padding: 0.6rem 1.65rem;
    border-radius: 30px;
    margin-bottom: 0;
    box-shadow: 0 4px 14px rgba(128, 0, 0, 0.06);
}

.hero-doc-eyebrow svg,
.hero-doc-eyebrow i {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.hero-doc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.8px;
    margin: 0;
    text-transform: uppercase;
}

.duo-exp-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.95), rgba(161, 20, 20, 0.95));
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.duo-exp-badge.gold-exp-badge {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.95), rgba(128, 0, 0, 0.95));
}

.exp-badge-val {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.exp-badge-lbl {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1;
}

.duo-doc-experience-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-accent);
    background: rgba(128, 0, 0, 0.08);
    padding: 3px 10px;
    border-radius: 14px;
    margin-top: 6px;
    border: 1px solid rgba(128, 0, 0, 0.12);
}

.duo-doc-experience-tag.gold-exp-tag {
    background: rgba(184, 134, 11, 0.12);
    color: #800000;
    border-color: rgba(184, 134, 11, 0.25);
}

.doc-exp-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-accent);
    background: rgba(128, 0, 0, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
    margin: 0.35rem 0;
    border: 1px solid rgba(128, 0, 0, 0.12);
}

.doctor-photo-frame {
    height: 275px;
    width: 100%;
    padding: 10px 10px 0 10px;
    background: #fffcf9;
    overflow: hidden;
}

.doctor-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 14px;
    border: 1.5px solid var(--border-warm);
    transition: transform 0.6s ease;
    display: block;
}

.doctor-card:hover .doctor-photo-frame img {
    transform: scale(1.03);
}

/* ==========================================================================
   HOSPITAL INTRODUCTION SECTION (BUILT AROUND YOU)
   ========================================================================== */
.hospital-intro-section {
    padding: 4rem 4%;
    position: relative;
    overflow: hidden;
}

.hospital-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.hospital-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.hospital-intro-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hospital-building-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    border-radius: 26px;
    padding: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #fdf6f3 100%);
    border: 2px solid rgba(128, 0, 0, 0.2);
    box-shadow: 0 20px 48px rgba(128, 0, 0, 0.1), 0 0 0 5px rgba(255, 255, 255, 0.9);
}

.hospital-building-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: contain;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hospital-building-card:hover .hospital-building-img {
    transform: scale(1.02);
}

.hospital-building-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 2;
}

.building-badge {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 0.85rem 1.15rem;
    border-radius: 16px;
    border: 1.5px solid rgba(128, 0, 0, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-accent);
}

.building-badge i {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.building-badge strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: 0.4px;
}

.building-badge span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hospital-intro-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    line-height: 1.25;
    color: var(--text-dark);
    margin: 0.5rem 0 1.4rem 0;
    font-weight: 700;
}

.hospital-intro-para-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fdf8f5 100%);
    border: 1.5px solid var(--border-warm);
    border-left: 5px solid var(--primary-accent);
    border-radius: 18px;
    padding: 1.85rem 2rem;
    box-shadow: 0 12px 32px rgba(128, 0, 0, 0.06);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
    animation: gentleParaFloat 5s ease-in-out infinite;
}

.hospital-intro-para-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(128, 0, 0, 0.12);
    border-color: rgba(128, 0, 0, 0.28);
    border-left-color: var(--primary-red);
}

@keyframes gentleParaFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hospital-intro-lead {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-charcoal);
    margin: 0;
    font-weight: 450;
}

.hospital-intro-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.intro-feature-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-warm);
    padding: 1rem 1.25rem;
    border-radius: 14px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.intro-feature-item:hover {
    transform: translateX(4px);
    border-color: rgba(128, 0, 0, 0.28);
    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.06);
}

.feature-icon-pill {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(128, 0, 0, 0.08);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-pill i {
    width: 22px;
    height: 22px;
}

.feature-text strong {
    display: block;
    font-size: 0.98rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.feature-text span {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.hospital-intro-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   RECEPTION FACILITY SHOWCASE CARD & DEDICATED SECTION
   ========================================================================== */
.reception-desk-section {
    padding: 3.5rem 4%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 248, 246, 0.95) 100%);
}

.reception-facility-card {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 2.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #fdfaf8 100%);
    border: 2px solid rgba(128, 0, 0, 0.16);
    border-radius: 26px;
    padding: 1.85rem;
    margin-top: 0;
    align-items: center;
    box-shadow: 0 18px 42px rgba(128, 0, 0, 0.07);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.reception-facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(128, 0, 0, 0.12);
    border-color: rgba(128, 0, 0, 0.28);
}

.reception-img-frame {
    height: 310px;
    padding: 10px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(128, 0, 0, 0.2);
    background: linear-gradient(145deg, #ffffff 0%, #fdf5f2 100%);
    box-shadow: 0 14px 34px rgba(128, 0, 0, 0.1), 0 0 0 4px rgba(255, 255, 255, 0.9);
}

.reception-img-frame img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.reception-facility-card:hover .reception-img-frame img {
    transform: scale(1.03);
}

.reception-desc-para {
    font-size: 1.08rem !important;
    line-height: 1.8 !important;
    color: var(--text-charcoal) !important;
    background: #ffffff;
    border-left: 4px solid var(--primary-accent);
    padding: 1.25rem 1.5rem;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.04);
    margin-bottom: 1.5rem !important;
}

.reception-badge-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(128, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.reception-facility-info h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin: 0.35rem 0 0.65rem 0;
    font-family: 'Playfair Display', serif;
}

.reception-facility-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.reception-quick-contact {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.reception-phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.55rem 1.1rem;
    border-radius: 24px;
    background: var(--bg-cream);
    border: 1px solid var(--border-warm);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reception-phone-pill:hover {
    background: var(--primary-accent);
    color: #ffffff;
    border-color: var(--primary-accent);
}

/* ==========================================================================
   ACHIEVEMENTS & PINNACLE-STYLE STATISTICS COUNTER STRIP
   Reference: pinnaclehospitals.com (Vibrant numbers, vertical dividers, smooth count-up)
   ========================================================================== */
.achievements-section {
    padding: 3.5rem 4%;
}

/* Pinnacle-Inspired Clean Statistics Strip with Vertical Dividers */
.pinnacle-counter-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid rgba(128, 0, 0, 0.12);
    border-radius: 26px;
    padding: 2.8rem 2.2rem;
    box-shadow: 0 16px 42px rgba(128, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    max-width: 1180px;
    margin: 0 auto 2.2rem auto;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.pinnacle-counter-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7b1fa2 0%, #0288d1 33%, #1565c0 66%, #d97706 100%);
}

.pinnacle-counter-strip:hover {
    box-shadow: 0 24px 55px rgba(128, 0, 0, 0.1);
    transform: translateY(-3px);
}

.pinnacle-stat-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 1.2rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.pinnacle-stat-col:hover {
    transform: translateY(-5px);
}

.pinnacle-stat-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.5px;
    margin-bottom: 0.45rem;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reference Exact Color Variants from Pinnacle Hospitals */
.stat-purple .pinnacle-stat-value {
    color: #7b1fa2; /* Vibrant Purple */
}
.stat-purple:hover .pinnacle-stat-value {
    text-shadow: 0 4px 18px rgba(123, 31, 162, 0.28);
}

.stat-blue .pinnacle-stat-value {
    color: #0288d1; /* Medical Cyan / Blue */
}
.stat-blue:hover .pinnacle-stat-value {
    text-shadow: 0 4px 18px rgba(2, 136, 209, 0.28);
}

.stat-navy .pinnacle-stat-value {
    color: #1565c0; /* Deep Royal Navy */
}
.stat-navy:hover .pinnacle-stat-value {
    text-shadow: 0 4px 18px rgba(21, 101, 192, 0.28);
}

.stat-gold .pinnacle-stat-value {
    color: #d97706; /* Radiant Golden Amber */
}
.stat-gold:hover .pinnacle-stat-value {
    text-shadow: 0 4px 18px rgba(217, 119, 6, 0.28);
}

.pinnacle-stat-label {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark, #2b2b2b);
    line-height: 1.3;
}

.pinnacle-stat-sub {
    font-size: 0.8rem;
    color: var(--text-muted, #718096);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Sleek Vertical Dividers Matching Reference Screenshot */
.pinnacle-stat-divider {
    width: 1.5px;
    height: 70px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.03) 100%);
    flex-shrink: 0;
}

/* Celebration Pop when Counter Completes */
.counter-completed {
    animation: counterFinishPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes counterFinishPop {
    0% { transform: scale(0.96); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* NABH Accreditation Spotlight Quality Banner */
.nabh-spotlight-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #800000 0%, #5e0202 50%, #3d0000 100%);
    border: 2px solid rgba(184, 134, 11, 0.5);
    border-radius: 22px;
    padding: 1.7rem 2.4rem;
    box-shadow: 0 14px 38px rgba(128, 0, 0, 0.22);
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    gap: 1.5rem;
}

.nabh-spotlight-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    animation: nabhShimmer 5s infinite;
}

@keyframes nabhShimmer {
    0% { left: -60%; }
    30%, 100% { left: 160%; }
}

.nabh-banner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.nabh-seal-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(245, 197, 66, 0.65);
    color: #f5c542;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.nabh-seal-icon svg, .nabh-seal-icon i {
    width: 32px;
    height: 32px;
}

.nabh-banner-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f5c542;
    margin-bottom: 0.25rem;
}

.nabh-banner-title {
    font-size: 1.45rem;
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin: 0 0 0.35rem 0;
}

.nabh-banner-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.55;
    max-width: 680px;
}

.nabh-gold-crest {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 197, 66, 0.15);
    border: 1.5px solid #f5c542;
    color: #f5c542;
    padding: 0.65rem 1.35rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   PINNACLE-STYLE GLOBAL ANIMATIONS & EFFECTS SUITE
   ========================================================================== */

/* 1. Pulsating Emergency Radar Rings */
.emergency-beacon-pulse {
    position: relative;
}
.emergency-beacon-pulse::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 2px solid rgba(192, 41, 43, 0.75);
    animation: radarWave 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    pointer-events: none;
}
@keyframes radarWave {
    0% { transform: scale(0.95); opacity: 0.9; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* 2. Rhythmic Eyebrow Dot Breathing Glow */
.eyebrow-dot {
    animation: eyebrowBreathe 2.4s infinite ease-in-out !important;
}
@keyframes eyebrowBreathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(128, 0, 0, 0.45);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 0 0 5px rgba(128, 0, 0, 0.12);
    }
}

/* 3. Luxury Card Image Hover Zoom */
.service-card .service-photo-container img,
.service-card-photo,
.dept-card-photo img,
.doctor-photo-frame img,
.hospital-building-card img,
.duo-arch-frame img {
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.service-card:hover .service-photo-container img,
.service-card:hover .service-card-photo,
.dept-card-photo:hover img,
.doctor-card:hover .doctor-photo-frame img,
.hospital-building-card:hover img,
.smera-hero-duo-card:hover .duo-arch-frame img {
    transform: scale(1.055);
}

/* 4. Doctor Cards Elevated Hover Experience */
.doctor-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(128, 0, 0, 0.12) !important;
    border-color: rgba(128, 0, 0, 0.4) !important;
}
.doctor-card:hover .doctor-emblem-badge {
    transform: scale(1.1) rotate(4deg);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 5. Smooth Staggered Scroll Transitions */
.reveal-active .animate-up,
.reveal-active .animate-left,
.reveal-active .animate-right,
.reveal-active .animate-scale {
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.reveal-active .animate-up.delay-1 { transition-delay: 0.12s !important; }
.reveal-active .animate-up.delay-2 { transition-delay: 0.24s !important; }
.reveal-active .animate-up.delay-3 { transition-delay: 0.36s !important; }
.reveal-active .animate-up.delay-4 { transition-delay: 0.48s !important; }

/* 6. Carousel Buttons Press & Hover Dynamics */
.carousel-btn {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease !important;
}
.carousel-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 22px rgba(128, 0, 0, 0.25);
}
.carousel-btn:active {
    transform: scale(0.92);
}

/* Responsive Breakpoints for Pinnacle Strip & NABH */
@media (max-width: 992px) {
    .pinnacle-counter-strip {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
        padding: 2.2rem 1.5rem;
    }
    .pinnacle-stat-divider {
        display: none;
    }
    .pinnacle-stat-col {
        padding: 0.8rem 0.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .pinnacle-stat-col:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .pinnacle-stat-value {
        font-size: 2.3rem;
    }
    .nabh-spotlight-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    .nabh-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .pinnacle-counter-strip {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.8rem 1.2rem;
    }
    .pinnacle-stat-col {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding-bottom: 1.2rem;
    }
    .pinnacle-stat-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .pinnacle-stat-value {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS (MOBILE & TABLET EXCELLENCE)
   ========================================================================== */
@media (max-width: 1024px) {
    .hospital-intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hospital-building-img {
        height: auto;
    }

    .reception-facility-card {
        grid-template-columns: 1fr;
    }

    /* Show the full receptionist photo (no cropping) on tablet & mobile */
    .reception-img-frame {
        height: auto;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .reception-img-frame img {
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .reception-facility-card {
        padding: 1rem;
        gap: 1.5rem;
    }

    .reception-img-frame {
        padding: 6px;
    }
}

@media (max-width: 768px) {
    .hospital-intro-section {
        padding: 3rem 4%;
    }

    .hospital-intro-title {
        font-size: 1.75rem;
    }

    .hospital-building-img {
        height: auto;
    }

    .hero-founders-frame {
        padding: 1.15rem 1rem;
    }

    .smera-hero-duo-wrapper {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
        gap: 1.25rem;
    }

    .duo-arch-frame {
        height: 250px;
    }

    .duo-floating-crest {
        display: none;
    }
}

@media (max-width: 480px) {
    .hospital-intro-title {
        font-size: 1.45rem;
    }

    .hospital-building-img {
        height: auto;
    }

    .hospital-intro-actions {
        flex-direction: column;
        width: 100%;
    }

    .hospital-intro-actions .btn-primary,
    .hospital-intro-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .reception-quick-contact {
        flex-direction: column;
        width: 100%;
    }

    .reception-phone-pill {
        width: 100%;
        justify-content: center;
    }

    .hero-doc-eyebrow {
        font-size: 0.85rem;
        padding: 0.5rem 1.15rem;
        gap: 7px;
    }

    .hero-doc-title {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   HOSPITAL PAGE-TO-PAGE TRANSITION SCREEN (2-3s Cardiac Heartbeat Lifeline)
   ========================================================================== */
.hospital-transition-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, #faf5f2 50%, #f4eae5 100%);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    will-change: opacity, visibility;
}

.hospital-transition-overlay.transition-fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hospital-transition-overlay.transition-fade-out .transition-content-card {
    transform: scale(0.97);
    transition: transform 0.25s ease;
}

.hospital-transition-overlay.transition-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.transition-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Medical ECG Cardiac Monitor Grid */
.medical-grid-bg {
    position: absolute;
    inset: 0;
    background-size: 28px 28px;
    background-image: 
        linear-gradient(to right, rgba(128, 0, 0, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(128, 0, 0, 0.045) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.medical-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.medical-glow-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(128, 0, 0, 0.16) 0%, transparent 70%);
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: transitionGlowPulse 3s ease-in-out infinite alternate;
}

.medical-glow-2 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(196, 154, 69, 0.16) 0%, transparent 70%);
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.medical-cross-drift {
    position: absolute;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
    color: rgba(128, 0, 0, 0.1);
    user-select: none;
    line-height: 1;
}

.cross-1 {
    top: 15%;
    left: 12%;
    font-size: 3.8rem;
    animation: crossDrift 6s ease-in-out infinite alternate;
}

.cross-2 {
    bottom: 18%;
    right: 14%;
    font-size: 3rem;
    animation: crossDrift 5s ease-in-out 1s infinite alternate-reverse;
}

@keyframes crossDrift {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
    100% { transform: translateY(-15px) rotate(8deg); opacity: 0.16; }
}

@keyframes transitionGlowPulse {
    0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.25; }
    100% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.45; }
}

/* Central Framed Glass Card */
.transition-content-card {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.4rem 2.8rem;
    max-width: 460px;
    width: 90%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(128, 0, 0, 0.14);
    border-radius: 26px;
    box-shadow: 0 25px 60px rgba(128, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.04);
    animation: transitionCardIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes transitionCardIn {
    0% { opacity: 0; transform: translateY(14px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Logo Wrapper with Pulse Rings */
.transition-logo-wrapper {
    position: relative;
    width: 110px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
}

.transition-logo-img {
    max-width: 105px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(128, 0, 0, 0.12));
    position: relative;
    z-index: 2;
}

.logo-pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(128, 0, 0, 0.28);
    pointer-events: none;
    z-index: 1;
}

.logo-pulse-ring.ring-1 {
    width: 90px;
    height: 90px;
    animation: ringExpand 0.5s ease-out infinite;
}

.logo-pulse-ring.ring-2 {
    width: 90px;
    height: 90px;
    animation: ringExpand 0.5s ease-out 0.25s infinite;
}

@keyframes ringExpand {
    0% { transform: scale(0.75); opacity: 0.8; }
    100% { transform: scale(1.65); opacity: 0; }
}

/* Brand Typography */
.transition-brand {
    margin-bottom: 1.25rem;
}

.transition-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary-red, #800000);
    letter-spacing: 0.05em;
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.transition-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    color: #6d615f;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0;
}

/* ECG Heartbeat Lifeline */
.transition-ecg-container {
    width: 100%;
    max-width: 330px;
    height: 65px;
    position: relative;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 0, 0, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(128, 0, 0, 0.08);
    padding: 0 8px;
    box-sizing: border-box;
}

.ecg-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ecg-guide-line {
    stroke: rgba(128, 0, 0, 0.08);
    stroke-width: 1;
    stroke-dasharray: 4 4;
}

.ecg-track {
    stroke: rgba(128, 0, 0, 0.12);
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ecg-pulse-line {
    stroke: url(#ecgGrad);
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    filter: url(#ecgGlow);
    animation: ecgSweep 0.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes ecgSweep {
    0% {
        stroke-dashoffset: 600;
        opacity: 0.8;
    }
    65% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    82% {
        stroke-dashoffset: 0;
        opacity: 0.7;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.15;
    }
}

/* Live Vital Status Pill */
.transition-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 1.15rem;
    border-radius: 99px;
    background: rgba(128, 0, 0, 0.05);
    border: 1px solid rgba(128, 0, 0, 0.12);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-accent, #800000);
    letter-spacing: 0.02em;
    margin-bottom: 1.35rem;
}

.status-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: blinkLive 0.5s ease-in-out infinite alternate;
}

.status-heart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mini-heart {
    width: 14px;
    height: 14px;
    fill: #d32f2f;
    animation: heartbeat 0.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.22); }
    60% { transform: scale(1); }
}

@keyframes blinkLive {
    0% { opacity: 0.35; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.15); }
}

/* Progress Bar */
.transition-progress-bar {
    width: 100%;
    height: 3.5px;
    background: rgba(128, 0, 0, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.transition-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #800000, #d32f2f, #c49a45);
    border-radius: 99px;
    animation: transitionProgressLoad 0.5s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}

@keyframes transitionProgressLoad {
    0% { width: 0%; }
    50% { width: 68%; }
    100% { width: 100%; }
}

@media (max-width: 480px) {
    .transition-content-card {
        padding: 1.8rem 1.4rem;
        width: 92%;
        border-radius: 20px;
    }

    .transition-logo-wrapper {
        width: 95px;
        height: 75px;
        margin-bottom: 0.9rem;
    }

    .transition-logo-img {
        max-width: 90px;
        max-height: 70px;
    }

    .transition-title {
        font-size: 1.35rem;
    }

    .transition-subtitle {
        font-size: 0.68rem;
    }

    .transition-ecg-container {
        max-width: 270px;
        height: 52px;
        margin-bottom: 1rem;
    }

    .transition-status-pill {
        font-size: 0.73rem;
        padding: 0.35rem 0.95rem;
        margin-bottom: 1.15rem;
    }
}

/* ==========================================================================
   AUTHENTIC PHARMACY FRAMES (HOME PAGE, SERVICES PAGE & DETAIL HERO)
   ========================================================================== */
.service-card-photo-frame {
    width: 100%;
    height: 165px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    margin-bottom: 1.25rem;
    border: 1.5px solid rgba(128, 0, 0, 0.12);
    background: #fdf5f3;
    box-shadow: 0 4px 16px rgba(128, 0, 0, 0.06);
}

.service-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-photo {
    transform: scale(1.06);
}

.service-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.16) 100%);
    pointer-events: none;
}

.service-photo-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-accent);
    padding: 3px 10px;
    border-radius: 99px;
    border: 1px solid rgba(128, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.service-showcase-photo-frame,
.pharmacy-showcase-frame {
    height: 190px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 1.5px solid var(--border-warm);
    background: #fdf5f3;
}

.service-showcase-photo-frame img,
.service-showcase-img,
.pharmacy-showcase-frame img,
.pharmacy-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-showcase-card:hover .service-showcase-photo-frame img,
.service-showcase-card:hover .service-showcase-img,
.service-showcase-card:hover .pharmacy-showcase-frame img {
    transform: scale(1.06);
}

.pharmacy-carousel-photo-frame {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
    background: #fdf5f3;
}

.pharmacy-carousel-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    display: block;
    transition: transform 0.5s ease;
}

.dept-card-photo:hover .pharmacy-carousel-photo-frame img {
    transform: scale(1.08);
}

/* Ensure service cards stay uniformly structured and vertically aligned */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .card-action-link {
    margin-top: auto;
    padding-top: 1rem;
}

/* Mobile Visibility Optimizations */
@media (max-width: 600px) {
    .service-card-photo-frame {
        height: 180px;
    }

    .pharmacy-showcase-frame {
        height: 195px;
    }

    .detail-arch-frame {
        height: 250px !important;
    }

    .detail-arch-frame img {
        object-position: center 32% !important;
    }
}

/* ==========================================================================
   HEALTHCARE SCHEMES & INSURANCE FRAMES (CASHLESS & PATIENT BENEFITS)
   ========================================================================== */
.insurance-schemes-section {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 248, 245, 0.95) 100%);
    padding: 5rem 4%;
}

.insurance-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.insurance-frames-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 2.25rem;
}

.insurance-frame-card {
    background: #ffffff;
    border: 1.5px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 2.1rem 2.25rem;
    box-shadow: 0 8px 24px rgba(128, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.insurance-frame-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5px;
    background: var(--card-accent, var(--primary-accent));
    transition: height 0.3s ease;
}

.insurance-frame-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(128, 0, 0, 0.1);
    border-color: rgba(128, 0, 0, 0.25);
}

.insurance-frame-card:hover::before {
    height: 7px;
}

/* Individual card accents */
.insurance-frame-card.card-aarogya {
    --card-accent: #d97706; /* Warm Amber / Gold */
}
.insurance-frame-card.card-ehs {
    --card-accent: #1d4ed8; /* Royal Blue */
}
.insurance-frame-card.card-reimburse {
    --card-accent: #059669; /* Emerald Green */
}
.insurance-frame-card.card-couple {
    --card-accent: #99131a; /* Rich Burgundy */
}

.insurance-card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    background: var(--bg-warm-tint);
    color: var(--text-muted);
    border: 1px solid var(--border-warm);
}

.insurance-card-badge i {
    width: 13px;
    height: 13px;
}

.insurance-card-header {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 1.15rem;
    padding-top: 0.2rem;
}

.insurance-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.insurance-frame-card:hover .insurance-icon-wrapper {
    transform: scale(1.08) rotate(3deg);
}

.insurance-icon-wrapper i {
    width: 26px;
    height: 26px;
}

.scheme-icon-orange {
    background: #fffbeb;
    color: #b45309;
    border: 1.5px solid rgba(217, 119, 6, 0.28);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12);
}

.scheme-icon-blue {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1.5px solid rgba(29, 78, 216, 0.28);
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.12);
}

.scheme-icon-green {
    background: #ecfdf5;
    color: #047857;
    border: 1.5px solid rgba(5, 150, 105, 0.28);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12);
}

.scheme-icon-burgundy {
    background: #fdf2f2;
    color: #99131a;
    border: 1.5px solid rgba(153, 19, 26, 0.28);
    box-shadow: 0 4px 14px rgba(153, 19, 26, 0.12);
}

.insurance-title-group {
    flex: 1;
    min-width: 0;
    padding-right: 5.5rem; /* space away from top-right badge */
}

.insurance-sub-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 2px;
}

.insurance-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.insurance-card-desc {
    font-size: 0.94rem;
    line-height: 1.68;
    color: var(--text-charcoal);
    margin-bottom: 1.25rem;
}

.insurance-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.insurance-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--text-charcoal);
    font-weight: 500;
    line-height: 1.48;
}

.insurance-feature-list li i {
    width: 17px;
    height: 17px;
    color: #059669;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Condensed Premium Insurance Highlights Pills */
.insurance-highlights-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.ins-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
    background: #fbf8f5;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-warm);
    letter-spacing: 0.015em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.insurance-frame-card:hover .ins-pill {
    background: #ffffff;
    border-color: rgba(128, 0, 0, 0.2);
}

.ins-pill i {
    width: 13px;
    height: 13px;
    color: var(--primary-accent);
}

.insurance-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-warm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.insurance-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e3a2f;
    background: #ecfdf5;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: statusPulse 2s infinite ease-in-out;
}

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

/* Insurance Helpdesk & Pre-Authorization Banner */
.insurance-helpdesk-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #fdfaf8 0%, #ffffff 50%, #fbf5f0 100%);
    border: 1.5px solid rgba(128, 0, 0, 0.16);
    border-radius: var(--radius-lg);
    padding: 1.6rem 2.2rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 10px 28px rgba(128, 0, 0, 0.05);
    gap: 1.5rem;
}

.insurance-helpdesk-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
}

.insurance-helpdesk-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--light-red);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid rgba(128, 0, 0, 0.15);
}

.insurance-helpdesk-icon i {
    width: 24px;
    height: 24px;
}

.insurance-helpdesk-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-dark);
}

.insurance-helpdesk-text p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.insurance-helpdesk-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.btn-insurance-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius-pill);
    background: var(--primary-accent);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 4px 14px rgba(128, 0, 0, 0.18);
    transition: var(--transition);
}

.btn-insurance-call:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.28);
}

.btn-insurance-call i {
    width: 16px;
    height: 16px;
}

.btn-insurance-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius-pill);
    background: #25d366;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.22);
    transition: var(--transition);
}

.btn-insurance-wa:hover {
    background: #1eb857;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}

.btn-insurance-wa i {
    width: 16px;
    height: 16px;
}

/* Accepted TPA & Scheme Badges Ribbon */
.insurance-partners-strip {
    background: #ffffff;
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.insurance-partners-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary-accent);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.insurance-partners-label i {
    width: 15px;
    height: 15px;
}

.insurance-partner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    flex: 1;
}

.tpa-badge {
    display: inline-block;
    padding: 0.32rem 0.8rem;
    background: var(--bg-warm-tint);
    color: var(--text-charcoal);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tpa-badge:hover {
    background: #ffffff;
    border-color: rgba(128, 0, 0, 0.25);
    color: var(--primary-accent);
    transform: translateY(-1px);
}

/* Responsive adjustments for Insurance Section */
@media (max-width: 992px) {
    .insurance-frames-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .insurance-helpdesk-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .insurance-helpdesk-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .btn-insurance-call, .btn-insurance-wa {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .insurance-frame-card {
        padding: 1.5rem 1.25rem;
    }

    .insurance-card-badge {
        position: static;
        margin-bottom: 0.75rem;
        align-self: flex-start;
    }

    .insurance-card-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .insurance-title-group {
        padding-right: 0;
    }

    .insurance-card-title {
        font-size: 1.2rem;
    }

    .insurance-helpdesk-actions {
        flex-direction: column;
    }

    .btn-insurance-call, .btn-insurance-wa {
        width: 100%;
    }
}

/* ==========================================================================
   REAL HOSPITAL FACILITY SHOWCASE & SLOW-MOTION CURSOR ANIMATIONS
   ========================================================================== */
.facility-showcase-section {
    margin-top: 2.75rem;
    padding-top: 2rem;
    border-top: 1.5px solid var(--border-warm);
}

.facility-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    margin-top: 1.35rem;
}

.facility-photo-card {
    background: #ffffff;
    border: 1.5px solid var(--border-warm);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateZ(0);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.facility-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(128, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(128, 0, 0, 0.28);
}

.facility-photo-frame {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #fdf5f3;
}

.facility-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), filter 0.85s ease;
    will-change: transform;
}

/* Slow-motion cinematic zoom on cursor hover */
.facility-photo-card:hover .facility-photo-img,
.detail-arch-frame:hover img,
.service-card:hover .service-card-photo,
.service-showcase-card:hover .service-showcase-img,
.dept-card-photo:hover img {
    transform: scale(1.065);
    filter: brightness(1.03) contrast(1.02);
}

/* Slow-motion light sweep sheen on cursor hover */
.facility-photo-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 1.1s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    z-index: 2;
}

.facility-photo-card:hover .facility-photo-frame::after {
    left: 150%;
}

.facility-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(0,0,0,0.18) 100%);
    opacity: 0.28;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.facility-photo-card:hover .facility-photo-overlay {
    opacity: 0.12;
}

.facility-photo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--primary-accent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(128, 0, 0, 0.12);
    z-index: 2;
}

.facility-photo-badge i {
    width: 13px;
    height: 13px;
}

.facility-card-body {
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.facility-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.35rem 0;
    line-height: 1.35;
}

.facility-card-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

/* Detail page summary frame */
.detail-summary-card {
    background: linear-gradient(135deg, #fdf8f5 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-accent);
    border-top: 1px solid var(--border-warm);
    border-right: 1px solid var(--border-warm);
    border-bottom: 1px solid var(--border-warm);
    padding: 1.2rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(128, 0, 0, 0.03);
}

.detail-summary-card p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.68;
    color: var(--text-charcoal);
    font-weight: 500;
}

.detail-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.94rem;
}

.detail-highlight-item i {
    color: var(--primary-accent);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Real Hospital Facility Showcase Grid on Home Page */
.facility-marquee-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.35rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .facility-photo-frame {
        height: 190px;
    }
    .facility-showcase-grid {
        grid-template-columns: 1fr;
    }
}




/* ==========================================================================
   BRIGHTNESS, CONTRAST & CLARITY ENHANCEMENTS FOR MEDICAL FACILITY PHOTOS
   ========================================================================== */
.service-card-photo,
.service-showcase-img,
.facility-photo-img,
.dept-showcase-header-box img,
.dept-card-photo img,
.detail-arch-frame img {
    filter: brightness(1.05) contrast(1.04) saturate(1.04);
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.service-card:hover .service-card-photo,
.service-showcase-card:hover .service-showcase-img,
.facility-photo-card:hover .facility-photo-img,
.dept-showcase-card:hover .dept-showcase-header-box img,
.dept-card-photo:hover img,
.detail-arch-frame:hover img {
    transform: scale(1.06);
    filter: brightness(1.10) contrast(1.07) saturate(1.08);
}
