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

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --secondary: #0284c7;
    --secondary-glow: rgba(2, 132, 199, 0.15);
    --accent: #dc2626;
    --accent-glow: rgba(220, 38, 38, 0.15);
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --dark-grad: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.25);
    --glass-bg-dark: rgba(10, 42, 102, 0.4);
    --border-radius: 12px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* MILLION DOLLAR TYPOGRAPHY OPTIONS */
    --font-heading: "Outfit", "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Inter", "Open Sans", "Helvetica Neue", Arial, sans-serif;
    --font-ui: "Inter", "Roboto", "Helvetica", Arial, sans-serif;

    /* FLUID TYPOGRAPHY: Scales perfectly from mobile to 4K displays */
    --fs-base: 16px;
    --fs-h1: clamp(2.3rem, 5vw + 1rem, 3.8rem);
    --fs-h2: clamp(1.8rem, 3.5vw + 0.8rem, 2.6rem);
    --fs-h3: clamp(1.4rem, 2.5vw + 0.5rem, 1.8rem);
    --fs-h4: clamp(1.15rem, 1.5vw + 0.5rem, 1.35rem);
    --fs-body: clamp(0.95rem, 1vw + 0.5rem, 1.1rem);
    --fs-small: clamp(0.8rem, 0.5vw + 0.6rem, 0.9rem);

    /* FLUID SPACING (Automatically scales paddings for mobile vs desktop) */
    --section-y: clamp(60px, 8vw, 120px);
    --section-px: 5%;
    --section-padding: var(--section-y) var(--section-px);
    --section-padding-large: clamp(80px, 10vw, 150px) var(--section-px);
    /* 14px */

    /* line-heights */
    --lh-heading: 1.25;
    --lh-body: 1.8;
    --lh-tight: 1.25;

    /* letter spacing */
    --ls-heading: 0.2px;
    --ls-uppercase: 1px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.insurance-badge {
    background: #fff;
    border: 1px solid rgba(10, 42, 102, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.insurance-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
    color: var(--secondary);
}

.premium-badge-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

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

body {
    overflow-x: hidden;
    width: 100%;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--text-dark);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: var(--lh-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
    font-weight: 700;
}

h1 {
    font-family: var(--font-heading);
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
}

h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.25;
}

h3 {
    font-family: var(--font-body);
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.35;
}

h4 {
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-weight: 600;
}

h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

/* ═══════════════════════════════════════════ */
/* PRELOADER                                   */
/* ═══════════════════════════════════════════ */
.preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0A2A66, #061A40);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.pl-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pl-logo {
    width: 320px;
    max-width: 85vw;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.pl-orbit {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawOrbit 1.5s ease-in-out forwards;
    stroke: #00A8A8;
}

@keyframes drawOrbit {
    to {
        stroke-dashoffset: 0;
    }
}

.pl-k {
    opacity: 0;
    animation: fadeUpLetter 0.8s ease forwards 0.2s;
    fill: var(--white);
}

.pl-h {
    opacity: 0;
    animation: fadeUpLetter 0.8s ease forwards 0.4s;
    fill: var(--white);
}

@keyframes fadeUpLetter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pl-text-1 {
    opacity: 0;
    animation: fadeRightText 0.8s ease forwards 0.6s;
    fill: var(--white);
}

.pl-text-2 {
    opacity: 0;
    animation: fadeRightText 0.8s ease forwards 0.8s;
    fill: var(--secondary);
}

@keyframes fadeRightText {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pl-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.2) 0%, transparent 70%);
    animation: pulseGlow 2s infinite alternate;
    z-index: 1;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════ */
/* SCROLL REVEAL + ANIMATIONS                 */
/* ═══════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.stagger-child {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-child.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════ */
/* EMERGENCY STRIP                             */
/* ═══════════════════════════════════════════ */
.emergency-strip {
    /* Premium animated background gradient */
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    background-size: 200% auto;
    animation: emergencyGradient 10s ease infinite;
    color: var(--white);
    padding: 10px 5%;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 10001;

    z-index: 10001;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.4);
    width: 100%;
    box-sizing: border-box;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes emergencyGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.emergency-strip span {
    font-weight: 600;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Ambulance Siren Video */
.siren-video {
    width: 32px;
    height: 32px;
    object-fit: contain;
    mix-blend-mode: screen;
    /* Removes black backgrounds from standard VFX video */
    filter: drop-shadow(0 0 10px rgba(255, 59, 48, 0.4)) contrast(1.2);
    border-radius: 50%;
    margin-right: -2px;
}

.emergency-strip a.btn-call {
    background: var(--white);
    color: #1e3c72;
    padding: 8px 24px;
    border-radius: 30px;
    /* Pill shape for premium feel */
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    animation: pulseCallBtn 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulseCallBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.emergency-strip a.btn-call::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 60, 114, 0.1), transparent);
    transition: 0.5s;
}

.emergency-strip a.btn-call:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    color: #2a5298;
}

.emergency-strip a.btn-call:hover::before {
    left: 100%;
}

/* ═══════════════════════════════════════════ */
/* HEADER - GLASSMORPHISM NAVBAR               */
/* ═══════════════════════════════════════════ */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 7px 5%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo {
    display: flex;
    align-items: center;
}

.main-logo-img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.main-logo-img:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 55px;
    width: auto;
    margin-bottom: 35px;
}

.main-nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.main-nav>li {
    position: relative;
}

.main-nav>li>a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    position: relative;
    padding: 10px 14px;
    border-radius: 10px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.nav-arrow {
    font-size: 0.55rem;
    transition: var(--transition);
    opacity: 0.5;
}

.has-mega:hover .nav-arrow,
.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.main-nav>li>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: var(--transition);
    border-radius: 3px;
}

.main-nav>li>a:hover::after,
.main-nav>li>a.active::after {
    width: 60%;
}

.main-nav>li>a:hover {
    color: var(--secondary);
    background: rgba(0, 168, 168, 0.04);
}

.main-nav>li>a.active {
    color: var(--secondary);
}

/* Nav CTA Button */
.nav-cta {
    margin-left: 8px;
}

.nav-btn {
    padding: 10px 22px !important;
    font-size: 0.8rem !important;
    border-radius: 12px !important;
}

.nav-btn::after {
    display: none !important;
}

/* ── MEGA MENU ── */
.mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 820px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(10, 42, 102, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    pointer-events: none;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--white);
    border-radius: 3px;
    rotate: 45deg;
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.03);
}

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

/* Hover bridge */
.has-mega::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

.mega-col h5 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 168, 168, 0.15);
}

.mega-col h5 i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.mega-col ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-col ul li a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.mega-col ul li a::after {
    display: none;
}

.mega-col ul li a:hover {
    background: rgba(0, 168, 168, 0.06);
    color: var(--primary);
    padding-left: 16px;
}

.mega-highlight {
    background: linear-gradient(135deg, rgba(10, 42, 102, 0.03), rgba(0, 168, 168, 0.05));
    padding: 20px;
    border-radius: 14px;
    margin: -10px;
    padding: 20px;
}

/* ── DROPDOWN MENU ── */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(10, 42, 102, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 2px;
    rotate: 45deg;
    box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.03);
}

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

.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown li a::after {
    display: none;
}

.dropdown li a i {
    color: var(--secondary);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.dropdown li a:hover {
    background: rgba(0, 168, 168, 0.06);
    color: var(--primary);
    padding-left: 18px;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 4px 10px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    z-index: 1001;
}

/* Explicitly hide mobile toggle and show nav on desktop */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }

    nav {
        position: static !important;
        width: auto !important;
        background: transparent !important;
    }

    .main-nav {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border-top: none !important;
        clip-path: none !important;
    }
}

/* ── APPOINTMENT FORM ── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 168, 168, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    cursor: pointer;
    appearance: auto;
}

/* Working Hours */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.02);
    font-size: 0.9rem;
}

.hour-time {
    font-weight: 700;
    color: var(--primary);
}

.emergency-row {
    background: rgba(225, 6, 0, 0.05);
    border: 1px solid rgba(225, 6, 0, 0.1);
}

.emergency-row .hour-time {
    color: var(--accent);
}

.emergency-row i {
    color: var(--accent);
    margin-right: 5px;
}

/* Insurance Badges */
.insurance-badge {
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(0, 168, 168, 0.08);
    border: 1px solid rgba(0, 168, 168, 0.15);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════ */
/* BUTTONS - PREMIUM WITH GLOW                 */
/* ═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--ls-uppercase);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-ui);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #f8fafc;
    color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
}

.btn-accent:hover {
    background: #b91c1c;
    /* slightly darker red */
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.2);
}

.btn-secondary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.hero .btn-outline,
.page-header-premium .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(0, 168, 168, 0.3);
}

/* ═══════════════════════════════════════════ */
/* SECTIONS                                    */
/* ═══════════════════════════════════════════ */
section {
    padding: 100px 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 1.15rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(10, 42, 102, 0.05));
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 168, 168, 0.2);
}

/* ═══════════════════════════════════════════ */
/* HERO - CINEMATIC SLIDESHOW                  */
/* ═══════════════════════════════════════════ */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: var(--white);
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease;
    transform: scale(1.05);
}

.hero-slide-bg.active {
    opacity: 1;
    transform: scale(1);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 26, 64, 0.92) 0%, rgba(10, 42, 102, 0.7) 40%, rgba(0, 168, 168, 0.15) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: 1;
}

/* Floating particles in hero */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 168, 168, 0.5);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content .section-badge {
    background: rgba(0, 168, 168, 0.15);
    border-color: rgba(0, 168, 168, 0.3);
}

.hero h1 {
    font-size: var(--fs-h1);
    color: var(--white);
    line-height: var(--lh-heading);
    margin-bottom: 35px;
    letter-spacing: var(--ls-heading);
    font-weight: 700;
}

.hero h1 .highlight-text {
    color: #00f2fe;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--white);
    opacity: 0.9;
    max-width: 650px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-btns .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.hero-btns .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.trust-line {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-line .trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 12px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.trust-line .trust-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.trust-line i {
    color: var(--secondary);
    font-size: 1.3rem;
}

/* Hero scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 28px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 4px;
    animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 26px;
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════ */
/* STATS COUNTER BAR                           */
/* ═══════════════════════════════════════════ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.stat-item {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.stat-item:hover {
    background: var(--primary);
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label,
.stat-item:hover .stat-icon {
    color: var(--white);
}

.stat-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 12px;
    display: block;
    transition: var(--transition);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
    transition: var(--transition);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

/* ═══════════════════════════════════════════ */
/* GLASSMORPHISM                               */
/* ═══════════════════════════════════════════ */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(10, 42, 102, 0.06);
    border-radius: var(--border-radius);
}

/* ═══════════════════════════════════════════ */
/* GRIDS                                       */
/* ═══════════════════════════════════════════ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* ═══════════════════════════════════════════ */
/* ABOUT SECTION                               */
/* ═══════════════════════════════════════════ */
.about-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.about-img::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 3px solid var(--secondary);
    border-radius: 26px;
    transform: translate(12px, 12px);
    z-index: -1;
    opacity: 0.4;
}

.about-img img {
    transition: var(--transition);
}

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

.about-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 35px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(0, 168, 168, 0.05);
    border: 1px solid rgba(0, 168, 168, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.about-feature-item:hover {
    background: rgba(0, 168, 168, 0.1);
    transform: translateX(5px);
}

.about-feature-item i {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* ═══════════════════════════════════════════ */
/* CENTERS OF EXCELLENCE                       */
/* ═══════════════════════════════════════════ */
.excellence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    margin-bottom: 24px;
}

.highlight-card {
    padding: 32px 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(10, 42, 102, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 4px 0 0 4px;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 42, 102, 0.08);
    border-color: rgba(10, 42, 102, 0.15);
}

.highlight-card:hover::before {
    background: var(--secondary);
}

.highlight-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(10, 42, 102, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.highlight-card:hover .highlight-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(10, 42, 102, 0.15);
}

.highlight-content {
    flex-grow: 1;
}

.highlight-card h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 700;
}

.highlight-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.highlight-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.highlight-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

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

.highlight-card:hover .highlight-link i {
    transform: translateX(4px);
}

.small-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.small-card {
    padding: 24px 20px;
    text-align: left;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    cursor: pointer;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(10, 42, 102, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.small-card::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.small-card i:not(.fa-chevron-right) {
    font-size: 1.6rem;
    color: var(--secondary);
    transition: all 0.3s ease;
    width: 32px;
    text-align: center;
}

.small-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 42, 102, 0.06);
    border-color: rgba(10, 42, 102, 0.15);
    background: linear-gradient(to right, #ffffff, rgba(0, 168, 168, 0.03));
}

.small-card:hover::after {
    opacity: 1;
    transform: translateX(0);
    color: var(--secondary);
}

.small-card:hover i:not(.fa-chevron-right) {
    color: var(--primary);
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════ */
/* WHY CHOOSE US                               */
/* ═══════════════════════════════════════════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    transition: var(--transition);
    border-radius: 16px;
    font-weight: 500;
    border: 1px solid transparent;
}

.why-item:hover {
    transform: translateX(8px);
    background: rgba(0, 168, 168, 0.04);
    border-color: rgba(0, 168, 168, 0.15);
}

.why-item i {
    color: var(--secondary);
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.15), rgba(0, 168, 168, 0.05));
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
    transition: var(--transition);
}

.why-item:hover i {
    background: var(--secondary);
    color: var(--white);
    transform: rotate(5deg);
}

/* ═══════════════════════════════════════════ */
/* AMBULANCE SECTION                           */
/* ═══════════════════════════════════════════ */
.ambulance-section {
    background: var(--dark-grad);
    color: var(--white);
    border-radius: 40px;
    margin: 0 5%;
    padding: 80px 6%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(10, 42, 102, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.ambulance-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.15) 0%, transparent 70%);
    animation: pulseGlow 4s ease infinite alternate;
}

.ambulance-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.ambulance-image-wrapper {
    flex: 1;
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.ambulance-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambulance-section:hover .ambulance-image-wrapper img {
    transform: scale(1);
}

.ambulance-section h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ambulance-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.ambulance-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 35px;
}

.ambulance-features span {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.ambulance-features i {
    color: var(--white);
    background: rgba(225, 6, 0, 0.3);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════ */
/* TECHNOLOGY SECTION                          */
/* ═══════════════════════════════════════════ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tech-card {
    padding: 40px 60px;
    text-align: center;
    transition: var(--transition);
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

.tech-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.tech-card:hover i {
    color: var(--secondary);
    transform: scale(1.1);
}

.tech-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* ═══════════════════════════════════════════ */
/* DOCTORS SECTION                             */
/* ═══════════════════════════════════════════ */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
    justify-content: center;
    gap: 50px;
}

.doctor-card {
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    padding: 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.doctor-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.doctor-img-wrapper {
    position: relative;
    overflow: hidden;
}

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

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

.doctor-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
}

.doctor-info {
    padding: 25px 30px 30px;
    text-align: center;
}

.doctor-info h4 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.doctor-link-wrapper {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.doctor-name-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: var(--transition);
}

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

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

.doctor-info p {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.doctor-info .exp {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ═══════════════════════════════════════════ */
/* TESTIMONIALS                                */
/* ═══════════════════════════════════════════ */
.testimonials-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.06) 0%, transparent 70%);
}

.slider-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    padding: 50px 50px;
    border-radius: 30px;
}

.slide {
    display: none;
    animation: fadeUp 0.7s ease;
}

.slide.active {
    display: block;
}

.quote-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    opacity: 0.15;
    margin-bottom: 15px;
}

.slide p {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 35px;
    line-height: 1.7;
}

.slide .stars {
    color: #FFB800;
    margin-bottom: 12px;
    font-size: 1.3rem;
    letter-spacing: 3px;
}

.slide h5 {
    font-size: 1.1rem;
    color: var(--primary);
    font-family: var(--font-heading);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary);
    width: 32px;
    border-radius: 12px;
}

/* ═══════════════════════════════════════════ */
/* MAP SECTION                                 */
/* ═══════════════════════════════════════════ */
.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    height: 450px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ═══════════════════════════════════════════ */
/* FOOTER                                      */
/* ═══════════════════════════════════════════ */
footer {
    background: linear-gradient(180deg, #061A40 0%, #040F28 100%);
    color: var(--white);
    padding: 80px 5% 20px;
    font-family: var(--font-body);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 14px;
    font-family: var(--font-heading);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    border-radius: 3px;
}

.footer-col p {
    color: #94A3B8;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.7;
}

.footer-col p i {
    color: var(--secondary);
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul a {
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-col ul a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--secondary);
}

.footer-col ul a:hover {
    color: var(--white);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-5px) rotate(5deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748B;
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════ */
/* FLOATING ELEMENTS                           */
/* ═══════════════════════════════════════════ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25D366;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.floating-emergency {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #E10600, #ff3333);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.sticky-appointment {
    position: fixed;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 18px 22px;
    border-radius: 16px 0 0 16px;
    box-shadow: -5px 0 25px rgba(10, 42, 102, 0.2);
    z-index: 1000;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 700;
    letter-spacing: 2.5px;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-size: 0.85rem;
}

.sticky-appointment:hover {
    right: 0;
    background: linear-gradient(135deg, var(--secondary), #00c4c4);
}

/* ═══════════════════════════════════════════ */
/* PAGE HEADERS FOR INTERNAL PAGES             */
/* ═══════════════════════════════════════════ */
.page-header {
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 42, 102, 0.95) 0%, rgba(9, 32, 74, 0.6) 100%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 5%;
}

.page-header h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Premium Neurology Styles */
.premium-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 35px;
    color: var(--text-light);
}

.premium-glass {
    padding: 30px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    transition: var(--transition);
}

.premium-glass:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.glass-title {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
}

.premium-service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 0;
}

.premium-service-list li {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.premium-service-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 168, 168, 0.1);
    border-color: var(--secondary);
}

.icon-glow {
    color: var(--accent);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(225, 6, 0, 0.4));
}

.advanced-diag-card {
    background: var(--bg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 30px;
    padding: 0;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.advanced-diag-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(10, 42, 102, 0.15);
}

.advanced-diag-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 4px solid var(--secondary);
}

.advanced-diag-content {
    padding: 40px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, transparent, var(--white) 15%);
}

.advanced-diag-content i.main-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 10px 15px rgba(10, 42, 102, 0.2));
}

.advanced-diag-content h3 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.advanced-diag-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-group-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.page-header-premium {
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 42, 102, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

/* ═══════════════════════════════════════════ */
/* RESPONSIVE                                  */
/* ═══════════════════════════════════════════ */
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .ambulance-section {
        flex-direction: column;
        text-align: center;
    }

    .ambulance-features {
        align-items: center;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        margin: -40px 5% 0;
    }
}

@media (max-width: 991px) {

    .why-grid,
    .excellence-grid {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-header h1 {
        font-size: 3rem;
    }

    .floating-emergency {
        display: flex;
    }

    .sticky-appointment {
        display: none;
    }

    .floating-whatsapp {
        left: 20px;
        bottom: 20px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .floating-emergency {
        right: 20px;
        bottom: 20px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 15px 15px 40px 15px;
        gap: 2px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
        border-radius: 0 0 20px 20px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .main-nav>li>a {
        padding: 12px 16px;
    }

    /* Mobile mega menu */
    .mega-menu {
        position: static;
        transform: none;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 15px;
        box-shadow: none;
        border-radius: 14px;
        background: var(--bg);
        pointer-events: auto;
        display: none;
        margin-top: 5px;
    }

    .mega-menu::before {
        display: none;
    }

    .has-mega.mobile-open .mega-menu {
        display: grid;
    }

    .has-mega::after {
        display: none;
    }

    .mega-highlight {
        grid-column: 1 / -1;
    }

    /* Mobile dropdown */
    .dropdown {
        position: static;
        transform: none;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 14px;
        background: var(--bg);
        pointer-events: auto;
        display: none;
        margin-top: 5px;
        padding: 8px;
    }

    .dropdown::before {
        display: none;
    }

    .has-dropdown.mobile-open .dropdown {
        display: flex;
    }

    .has-dropdown::after {
        display: none;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 5px;
    }

    .nav-btn {
        width: 100% !important;
        text-align: center;
    }

    .hero {
        height: auto;
        padding: 150px 5% 100px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .trust-line {
        justify-content: center;
    }

    section {
        padding: 60px 5%;
    }

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

    .ambulance-section {
        margin: 0;
        border-radius: 0;
    }

    .ambulance-section h2 {
        font-size: 1.8rem;
    }

    .highlight-card i {
        font-size: 2.5rem;
    }

    .highlight-card p {
        font-size: 1rem;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        margin: -30px 5% 0;
        border-radius: 12px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .scroll-indicator {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .trust-line {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .trust-line .trust-item {
        width: 100%;
        justify-content: center;
    }

    .mega-menu {
        grid-template-columns: 1fr;
    }

    .emergency-strip {
        background: #dc2626;
        color: var(--white);
        padding: 8px 5%;
        text-align: center;
        font-size: 0.875rem;
        font-weight: 500;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        position: sticky;
        top: 0;
        z-index: 1001;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

\n html {
    font-size: 16px;
}

/* Global Small Text Utility */
.small {
    font-family: var(--font-body);
    font-size: var(--fs-small);
}

/* Typography Scale Media Queries */
@media (max-width: 1023px) {

    /* tablet */
    :root {
        --fs-h1: 2.5rem;
        /* 40px */
        --fs-h2: 2rem;
        /* 32px */
        --fs-h3: 1.5rem;
        /* 24px */
    }
}

@media (max-width: 767px) {

    /* mobile */
    :root {
        --fs-h1: 1.75rem;
        /* 28px */
        --fs-h2: 1.5rem;
        /* 24px */
        --fs-h3: 1.25rem;
        /* 20px */
        --fs-body: 0.9375rem;
        /* 15px */
        --fs-h4: 1.125rem;
        /* 18px */
    }

    .main-nav>li>a {
        font-size: 1rem;
    }
}


/* ═══════════════════════════════════════════ */
/* ULTIMATE MOBILE MENU ALIGNMENT FIX          */
/* ═══════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Header constraints */
    header {
        padding: 12px 20px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: sticky;
        top: 0;
    }

    header.scrolled {
        padding: 10px 20px !important;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .main-logo-img {
        height: 40px !important;
        width: auto !important;
        object-fit: contain;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(10, 42, 102, 0.04);
        color: var(--primary);
        border-radius: 12px;
        font-size: 1.3rem !important;
        margin-left: auto;
    }

    /* Global Nav Root */
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: transparent;
    }

    .main-nav {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: auto !important;
        max-height: calc(100vh - 70px) !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        padding: 0 0 40px 0 !important;
        gap: 0 !important;
        border-radius: 0 !important;
        border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
        display: flex;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .main-nav>li {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .main-nav>li>a {
        width: 100% !important;
        padding: 18px 25px !important;
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        color: var(--text-dark) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        border-radius: 0 !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        /* Push dropdown icon to far right */
        align-items: center !important;
        background: transparent !important;
    }

    .nav-arrow {
        position: static !important;
        font-size: 0.8rem !important;
        color: var(--primary) !important;
    }

    /* Submenus - Dropdowns and Mega Menus */
    .mega-menu,
    .dropdown {
        position: static !important;
        width: 100% !important;
        padding: 0 25px 25px 25px !important;
        background: #F8FAFC !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        display: none !important;
        flex-direction: column !important;
        gap: 20px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Make Mega Cols stack vertically */
    .mega-col {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
    }

    .has-mega.mobile-open .mega-menu,
    .has-dropdown.mobile-open .dropdown {
        display: flex !important;
    }

    /* Styling inside mega menu */
    .mega-col h5 {
        font-size: 1rem !important;
        margin-top: 15px !important;
        margin-bottom: 12px !important;
        color: var(--primary) !important;
        font-weight: 800 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .mega-col ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .dropdown {
        padding: 15px 25px 25px 25px !important;
        list-style: none !important;
    }

    .mega-col ul li,
    .dropdown li {
        width: 100% !important;
    }

    .mega-col ul li a,
    .dropdown li a {
        width: 100% !important;
        padding: 14px 15px !important;
        font-size: 0.95rem !important;
        color: var(--text-dark) !important;
        display: block !important;
        border-radius: 8px !important;
        border: none !important;
        background: #ffffff !important;
        margin-bottom: 6px !important;
        font-weight: 500 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    }

    .nav-cta {
        margin: 25px 20px 10px 20px !important;
        width: auto !important;
        padding: 0 !important;
    }

    .nav-btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 16px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
        color: var(--white) !important;
        border: none !important;
        box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3) !important;
        letter-spacing: 0.3px !important;
    }

    /* Top Strip Clean Up */
    .emergency-strip {
        background: #1a3a7a !important;
        color: var(--white) !important;
        padding: 5px 0 !important;
        font-size: 0.75rem !important;
        display: block !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    .emergency-strip .marquee-content {
        display: flex !important;
        animation: marquee 20s linear infinite !important;
    }

    .emergency-strip .marquee-item {
        display: flex !important;
        align-items: center !important;
        gap: 20px !important;
        padding-right: 20px !important;
    }

    .emergency-strip span {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .emergency-strip a.btn-call {
        background: var(--white) !important;
        color: #1a3a7a !important;
        padding: 4px 12px !important;
        border-radius: 50px !important;
        font-size: 0.7rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        display: inline-block !important;
    }
}


/* ========================================================= */
/* ULTIMATE PREMIUM UPGRADES                                 */
/* ========================================================= */

.image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(10, 42, 102, 0.06);
    background: #000;
}

.image-card img.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}

.image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 42, 102, 0) 0%, rgba(10, 42, 102, 0.95) 100%);
    transition: opacity 0.4s;
    z-index: 1;
}

.image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(10, 42, 102, 0.15);
}

.image-card:hover img.bg {
    transform: scale(1.1);
    opacity: 1;
}

.image-card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: white;
    width: 100%;
}

.image-card-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 12px;
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-card-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-card:hover .image-card-content h3 {
    transform: translateY(0);
}

.image-card:hover .image-card-content p {
    opacity: 1;
    transform: translateY(0);
}

.image-card-content .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-card:hover .image-card-content .btn {
    opacity: 1;
    transform: translateY(0);
}


.small-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.small-image-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    background: #000;
}

.small-image-card img.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.7;
}

.small-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 42, 102, 0.8), rgba(0, 168, 168, 0.6));
    transition: background 0.4s;
    z-index: 1;
}

.small-image-card:hover img.bg {
    transform: scale(1.15);
    opacity: 0.9;
}

.small-image-card:hover::before {
    background: linear-gradient(135deg, rgba(10, 42, 102, 0.6), rgba(0, 168, 168, 0.4));
}

.small-image-card-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
    transform: translateY(5px);
    transition: transform 0.4s;
}

.small-image-card:hover .small-image-card-content {
    transform: translateY(0);
}

.small-image-card i {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.small-image-card span {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tech-card.tech-card-img {
    padding: 24px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(10, 42, 102, 0.06);
    display: flex;
    flex-direction: column;
}

.tech-card-img .tech-img-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

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

.tech-card-img:hover img.feat {
    transform: scale(1.1);
}

.tech-card-img h4 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.tech-card-img p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

.premium-why-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.premium-why-item {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.premium-why-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(10, 42, 102, 0.06);
    border-color: rgba(10, 42, 102, 0.08);
}

.premium-why-icon {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 18px;
    background: rgba(0, 168, 168, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.premium-why-item:hover .premium-why-icon {
    background: var(--primary);
    color: white;
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(10, 42, 102, 0.15);
}

.premium-why-text h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.premium-why-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════ */
/* HERO SEARCH BAR                             */
/* ═══════════════════════════════════════════ */
.hero-search-wrapper {
    position: relative;
    max-width: 600px;
    margin-bottom: 30px;
    z-index: 10;
}

.hero-search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 8px 10px 8px 25px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-search-container:focus-within {
    background: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 15px 40px rgba(2, 132, 199, 0.15);
}

.hero-search-container .search-icon {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.4s ease;
}

.hero-search-container:focus-within .search-icon {
    color: var(--primary);
}

.hero-search-container input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-dark);
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.hero-search-container input::placeholder {
    color: var(--text-light);
}

.hero-search-container:focus-within input {
    color: var(--text-dark);
}

.hero-search-container:focus-within input::placeholder {
    color: var(--text-light);
}

.hero-search-container .search-btn {
    border-radius: 40px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 168, 168, 0.3);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(10, 42, 102, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
    max-height: 350px;
    overflow-y: auto;
}

.search-suggestions.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(0, 168, 168, 0.05);
    padding-left: 25px;
}

.suggestion-item.selected {
    background: rgba(0, 168, 168, 0.08);
    border-left: 4px solid var(--secondary);
    padding-left: 21px;
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(10, 42, 102, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

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

.suggestion-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}

.suggestion-type {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* ═══════════════════════════════════════════ */
/* COMPREHENSIVE MOBILE & TABLET RESPONSIVENESS */
/* ═══════════════════════════════════════════ */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .grid-2 {
        gap: 30px;
    }

    .stats-bar {
        max-width: 90%;
        margin-top: -40px;
    }
}

/* Tablets (iPad) */
@media (max-width: 992px) {
    section {
        padding: 80px 5%;
    }

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

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
        position: static;
        box-shadow: none;
        gap: 15px;
        max-width: 100%;
    }

    .stat-item {
        border-radius: 12px;
        padding: 30px 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .about-img {
        min-height: 400px;
        margin-top: 30px;
    }

    .ambulance-grid {
        grid-template-columns: 1fr;
    }


}

/* Mobile Devices */
@media (max-width: 768px) {
    section {
        padding: 60px 5%;
    }

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

    /* Hero Adjustments */
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 100px 5% 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .hero p {
        font-size: 1.05rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-search-wrapper {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-search-container {
        padding: 5px 12px;
        margin-bottom: 20px;
    }

    .hero-search-container input {
        font-size: 0.9rem;
    }

    .hero-search-container .search-icon {
        font-size: 1rem;
        margin-right: 8px;
    }

    .hero-search-container .search-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .hero-btns {
        display: flex;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        margin-bottom: 35px;
        max-width: 400px;
        margin-left: auto;
        padding: 15px 20px;
        color: var(--text-dark);
        text-decoration: none;
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }

    .suggestion-item:last-child {
        border-bottom: none;
    }

    .suggestion-item:hover {
        background: rgba(0, 168, 168, 0.05);
        padding-left: 25px;
    }

    .suggestion-item.selected {
        background: rgba(0, 168, 168, 0.08);
        border-left: 4px solid var(--secondary);
        padding-left: 21px;
    }

    .suggestion-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(10, 42, 102, 0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--secondary);
        font-size: 1.1rem;
        flex-shrink: 0;
    }

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

    .suggestion-title {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--primary);
    }

    .suggestion-type {
        font-size: 0.8rem;
        color: var(--text-light);
        font-weight: 500;
    }

    .no-results {
        padding: 20px;
        text-align: center;
        color: var(--text-light);
        font-style: italic;
    }
}

/* ═══════════════════════════════════════════ */
/* COMPREHENSIVE MOBILE & TABLET RESPONSIVENESS */
/* ═══════════════════════════════════════════ */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .grid-2 {
        gap: 30px;
    }

    .stats-bar {
        max-width: 90%;
        margin-top: -40px;
    }
}

/* Tablets (iPad) */
@media (max-width: 992px) {
    section {
        padding: 80px 5%;
    }

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

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
        position: static;
        box-shadow: none;
        gap: 15px;
        max-width: 100%;
    }

    .stat-item {
        border-radius: 12px;
        padding: 30px 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .about-img {
        min-height: 400px;
        margin-top: 30px;
    }

    .ambulance-grid {
        grid-template-columns: 1fr;
    }


}

/* Mobile Devices */
@media (max-width: 768px) {
    section {
        padding: 60px 5%;
    }

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

    /* Hero Adjustments */
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 100px 5% 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .hero p {
        font-size: 1.05rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-search-wrapper {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-search-container {
        padding: 5px 12px;
        margin-bottom: 20px;
    }

    .hero-search-container input {
        font-size: 0.9rem;
    }

    .hero-search-container .search-icon {
        font-size: 1rem;
        margin-right: 8px;
    }

    .hero-search-container .search-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .hero-btns {
        display: flex;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        margin-bottom: 35px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns .btn {
        width: auto !important;
        flex: 1 1 calc(50% - 10px);
        /* Side by side */
        padding: 12px 15px !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
        justify-content: center;
        white-space: nowrap;
        margin: 0;
    }

    .hero-btns .btn-outline {
        color: var(--white) !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
    }

}

/* ═══════════════════════════════════════════ */
/* MOBILE HEADER & NAV RESPONSIVE STYLES       */
/* ═══════════════════════════════════════════ */
@media (max-width: 768px) {


/* Header constraints */
header {
    padding: 12px 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    top: 0;
}

header.scrolled {
    padding: 10px 20px !important;
}

.logo {
    display: flex;
    align-items: center;
}

.main-logo-img {
    height: 40px !important;
    width: auto !important;
    object-fit: contain;
}

.mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(10, 42, 102, 0.04);
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.3rem !important;
    margin-left: auto;
}

/* Global Nav Root */
nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.main-nav {
    position: relative !important;
    top: 0 !important;

    .suggestion-title {
        font-size: 0.9rem;
    }
}

/* Header constraints */
header {
    padding: 12px 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    top: 0;
}

header.scrolled {
    padding: 10px 20px !important;
}

.logo {
    display: flex;
    align-items: center;
}

.main-logo-img {
    height: 40px !important;
    width: auto !important;
    object-fit: contain;
}

.mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(10, 42, 102, 0.04);
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.3rem !important;
    margin-left: auto;
}

/* Global Nav Root */
nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.main-nav {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
    background: #ffffff !important;
}

.hero-btns .btn:nth-child(3) {
    flex: 1 1 100%;
    /* Third button takes full width nicely */
}

.trust-line {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px auto 0;
    max-width: 340px;
}

.trust-line .trust-item {
    width: 100% !important;
    justify-content: flex-start;
    font-size: 0.75rem !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    /* Sleek rectangle, not pill */
    gap: 8px !important;
    white-space: normal !important;
    text-align: left;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.trust-line i {
    font-size: 1rem !important;
}

/* Stats Bar */
.stat-number {
    font-size: 2.2rem;
}

/* Center text where it matters */
.about-content h2 {
    font-size: 2.2rem;
    text-align: center;
}

.about-content p {
    text-align: center;
}

.about-features {
    grid-template-columns: 1fr;
}

/* Emergency Strip top */
.emergency-strip {
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.emergency-strip .btn-call {
    display: none;
}

.premium-why-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Header constraints */
header {
    padding: 12px 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    top: 0;
}

header.scrolled {
    padding: 10px 20px !important;
}

.logo {
    display: flex;
    align-items: center;
}

.main-logo-img {
    height: 40px !important;
    width: auto !important;
    object-fit: contain;
}

.mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(10, 42, 102, 0.04);
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.3rem !important;
    margin-left: auto;
}

/* Global Nav Root */
nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.main-nav {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    padding: 0 0 40px 0 !important;
    /* No horizontal padding so borders touch edges */
    gap: 0 !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    display: flex;
    flex-direction: column !important;
    align-items: stretch !important;
}

.main-nav>li {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.main-nav>li>a {
    width: 100% !important;
    padding: 18px 25px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    /* Push dropdown icon to far right */
    align-items: center !important;
    background: transparent !important;
}

.nav-arrow {
    position: static !important;
    font-size: 0.8rem !important;
    color: var(--primary) !important;
}

/* Submenus - Dropdowns and Mega Menus */
.mega-menu,
.dropdown {
    position: static !important;
    width: 100% !important;
    padding: 0 25px 25px 25px !important;
    background: #F8FAFC !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: none !important;
    flex-direction: column !important;
    gap: 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Make Mega Cols stack vertically */
.mega-col {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
}

.has-mega.mobile-open .mega-menu,
.has-dropdown.mobile-open .dropdown {
    display: flex !important;
}

/* Styling inside mega menu */
.mega-col h5 {
    font-size: 1rem !important;
    margin-top: 15px !important;
    margin-bottom: 12px !important;
    color: var(--primary) !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.mega-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.dropdown {
    padding: 15px 25px 25px 25px !important;
    list-style: none !important;
}

.mega-col ul li,
.dropdown li {
    width: 100% !important;
}

.mega-col ul li a,
.dropdown li a {
    width: 100% !important;
    padding: 14px 15px !important;
    font-size: 0.95rem !important;
    color: var(--text-dark) !important;
    display: block !important;
    border-radius: 8px !important;
    border: none !important;
    background: #ffffff !important;
    margin-bottom: 6px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.nav-cta {
    margin: 25px 20px 10px 20px !important;
    width: auto !important;
    padding: 0 !important;
}

.nav-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 16px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: var(--white) !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3) !important;
    letter-spacing: 0.3px !important;
}
}

@media (max-width: 576px) {
.section-title {
    font-size: 1.8rem;
}

.hero h1 {
    font-size: 1.8rem;
}

.hero p {
    font-size: 0.95rem;
}


.trust-line .trust-item {
    width: 100% !important;
}

.hero-search-container {
    padding: 5px 8px 5px 15px;
}

.hero-search-container input {
    font-size: 0.85rem;
}

.hero-search-container .search-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.suggestion-item {
    padding: 12px 15px;
}

.suggestion-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

.suggestion-title {
    font-size: 0.9rem;
}
}

@media (max-width: 768px) {
section {
    padding-top: 60px !important;
    padding-bottom: 50px !important;
}

.page-header {
    padding-top: 90px !important;
    padding-bottom: 40px !important;
}

.grid-2 {
    gap: 30px !important;
}

.doctors-grid,
.excellence-grid,
.tech-grid,
.features-grid {
    gap: 20px !important;
}

.section-title {
    font-size: 1.7rem !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

.section-subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 30px !important;
    line-height: 1.5 !important;
}

/* GLOBAL HEADING DOWNSCALING */
h2 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
}

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

h4 {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
}

p,
body {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
}

/* HERO COMPACT OVERRIDES */
.hero {
    padding-top: 100px !important;
    padding-bottom: 40px !important;
}

.hero-content h1 {
    font-size: 1.9rem !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
}

.hero-content p {
    font-size: 0.9rem !important;
    margin-bottom: 25px !important;
    max-width: 95% !important;
}

.hero-search-wrapper {
    margin-bottom: 20px !important;
}

.hero-search-container {
    padding: 5px 10px !important;
}

.hero-search-container input {
    font-size: 0.85rem !important;
}

.hero-search-container .search-btn {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    border-radius: 40px !important;
}

/* STATS BAR */
.stats-bar {
    gap: 12px !important;
    margin-top: 10px !important;
    grid-template-columns: repeat(2, 1fr) !important;
}

.stat-item {
    padding: 15px 10px !important;
    border-radius: 12px !important;
}

.stat-icon {
    font-size: 1.4rem !important;
    margin-bottom: 8px !important;
}

.stat-number {
    font-size: 1.5rem !important;
    margin-bottom: 2px !important;
}

.stat-label {
    font-size: 0.65rem !important;
    letter-spacing: 0.5px !important;
}

/* SPECIFIC COMPACT SECTONS */
.about-content h2 {
    font-size: 1.6rem !important;
}

.doctor-info p {
    font-size: 0.8rem !important;
}

/* DOCTORS CAROUSEL MOBILE */
.doctors-carousel-wrapper {
    margin: 0 -5%;
    padding: 0 5%;
    position: relative;
}

.doctors-carousel-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    padding: 20px 0;
    margin-bottom: 10px;
}

.doctors-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.doctors-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 20px !important;
    width: max-content;
}

.doctor-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
    margin: 0;
}

.doctors-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.doc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.1);
    border: none;
    padding: 0;
    transition: var(--transition);
    cursor: pointer;
}

.doc-dot.active {
    background: var(--secondary);
    width: 25px;
    border-radius: 10px;
}

.btn {
    padding: 10px 18px !important;
    font-size: 0.8rem !important;
}
}

/* Phosphor Icons Global Styling */
.ph,
.ph-fill {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-size: 1.15em;
}

/* Telugu Typography Styles for Bilingual Content */

.telugu-block {
    display: block;
    font-family: 'Ramabhadra', 'Mandali', sans-serif;
    font-weight: 500;
    font-size: 0.85em;
    color: #ffb703; /* Slightly brighter and more golden for premium feel */
    margin-top: 8px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bilingual-desc {
    line-height: 1.8 !important; /* Better spacing for bilingual text */
}

.telugu-desc {
    display: block;
    font-family: 'Mandali', sans-serif;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-top: 12px;
    line-height: 1.6;
    border-left: 3px solid var(--secondary);
    padding-left: 15px;
    opacity: 0.9;
    font-weight: 400;
}

/* Premium Card Paddings for Responsive UI */
.premium-card {
    box-sizing: border-box;
}

.padding-lg {
    padding: 50px;
}

.padding-md {
    padding: 40px;
}

.padding-sm {
    padding: 30px;
}


@media (max-width: 768px) {
    .padding-lg {
        padding: 30px;
    }

    .padding-md {
        padding: 25px;
    }

    .padding-sm {
        padding: 20px;
    }
}

/* ========================================================= */
/* MILLION DOLLAR UI & MOBILE PERFECTION FIXES              */
/* ========================================================= */

/* Sidebar Sticky Functionality - Optimized for Million Dollar UI */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start !important;
    /* Critical for sticky to work */
}

.blog-sidebar {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 110px !important;
    /* Space for the sticky header */
    height: fit-content !important;
    z-index: 10;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .blog-sidebar {
        position: static !important;
        margin-top: 30px;
    }
}

/* Sidebar "Inside the Department" Item Polish */
.blog-sidebar .glass-card>div>div {
    align-items: center !important;
    gap: 15px !important;
}

.blog-sidebar .glass-card>div>div>div:first-child {
    min-width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.blog-sidebar .glass-card>div>div>div:first-child i {
    font-size: 1.6rem !important;
}

/* Emergency Strip Mobile Fixes */
.emergency-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 5%;
    flex-wrap: wrap;
    gap: 15px;
}

.siren-icon {
    animation: blink-red 1s infinite alternate;
}

@keyframes blink-red {
    from {
        color: #dc2626;
        text-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
    }

    to {
        color: #ef4444;
        text-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
    }
}

@media (max-width: 768px) {

    /* Allow emergency strip items to show and scroll instead of hiding */
    .emergency-strip .mobile-hidden {
        display: flex !important;
    }

    .emergency-strip {
        position: relative !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        height: 45px !important;
    }

    .emergency-strip span {
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .emergency-strip .siren-icon {
        font-size: 1.25rem !important;
    }

    .emergency-strip .btn-call {
        padding: 5px 14px !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    }



    .premium-sidebar-call h4 {
        font-size: 1.3rem !important;
    }

    .premium-sidebar-call i.ph-phone-call {
        font-size: 2.2rem !important;
    }

    .premium-sidebar-call {
        padding: 25px !important;
    }

    /* Centers of Excellence Mobile Scaling Per User Request */

    .highlight-card {
        padding: 15px 20px !important;
        gap: 12px !important;
        border-radius: 12px !important;
        align-items: flex-start !important;
    }

    .highlight-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.4rem !important;
        margin-top: 2px !important;
    }

    .highlight-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 4px !important;
    }

    .highlight-card p {
        font-size: 0.85rem !important;
        margin-bottom: 6px !important;
        line-height: 1.4 !important;
    }

    .highlight-link {
        font-size: 0.8rem !important;
    }
}

/* ========================================================= */
/* AUTO-SCROLL MARQUEE & COMPACT DEPARTMENT CARDS FIX        */
/* ========================================================= */

/* Mobile Only: Infinite Auto-Scrolling Marquee */
@media (max-width: 768px) {
    .emergency-strip {
        overflow: hidden !important;
        white-space: nowrap !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 !important;
        height: 40px !important;
    }

    .marquee-content {
        display: flex;
        width: max-content;
        animation: marquee 20s linear infinite;
    }

    .marquee-item {
        display: flex;
        align-items: center;
        gap: 30px;
        padding-right: 30px;
        /* Space between the repeating clones */
    }

    .marquee-item span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .marquee-item .btn-call {
        margin: 0 !important;
        padding: 4px 16px !important;
        font-size: 0.75rem !important;
    }
}

/* Desktop: Static Optimized Announcement Bar */
@media (min-width: 769px) {
    .emergency-strip {
        display: flex !important;
        justify-content: center !important;
        height: auto !important;
        padding: 10px 5% !important;
    }

    .marquee-content {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        animation: none !important;
    }

    .marquee-item:last-child {
        display: none !important;
        /* Hide the scrolling clone on desktop */
    }

    .marquee-item {
        display: flex !important;
        justify-content: center !important;
        gap: 40px !important;
        padding-right: 0 !important;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.emergency-strip:hover .marquee-content {
    animation-play-state: paused;
}

/* Center of Excellence Compact "Best Fit" Desktop Scaling */
@media (min-width: 769px) {

    .highlight-card {
        padding: 20px 25px !important;
        gap: 15px !important;
    }

    .highlight-icon {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.6rem !important;
    }

    .highlight-card h3 {
        font-size: 1.25rem !important;
        margin-bottom: 5px !important;
    }

    .highlight-card p {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
        line-height: 1.5 !important;
    }
}

/* ========================================================= */
/* MILLION DOLLAR UI: CONSOLIDATED GLOBAL FIXES             */
/* ========================================================= */

/* 1. ANNOUNCEMENT BAR (EMERGENCY STRIP) LOGIC */
.emergency-strip {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    background-size: 200% auto;
    animation: emergencyGradient 10s ease infinite;
    color: #ffffff;
    padding: 10px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10001;
    /* Static like requested on desktop */
    z-index: 10001;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    height: auto;
}

.marquee-content {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered on desktop */
    gap: 40px;
    width: 100%;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

.marquee-item span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Hide the duplicate marquee clone on desktop */
.marquee-item[aria-hidden="true"] {
    display: none;
}

/* 3. CENTER OF EXCELLENCE - BEST FIT SCALING */


.highlight-card {
    padding: 20px 25px !important;
    gap: 15px !important;
    border-radius: 12px !important;
}

.highlight-icon {
    width: 55px !important;
    height: 55px !important;
    font-size: 1.6rem !important;
}

.highlight-card h3 {
    font-size: 1.25rem !important;
}

.highlight-card p {
    font-size: 0.9rem !important;
    margin-bottom: 12px !important;
    line-height: 1.5 !important;
}

/* 4. MOBILE RESPONSIVE REFINEMENTS */
@media (max-width: 768px) {

    /* Auto-Scrolling Marquee Loop ONLY on Mobile */
    .emergency-strip {
        padding: 0 !important;
        height: 45px !important;
    }

    .marquee-content {
        animation: marquee 20s linear infinite !important;
        width: max-content !important;
        justify-content: flex-start !important;
    }

    .marquee-item[aria-hidden="true"] {
        display: flex !important;
    }

    .marquee-item {
        gap: 30px !important;
        padding-right: 30px !important;
    }

    .marquee-item span {
        font-size: 0.8rem !important;
    }



    .highlight-card {
        padding: 15px 18px !important;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes emergencyGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* ========================================================= */

/* ========================================================= */


/* ========================================================= */


/* ========================================================= */


/* ========================================================= */


/* ========================================================= */
/* PREMIUM EXCELLENCE CAROUSEL (DESKTOP) + GRID (MOBILE)     */
/* ========================================================= */

/* ── Carousel Wrapper ── */
.excellence-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ── The viewport clips the grid ── */
.excellence-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

/* ── Desktop: horizontal sliding row ── */
.excellence-grid {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 20px;
}

.excellence-grid .image-card {
    flex: 0 0 calc((100% - 60px) / 4);
    /* Show exactly 4 cards at once with gaps */
    min-width: 0;
}

/* ── Prev / Next Buttons ── */
.exc-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(10, 42, 102, 0.1);
    box-shadow: 0 4px 20px rgba(10, 42, 102, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.exc-carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(10, 42, 102, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.exc-prev {
    left: -5px;
}

.exc-next {
    right: -5px;
}

/* ── Dot indicators ── */
.exc-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 0;
}

.exc-carousel-dots .exc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(10, 42, 102, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.exc-carousel-dots .exc-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(10, 42, 102, 0.3);
}

/* ── Image Card Styles ── */
.image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(10, 42, 102, 0.06);
    background: #000;
}

.image-card img.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.8;
}

.image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 42, 102, 0.55) 60%, rgba(10, 42, 102, 0.92) 100%);
    z-index: 1;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(10, 42, 102, 0.18);
}

.image-card:hover img.bg {
    transform: scale(1.05);
    opacity: 1;
}

.image-card-content {
    position: relative;
    z-index: 2;
    padding: 28px 24px;
    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    /* Consistent spacing between children */
}

.image-card-content h3 {
    font-size: 1.15rem;
    color: white;
    margin-bottom: 8px;
    transform: translateY(0);
    transition: transform 0.4s ease;
    font-weight: 700;
    line-height: 1.35;
}

.image-card-content p.bilingual-desc {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.8rem;
    margin-bottom: 8px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Tighter clamp so it doesn't overflow */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.image-card-content .telugu-block {
    display: block;
    font-size: 0.8em;
    font-family: 'Ramabhadra', sans-serif;
    color: #ffb703;
    margin-top: 5px;
    letter-spacing: 0.2px;
}

.image-card-content .telugu-desc {
    display: block;
    font-size: 0.88em;
    font-family: 'Mandali', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    line-height: 1.5;
    border-left: 2px solid var(--secondary);
    padding-left: 12px;
}

.image-card:hover .image-card-content h3 {
    transform: translateY(0);
}

.image-card:hover .image-card-content p.bilingual-desc {
    opacity: 1;
    transform: translateY(0);
}

.image-card-content .btn {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
    align-self: flex-start;
    padding: 7px 16px;
    font-size: 0.75rem;
    margin-top: 4px;
}

.image-card:hover .image-card-content .btn {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════ */
/* MOBILE: Hide carousel chrome, use vertical grid */
/* ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .excellence-carousel-wrapper, .doctors-carousel-wrapper {
        overflow: visible;
    }

    .excellence-carousel-viewport, .doctors-carousel-viewport {
        overflow: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .exc-carousel-btn {
        display: none !important;
    }

    .exc-carousel-dots, .doctors-carousel-dots {
        display: none !important;
    }

    .excellence-grid, .doctors-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px;
        width: 100% !important;
        transform: none !important;
        /* Override any JS transform */
    }

    .excellence-grid .image-card, .doctors-grid .doctor-card {
        flex: none;
        width: 100% !important;
        height: auto;
    }

    .image-card-content {
        padding: 16px;
    }

    .image-card-content h3 {
        font-size: 1.15rem;
        transform: translateY(0);
    }

    .image-card-content p.bilingual-desc {
        opacity: 1;
        transform: translateY(0);
        font-size: 0.85rem;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        margin-bottom: 10px;
    }

    .image-card-content .btn {
        opacity: 1;
        transform: translateY(0);
        margin-top: 10px;
        width: calc(100% - 60px) !important; /* Avoid FAB overlap */
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
        padding: 8px 15px;
        display: flex !important;
        justify-content: center;
    }

    .hero {
        padding-top: 160px !important;
        padding-bottom: 80px !important;
        height: auto !important;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .hero-content {
        padding: 0 5% !important;
    }

    /* Target the inline style grid for insurance on mobile */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* Center View All buttons in sections on mobile */
    .section-title + div .btn-outline,
    .doctors-carousel-wrapper + div .btn-outline,
    .section-content .btn,
    div[style*="text-align: center"] .btn,
    div[style*="text-align:center"] .btn {
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        width: fit-content !important;
        min-width: 220px;
        justify-content: center;
    }
}


/* ── Floating Location / Maps Button ── */
.floating-location {
    position: fixed;
    bottom: 90px;
    left: 30px;
    background: linear-gradient(135deg, #4285F4, #1a73e8);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.35);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-location:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(66, 133, 244, 0.5);
}

@media (max-width: 768px) {
    .floating-location {
        width: 42px;
        height: 42px;
        bottom: 80px;
        left: 20px;
        font-size: 20px;
        border-radius: 14px;
    }
}


/* ========================================================= */
/* PREMIUM FLOATING ACTIONS (LEFT STACK & TOOLTIPS)          */
/* ========================================================= */

/* 1. Reset and align all to the RIGHT for desktop with perfect vertical stacking */
.floating-whatsapp,
.floating-location,
.floating-emergency,
.back-to-top {
    position: fixed !important;
    right: 30px !important;
    left: auto !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sticky-appointment {
    position: fixed !important;
    right: -5px !important;
    left: auto !important;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp {
    bottom: 30px !important;
    background: #25D366 !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 32px;
    color: white;
}

.floating-location {
    bottom: 105px !important;
    background: #ffffff !important;
    color: #4285F4 !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
}

.floating-emergency {
    bottom: 180px !important;
    background: linear-gradient(135deg, #E10600, #ff3333) !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    color: white;
    animation: pulse-red 2s infinite;
}

.sticky-appointment {
    bottom: 255px !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    background: var(--primary) !important;
    color: white !important;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(225, 6, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(225, 6, 0, 0);
    }
}

/* 2. Premium Tooltip Hover Effect (Now on the LEFT side) */
.floating-whatsapp::before,
.floating-emergency::before,
.floating-location::before,
.back-to-top::before {
    content: attr(aria-label);
    position: absolute;
    right: calc(100% + 15px);
    /* Position to the LEFT of the icon */
    left: auto;
    background: #0a2a66;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) translateY(0);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(10, 42, 102, 0.15);
    pointer-events: none;
}

/* The little triangle arrow pointing to the button (Now on the LEFT) */
.floating-whatsapp::after,
.floating-emergency::after,
.floating-location::after,
.back-to-top::after {
    content: '';
    position: absolute;
    right: calc(100% + 9px);
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #0a2a66;
    /* Arrow points RIGHT (towards icon) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Trigger tooltips on hover */
.floating-whatsapp:hover::before,
.floating-emergency:hover::before,
.floating-location:hover::before,
.back-to-top:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0);
}

.floating-whatsapp:hover::after,
.floating-emergency:hover::after,
.floating-location:hover::after,
.back-to-top:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Ensure hover scaling of the button doesn't distort the tooltips */
.floating-whatsapp:hover,
.floating-emergency:hover,
.floating-location:hover,
.back-to-top:hover {
    transform: scale(1.1);
    /* Provide base scale without rotation to keep tooltips straight */
}

/* 3. Mobile adjustments (MOVE TO LEFT SIDE TO PREVENT CONTENT OVERLAP) */
@media (max-width: 768px) {
    .floating-whatsapp,
    .floating-location,
    .floating-emergency,
    .back-to-top {
        right: auto !important;
        left: 8px !important; /* Even closer to edge */
        width: 38px !important; /* Smaller size to minimize overlap */
        height: 38px !important;
        font-size: 16px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    }

    .floating-whatsapp { bottom: 15px !important; }
    .floating-location { bottom: 60px !important; }
    .floating-emergency { bottom: 105px !important; }
    .back-to-top { bottom: 150px !important; }

    /* Hide tooltips on mobile as they can be finicky on touch */
    .floating-whatsapp::before, .floating-emergency::before, .floating-location::before, .back-to-top::before,
    .floating-whatsapp::after, .floating-emergency::after, .floating-location::after, .back-to-top::after {
        display: none !important;
    }
    
    .sticky-appointment {
        display: none !important; /* Hide sticky text on extreme mobile to save space */
    }

    /* Shift content slightly to avoid overlapping with FABs on the left */
    .hero-content, .ambulance-content, .bento-review-card, .section-content {
        padding-left: 16% !important; /* Increased from 12% to fully clear FABs */
        padding-right: 6% !important;
    }
    
    .hero h1 {
        font-size: 2.1rem !important;
        line-height: 1.15 !important;
    }

    /* Ensure full-width buttons on mobile leave space for FABs */
    .section-content .btn, .btn-outline, .btn-primary {
        width: calc(100% - 40px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Prevent footer content from being hidden by FABs */
    footer {
        padding-bottom: 200px !important;
        padding-left: 15% !important; 
    }
    
    .footer-bottom {
        padding-left: 10% !important;
        padding-right: 15% !important; /* Increased to avoid FAB overlap */
    }

    .page-header {
        height: auto !important;
        min-height: 200px !important;
        padding: 70px 5% 30px !important;
    }
    
    .page-header h1 {
        font-size: 1.8rem !important;
    }
}

/* Tablet adjustments (PREVENT OVERLAP ON RIGHT) */
@media (min-width: 769px) and (max-width: 1024px) {
    .floating-whatsapp,
    .floating-location,
    .floating-emergency,
    .back-to-top {
        right: 12px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
    }
    
    footer .footer-grid, 
    .appointment-form-container,
    .bento-reviews-grid {
        padding-right: 60px !important; 
    }
    
    .footer-bottom {
        padding-bottom: 60px !important; 
        padding-right: 80px !important; /* Added to clear right-side FABs on tablet */
    }
}

/* 4. Great Feature: Back to Top Button */
.back-to-top {
    position: fixed !important;
    right: 30px !important;
    left: auto !important;
    bottom: 255px !important;
    width: 60px;
    height: 60px;
    background: rgba(10, 42, 102, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        right: 20px !important;
        bottom: 215px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
}



.insurance-card-mini {
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.insurance-card-mini:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(10, 42, 102, 0.1) !important;
    border-color: var(--secondary) !important;
    background: #fdfdfd !important;
}

.insurance-card-mini img {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.insurance-card-mini:hover img {
    transform: scale(1.1);
}

/* --- Insurance Grid & Cards --- */
.insurance-category-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-title {
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.insurance-card-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    cursor: pointer;
    text-align: center;
}

.insurance-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(10, 42, 102, 0.08);
    border-color: var(--secondary);
}

.insurance-logo-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    padding: 5px;
    overflow: hidden;
}

.insurance-logo-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.insurance-card-mini:hover img {
    transform: scale(1.1);
}

.insurance-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.insurance-search-input {
    width: 100%;
    padding: 16px 25px 16px 55px;
    border-radius: 30px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.insurance-search-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(0, 168, 168, 0.1);
}

/* ========================================================================= */
/* SUPER-POLISHED BENTO REVIEWS                                              */
/* ========================================================================= */
.bento-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(160px, auto);
    gap: 24px;
    padding: 60px 0;
    margin-top: 40px;
}

.bento-review-card {
    position: relative;
    border-radius: 32px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.05);
    background: var(--white);
    z-index: 1;
}

/* Hover Shine Effect */
.bento-review-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%, rgba(0,0,0,0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.bento-review-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-glow);
}

.bento-review-card:hover::before {
    opacity: 1;
}

/* Premium Gradient Layouts */
.polished-light {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.polished-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.polished-accent {
    background: radial-gradient(circle at top left, var(--secondary) 0%, #0369a1 100%) !important;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bento Sizing Logic */
.bento-review-card.large { grid-column: span 2; grid-row: span 2; }
.bento-review-card.wide { grid-column: span 2; }
.bento-review-card.tall { grid-row: span 2; }

/* Review Content Styling */
.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 25px;
    color: #f59e0b; /* Amber 500 */
}

.review-stars i {
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 30px;
    font-weight: 500;
    color: var(--text-dark);
}

.polished-dark .review-text, 
.polished-accent .review-text {
    color: rgba(255, 255, 255, 0.95);
}

/* Author Polish */
.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.polished-dark .review-author, 
.polished-accent .review-author {
    border-top-color: rgba(255, 255, 255, 0.15);
}

.author-info h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.author-info span {
    font-size: 0.85rem;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

.google-icon-watermark {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.2rem;
    opacity: 0.08;
    color: #4285F4;
}

.polished-dark .google-icon-watermark, 
.polished-accent .google-icon-watermark {
    opacity: 0.2;
    color: var(--white);
}

/* Abstract Background Shapes for extra polish */
.bento-review-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.polished-dark::after {
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .bento-reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .bento-reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .bento-review-card.large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 640px) {
    .bento-reviews-grid { grid-template-columns: 1fr; gap: 16px; }
    .bento-review-card { grid-column: span 1 !important; grid-row: span 1 !important; padding: 28px; border-radius: 24px; }
}

/* Container Utility (Global) */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ══════════════════════════════════════════════ */
/* HERO SECTION MOBILE CTA OVERFLOW FIX          */
/* ══════════════════════════════════════════════ */
@media (max-width: 600px) {
    .hero-content {
        padding-left: 60px !important; /* Fixed padding to clear FABs without excessive shrink */
        padding-right: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .hero-search-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-search-container {
        width: 100% !important;
        padding: 2px 4px !important; /* Ultra slim padding */
        margin-bottom: 20px !important;
        border-radius: 10px !important;
        min-height: 38px !important; /* Sleeker bar height */
        display: flex !important;
        align-items: center !important;
    }

    .hero-search-container input {
        width: 80% !important; /* Leave ~20% for button */
        font-size: 0.75rem !important;
        padding: 6px 10px !important;
        height: 100% !important;
    }

    .hero-search-container .search-btn {
        flex: 0 0 20% !important; /* Close to 15%, ensuring text stability */
        padding: 0 !important;
        font-size: 0.6rem !important;
        min-width: auto !important;
        height: 30px !important;
        border-radius: 6px !important;
        text-transform: uppercase !important;
        font-weight: 900 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        letter-spacing: -0.2px !important; /* Tighter for small space */
    }


    .hero-btns {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-items: stretch !important;
    }

    .hero-btns .btn {
        width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        padding: 15px 20px !important;
        font-size: 0.95rem !important;
        justify-content: center !important;
        white-space: normal !important; /* Allow wrapping if absolutely necessary */
        min-height: 50px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-btns .btn i {
        margin-right: 10px !important;
    }

    .hero h1 {
        font-size: 1.85rem !important;
        text-align: left !important; /* Align with the padded content */
        margin-bottom: 15px !important;
        line-height: 1.25 !important;
    }

    .hero p {
        font-size: 0.95rem !important;
        text-align: left !important;
        margin-bottom: 25px !important;
        opacity: 1 !important;
        line-height: 1.6 !important;
    }
}