﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&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 - All English text uses Inter */
    --font-heading: "Inter", "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 removed to fix sticky */
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* overflow-x: clip; REMOVED - Severe WebKit bug destroys descendant button click hit-testing globally! */
    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);
    padding-top: 108px;
    /* 40px strip + 68px header */
}

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);
    /* FIXED: Eliminate iOS 300ms tap delay on all links */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* FIXED: Eliminate iOS 300ms tap delay on all interactive elements */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
[role="button"],
.btn,
label[for] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* PRELOADER                                   */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* .preloader removed */

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* .pl-container removed */

/* .pl-logo-img removed */



/* .pl-glow removed */



/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* 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: none;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: none;
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: none;
}

.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: none;
}

.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: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* EMERGENCY STRIP                             */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.emergency-strip {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    background-size: 200% auto;
    animation: emergencyGradient 10s ease infinite;
    color: var(--white);
    padding: 9px 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: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10001;
    box-shadow: 0 2px 12px rgba(30, 60, 114, 0.45);
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    height: 40px;
    overflow: hidden;
}

@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.92);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    top: 40px;
    /* sits below the 40px announcement strip */
    left: 0;
    right: 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: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

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;
    pointer-events: auto;
    /* CRITICAL: Re-enable clicks on actual nav items (nav wrapper has pointer-events:none) */
}

.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: none;
    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 - OLD CINEMATIC (kept for other pages) */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.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;
    pointer-events: none;
}

.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: none;
}

.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;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: 1;
    pointer-events: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  HERO BANNER CAROUSEL  (index page)            */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero-banner-carousel {
    /* Override old hero styles */
    height: auto !important;
    min-height: unset !important;
    padding: 0 !important;
    display: block !important;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #e8f5fb;
    margin-top: 0;
}

/* Remove old dark overlays on this carousel specifically */
.hero-banner-carousel::before,
.hero-banner-carousel::after {
    display: none !important;
}

/* Slide track */
.hbc-track {
    position: relative;
    width: 100%;
    line-height: 0;
    /* removes phantom gap under images */
}

/* Individual slide */
.hbc-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hbc-slide.active {
    position: relative;
    /* active slide sets the height */
    opacity: 1;
    pointer-events: auto;
}

/* The actual hero image */
.hbc-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

/* â”€â”€ Dot indicators â”€â”€ */
.hbc-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hbc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.hbc-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.3);
}

/* â”€â”€ Prev / Next arrows â”€â”€ */
.hbc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.hbc-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(1.08);
}

.hbc-prev {
    left: 20px;
}

.hbc-next {
    right: 20px;
}

/* â”€â”€ Mobile tweaks â”€â”€ */
@media (max-width: 768px) {
    .hbc-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .hbc-prev {
        left: 10px;
    }

    .hbc-next {
        right: 10px;
    }

    .hbc-dots {
        bottom: 10px;
    }

    .hbc-dot {
        width: 8px;
        height: 8px;
    }
}


/* 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: none;
    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: none;
}

.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 PAGE â€” CLEAN PROFESSIONAL LAYOUT
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Page wrapper */
.dp-wrapper {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

/* â”€â”€ Department Block â”€â”€ */
.dept-block {
    min-width: 0;
}

.dept-block-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

/* Dept name label */
.dept-block-title {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Horizontal rule that fills remaining width */
.dept-block-sep {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* Count label */
.dept-block-count {
    font-size: 0.7rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* â”€â”€ Doctor Card Grid â”€â”€ */
.dp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* â”€â”€ Clean Professional Doctor Cards â”€â”€ */

.dp-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dp-card:hover {
    border-color: var(--dp-accent, #0A2A66);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Top accent bar */
.dp-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--dp-accent, #0A2A66);
    pointer-events: none;
}

/* Card inner */
.dp-card-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Doctor name */
.dp-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.dp-card:hover .dp-name {
    color: var(--dp-accent, #0A2A66);
}

/* Qualification badge */
.dp-qual {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dp-accent, #0A2A66);
    background: rgba(10, 42, 102, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    align-self: flex-start;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.dp-card:hover .dp-qual {
    background: var(--dp-accent, #0A2A66);
    color: #ffffff;
}

/* Specialty */
.dp-spec {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 4px 0 0;
    line-height: 1.4;
    color: #64748b;
    transition: color 0.3s ease;
}

.dp-card:hover .dp-spec {
    color: #475569;
}

/* CTA button */
.dp-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 10px 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dp-accent, #0A2A66);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    border: none;
}

.dp-cta i {
    transition: transform 0.3s ease;
}

.dp-card:hover .dp-cta {
    color: var(--dp-accent, #0A2A66);
}

.dp-card:hover .dp-cta i {
    transform: translateX(4px);
}

/* Department block styling */
.dept-block {
    margin-bottom: 48px;
}



/* Ensure all dept cards are visible regardless of stagger JS state */
.dp-grid .dp-card,
.dp-wrapper .dp-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Subtle entrance animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dp-card {
    animation: fadeInUp 0.4s ease-out forwards;
}

/* Staggered animation delays */
.dp-grid .dp-card:nth-child(1) { animation-delay: 0.02s; }
.dp-grid .dp-card:nth-child(2) { animation-delay: 0.04s; }
.dp-grid .dp-card:nth-child(3) { animation-delay: 0.06s; }
.dp-grid .dp-card:nth-child(4) { animation-delay: 0.08s; }
.dp-grid .dp-card:nth-child(5) { animation-delay: 0.10s; }
.dp-grid .dp-card:nth-child(6) { animation-delay: 0.12s; }

/* Legacy selectors reset */
.doc-grouped-wrapper,
.doc-minimal-card,
.doc-premium-card {
    display: none !important;
}

.doctors-grid {
    display: block;
}

.dept-section {
    display: none !important;
}

.doctor-link-wrapper {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   INDEX.HTML â€” DOCTORS CAROUSEL (clean, no icons)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.text-only-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px 28px;
    text-align: center;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.text-only-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 42, 102, 0.10);
}

.text-only-card .doctor-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.text-only-card .doctor-designation {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 12px;
    border-radius: 20px;
    margin: 0;
    letter-spacing: 0.03em;
}

.text-only-card .doctor-specialty {
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.doctor-name-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: color 0.2s ease;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1200px) {
    .dp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .dp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .dp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dp-card {
        padding: 18px 16px 16px;
        border-radius: 10px;
    }

    .dp-wrapper {
        gap: 40px;
        padding-bottom: 30px !important;
    }

    .dp-card-inner {
        gap: 6px;
    }

    .dp-name {
        font-size: 1rem;
        line-height: 1.25;
    }

    .dp-qual {
        font-size: 0.65rem;
        padding: 3px 8px;
        letter-spacing: 0.02em;
    }

    .dp-spec {
        font-size: 0.75rem;
        margin-top: 4px;
        line-height: 1.35;
    }

    .dp-cta {
        font-size: 0.72rem;
        margin-top: 8px;
    }

    .dept-block-sep {
        display: none;
    }

    .dept-block-header {
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 8px;
    }

    .dept-block-title {
        font-size: 0.8rem;
    }

    .dept-block {
        margin-bottom: 36px;
    }

    .page-header-premium {
        padding: 90px 20px 40px !important;
    }

    .page-header-premium h1 {
        font-size: 2.2rem !important;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   INDEX â€” MEET OUR SPECIALISTS (PREMIUM DARK LUXURY)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.idx-specialists-section {
    background: linear-gradient(155deg, #060f1e 0%, #0a2356 45%, #071828 100%);
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

/* Ambient glowing orbs */
.idx-spec-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.idx-spec-orb-1 {
    width: 700px;
    height: 700px;
    top: -250px;
    right: -200px;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.07) 0%, transparent 65%);
}

.idx-spec-orb-2 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    left: -150px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 65%);
}

.idx-spec-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* â”€â”€ Section Header â”€â”€ */
.idx-spec-header {
    text-align: center;
    margin-bottom: 56px;
}

.idx-spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 168, 0.12);
    border: 1px solid rgba(0, 168, 168, 0.25);
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #00A8A8;
}

.idx-spec-badge i {
    font-size: 0.85rem;
}

.idx-spec-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.idx-spec-title em {
    font-style: normal;
    color: #00A8A8;
}

.idx-spec-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* â”€â”€ Doctor Card Grid â”€â”€ */
.idx-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 52px;
}

/* Override doctors-grid inside the dark specialists section â€”
   on desktop show 3 cards in a row without carousel transform */
.idx-specialists-section .doctors-carousel-wrapper {
    margin-bottom: 48px;
}

.idx-specialists-section .doctors-carousel-viewport {
    overflow: visible;
}

.idx-specialists-section .doctors-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transform: none !important;
}

/* Force idx-doc-card visible (stagger-child would hide it) */
.idx-doc-card,
.idx-specialists-section .stagger-child {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* On mobile restore carousel scrolling */
@media (max-width: 768px) {
    .idx-specialists-section .doctors-carousel-viewport {
        overflow: hidden;
    }

    .idx-specialists-section .doctors-grid {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 16px;
        transform: unset !important;
        transition: transform 0.35s ease !important;
    }

    .idx-specialists-section .idx-doc-card {
        min-width: calc(100vw - 60px);
        flex-shrink: 0;
    }
}

/* â”€â”€ Individual Doctor Card â”€â”€ */
.idx-doc-card {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
    cursor: pointer;
}

.idx-doc-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

/* Colored left accent bar */
.idx-doc-left-bar {
    width: 5px;
    flex-shrink: 0;
    transition: width 0.3s ease;
}

.idx-doc-card:hover .idx-doc-left-bar {
    width: 7px;
}

/* Card body */
.idx-doc-body {
    flex: 1;
    padding: 28px 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Specialty tag */
.idx-doc-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 12px;
}

/* Doctor name */
.idx-doc-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

.idx-doc-card:hover .idx-doc-name {
    color: #e2e8f0;
}

/* Qual + Specialty row */
.idx-doc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.idx-doc-qual {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.07);
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.idx-doc-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.idx-doc-spec {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Divider */
.idx-doc-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin-bottom: 18px;
}

/* CTA row */
.idx-doc-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.25s ease;
}

.idx-doc-card:hover .idx-doc-cta {
    color: rgba(255, 255, 255, 0.85);
}

.idx-doc-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.25s ease, transform 0.25s ease;
}

.idx-doc-card:hover .idx-doc-arrow {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

/* â”€â”€ View All Button â”€â”€ */
.idx-spec-footer {
    text-align: center;
}

.idx-spec-viewall {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}

.idx-spec-viewall:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.idx-spec-viewall i:last-child {
    transition: transform 0.25s ease;
}

.idx-spec-viewall:hover i:last-child {
    transform: translateX(5px);
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 900px) {
    .idx-spec-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .idx-specialists-section {
        padding: 70px 5%;
    }

    .idx-spec-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .idx-spec-header {
        margin-bottom: 36px;
    }

    .idx-doc-body {
        padding: 22px 20px 18px;
    }

    .idx-doc-name {
        font-size: 1.15rem;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* 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: 6px 0 !important;
        font-size: 0.72rem !important;
        display: flex !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        height: 36px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10001 !important;
    }

    body {
        padding-top: 96px !important;
        /* 36px strip + 60px mobile header */
    }

    .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-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 20px;
    background: linear-gradient(180deg, rgba(10, 42, 102, 0.85) 0%, rgba(10, 42, 102, 0) 100%);
}

.image-card-title h3 {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.image-card-title .telugu-block {
    display: block;
    font-size: 0.8em;
    font-family: 'Ramabhadra', sans-serif;
    color: #ffb703;
    margin-top: 4px;
}

.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: none;
}

.image-card:hover .image-card-content p {
    opacity: 1;
    transform: none;
}

.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: none;
}


.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: none;
}

.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: none;
}

.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;
        position: fixed !important;
        top: 36px !important;
        /* below 36px announcement strip on mobile */
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    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;
        pointer-events: none;
        /* CRITICAL FIX: Nav wrapper must not intercept clicks when menu is closed */
    }

    .main-nav {
        position: relative !important;
        top: 0 !important;

        .suggestion-title {
            font-size: 0.9rem;
        }
    }

    /* Header constraints */
    header {
        padding: 12px 20px !important;
        position: fixed !important;
        top: 36px !important;
        /* below 36px announcement strip on mobile */
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    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;
        pointer-events: none;
        /* CRITICAL FIX: Nav wrapper must not intercept clicks when menu is closed */
    }

    .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;
        pointer-events: none;
        /* CRITICAL FIX: Nav wrapper must not intercept clicks when menu is closed */
    }

    .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: none;
    }

    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: none;
    }

    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%;
    padding: 0 60px;
}

/* â”€â”€ The viewport clips the grid â”€â”€ */
.excellence-carousel-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* â”€â”€ 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% - 80px) / 5);
    /* Show exactly 5 smaller cards at once with gaps */
    min-width: 0;
}

/* â”€â”€ Prev / Next Buttons â”€â”€ */
.exc-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(10, 42, 102, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.exc-carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(10, 42, 102, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.exc-prev {
    left: 5px;
}

.exc-next {
    right: 5px;
}

/* â”€â”€ Dot indicators â”€â”€ */
.exc-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0;
}

.exc-carousel-dots .exc-dot {
    width: 8px;
    height: 8px;
    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 6px rgba(10, 42, 102, 0.3);
}

/* â”€â”€ Image Card Styles â”€â”€ */
.image-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(10, 42, 102, 0.08);
    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: 20px 16px;
    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.05rem;
    color: white;
    margin-bottom: 6px;
    transform: none;
    transition: transform 0.4s ease;
    font-weight: 700;
    line-height: 1.3;
}

.image-card-content p.bilingual-desc {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    font-size: 0.75rem;
    margin-bottom: 6px;
    opacity: 1;
    transform: none;
    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.75em;
    font-family: 'Ramabhadra', sans-serif;
    color: #ffb703;
    margin-top: 4px;
    letter-spacing: 0.2px;
}

.image-card-content .telugu-desc {
    display: block;
    font-size: 0.82em;
    font-family: 'Mandali', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    line-height: 1.4;
    border-left: 2px solid var(--secondary);
    padding-left: 10px;
}

.image-card:hover .image-card-content h3 {
    transform: none;
}

.image-card:hover .image-card-content p.bilingual-desc {
    opacity: 1;
    transform: none;
}

.image-card-content .btn {
    opacity: 1;
    transform: none;
    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: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* 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 {
        flex: none;
        width: calc(100% - 30px) !important;
        max-width: 340px;
        height: 250px !important;
        margin: 0 auto;
    }

    .doctors-grid .doctor-card {
        flex: none;
        width: 100% !important;
        height: auto;
    }

    .image-card-content {
        padding: 12px 16px;
    }

    .image-card-content h3 {
        font-size: 1.05rem;
        transform: none;
        margin-bottom: 4px;
    }

    .image-card-content p.bilingual-desc {
        opacity: 1;
        transform: none;
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 6px;
    }

    .image-card-content .telugu-desc {
        font-size: 0.8em;
        margin-top: 4px;
    }

    .image-card-content .btn {
        opacity: 1;
        transform: none;
        margin-top: 6px;
        width: calc(100% - 40px) !important;
        /* Avoid FAB overlap */
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
        padding: 6px 12px;
        display: flex !important;
        justify-content: center;
        font-size: 0.8rem;
    }

    .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: 52px !important;
        height: 52px !important;
        bottom: 100px !important;
        right: 20px !important;
        left: auto !important;
        font-size: 22px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #1a73e8, #4285F4) !important;
        color: #fff !important;
        box-shadow: 0 6px 20px rgba(66, 133, 244, 0.5) !important;
        z-index: 9998 !important;
    }
}


/* ========================================================= */
/* 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: linear-gradient(135deg, #1a73e8, #4285F4) !important;
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.5) !important;
    z-index: 9998 !important;
}

.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 â€” RIGHT SIDE STACK */
@media (max-width: 768px) {

    .floating-whatsapp,
    .floating-location,
    .floating-emergency,
    .back-to-top {
        right: 16px !important;
        left: auto !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 22px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    .floating-whatsapp {
        bottom: 20px !important;
    }

    .floating-location {
        display: flex !important;
        bottom: 80px !important;
        background: linear-gradient(135deg, #1a73e8, #4285F4) !important;
        color: #fff !important;
    }

    .floating-emergency {
        bottom: 140px !important;
    }

    .back-to-top {
        bottom: 200px !important;
    }

    /* Hide tooltips on mobile */
    .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;
    }

    /* Content padding: normal equal padding, no left-push needed */
    .hero-content,
    .ambulance-content,
    .bento-review-card,
    .section-content {
        padding-left: 6% !important;
        padding-right: 6% !important;
    }

    .hero h1 {
        font-size: 2.1rem !important;
        line-height: 1.15 !important;
    }

    /* Buttons: DON'T force full width */
    .section-content .btn,
    .btn-outline,
    .btn-primary {
        width: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Footer: normal padding */
    footer {
        padding-bottom: 150px !important;
    }

    .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: auto;
    /* FIXED: Let each row shrink to its tallest card â€” no forced row heights */
    gap: 20px;
    padding: 40px 0;
    margin-top: 40px;
    align-items: start;
    /* FIXED: Each card aligns to the top â€” no vertical stretching to fill rows */
}

.bento-review-card {
    position: relative;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.08);
    background: var(--white);
    z-index: 1;
    /* FIXED: height is determined purely by content â€” not by grid row stretching */
    height: fit-content;
}

/* 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(-6px);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.14);
    border-color: var(--secondary-glow);
}

.bento-review-card:hover::before {
    opacity: 1;
}

/* Premium Gradient Layouts */
.polished-light {
    background: rgba(255, 255, 255, 0.9) !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);
}

/* FIXED: Bento Sizing â€” wide spans 2 columns but NO row forcing */
.bento-review-card.large {
    grid-column: span 2;
}

/* FIXED: Removed grid-row: span 2 */
.bento-review-card.wide {
    grid-column: span 2;
}

/* FIXED: .tall no longer needs row-span â€” card height is purely driven by its text content */

/* 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);
    }

    .bento-review-card.large {
        grid-column: span 2;
    }

    /* FIXED: No row-span */
}

@media (max-width: 992px) {
    .bento-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .bento-review-card.large,
    .bento-review-card.wide {
        grid-column: span 2;
    }

    /* FIXED: Keep wide on 2col tablets */
}

@media (max-width: 640px) {
    .bento-reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bento-review-card {
        grid-column: span 1 !important;
        padding: 22px;
        border-radius: 20px;
    }

    /* FIXED: Force single-col */
}

/* 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: 0 5% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        /* Allow search dropdown to be seen */
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-search-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        z-index: 10 !important;
        /* Make sure search input is clickable */
    }

    .hero-search-container {
        width: 100% !important;
        padding: 6px 15px !important;
        margin-bottom: 25px !important;
        border-radius: 50px !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-search-container input {
        width: auto !important;
        flex: 1 !important;
        font-size: 0.95rem !important;
        padding: 5px 10px !important;
        height: auto !important;
    }

    .hero-search-container .search-btn {
        flex: none !important;
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
        min-width: auto !important;
        height: auto !important;
        border-radius: 40px !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        letter-spacing: 0px !important;
    }

    .hero-btns {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: center !important;
        align-items: stretch !important;
    }

    .hero-btns .btn {
        width: auto !important;
        flex: 1 1 calc(50% - 6px) !important;
        margin: 0 !important;
        padding: 12px 10px !important;
        font-size: 0.85rem !important;
        justify-content: center !important;
        white-space: normal !important;
        min-height: 44px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-btns .btn:last-child {
        min-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .hero-btns .btn i {
        margin-right: 6px !important;
    }

    .hero h1 {
        font-size: 2rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        line-height: 1.25 !important;
    }

    .hero p {
        font-size: 1.05rem !important;
        text-align: center !important;
        margin-bottom: 30px !important;
        opacity: 0.9 !important;
        line-height: 1.5 !important;
    }

    .trust-line {
        justify-content: center !important;
        margin-top: 15px !important;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* HERO SEARCH BAR â€” UNIFIED RESPONSIVE OVERRIDES (FINAL)     */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Base desktop polish */
.hero-search-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 620px !important;
    margin-bottom: 30px !important;
    z-index: 10 !important;
}

.hero-search-container {
    display: flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 60px !important;
    padding: 8px 10px 8px 24px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
    gap: 0 !important;
}

.hero-search-container:focus-within {
    background: #ffffff !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 15px 50px rgba(0, 168, 168, 0.2), 0 0 0 3px rgba(0, 168, 168, 0.08) !important;
    transform: translateY(-2px) !important;
}

.hero-search-container .search-icon {
    color: var(--text-light) !important;
    font-size: 1.25rem !important;
    margin-right: 14px !important;
    flex-shrink: 0 !important;
    transition: color 0.4s ease !important;
}

.hero-search-container:focus-within .search-icon {
    color: var(--secondary) !important;
}

.hero-search-container input {
    flex: 1 !important;
    min-width: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: var(--text-dark) !important;
    font-size: 1rem !important;
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
    padding: 8px 10px 8px 0 !important;
    height: auto !important;
}

.hero-search-container input::placeholder {
    color: rgba(100, 100, 130, 0.6) !important;
    font-weight: 400 !important;
}

.hero-search-container .search-btn {
    flex-shrink: 0 !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(0, 168, 168, 0.35) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-width: auto !important;
}

.hero-search-container .search-btn:hover {
    box-shadow: 0 6px 24px rgba(0, 168, 168, 0.45) !important;
    transform: translateY(-1px) !important;
}

/* Suggestions dropdown â€” polished */
.search-suggestions {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(10, 42, 102, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 100 !important;
    max-height: 400px !important;
    overflow-y: auto !important;
}

.search-suggestions.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.suggestion-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 20px !important;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.suggestion-item:last-child {
    border-bottom: none !important;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background: linear-gradient(90deg, rgba(0, 168, 168, 0.06), rgba(0, 168, 168, 0.02)) !important;
    padding-left: 24px !important;
}

.suggestion-item.selected {
    border-left: 3px solid var(--secondary) !important;
    padding-left: 21px !important;
}

.suggestion-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(10, 42, 102, 0.06), rgba(0, 168, 168, 0.06)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--secondary) !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
}

.suggestion-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 !important;
}

.suggestion-title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    color: var(--primary) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.suggestion-type {
    font-size: 0.78rem !important;
    color: var(--text-light) !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.no-results {
    padding: 24px 20px !important;
    text-align: center !important;
    color: var(--text-light) !important;
    font-style: normal !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* â”€â”€â”€ Tablet Breakpoint â”€â”€â”€ */
@media (max-width: 1024px) {
    .hero-search-wrapper {
        max-width: 560px !important;
    }

    .hero-search-container {
        padding: 7px 8px 7px 20px !important;
    }

    .hero-search-container input {
        font-size: 0.95rem !important;
    }

    .hero-search-container .search-btn {
        padding: 11px 24px !important;
        font-size: 0.88rem !important;
    }

    .hero-search-container .search-icon {
        font-size: 1.15rem !important;
        margin-right: 12px !important;
    }
}

/* â”€â”€â”€ Small Tablet / Large Phone â”€â”€â”€ */
@media (max-width: 768px) {
    .hero-search-wrapper {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 24px !important;
    }

    .hero-search-container {
        padding: 6px 8px 6px 18px !important;
        border-radius: 50px !important;
    }

    .hero-search-container input {
        font-size: 0.9rem !important;
        padding: 6px 8px 6px 0 !important;
    }

    .hero-search-container .search-icon {
        font-size: 1.05rem !important;
        margin-right: 10px !important;
    }

    .hero-search-container .search-btn {
        padding: 10px 20px !important;
        font-size: 0.82rem !important;
        border-radius: 40px !important;
    }

    .search-suggestions {
        border-radius: 16px !important;
        max-height: 320px !important;
    }

    .suggestion-item {
        padding: 12px 16px !important;
        gap: 12px !important;
    }

    .suggestion-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
    }

    .suggestion-title {
        font-size: 0.88rem !important;
    }

    .suggestion-badge {
        font-size: 0.62rem !important;
        padding: 2px 8px !important;
    }
}

/* â”€â”€â”€ Phone Breakpoint â”€â”€â”€ */
@media (max-width: 600px) {
    .hero-search-wrapper {
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }

    .hero-search-container {
        padding: 5px 6px 5px 16px !important;
        min-height: 48px !important;
        border-radius: 50px !important;
    }

    .hero-search-container input {
        font-size: 0.88rem !important;
        padding: 5px 6px 5px 0 !important;
    }

    .hero-search-container .search-icon {
        font-size: 1rem !important;
        margin-right: 8px !important;
    }

    .hero-search-container .search-btn {
        padding: 9px 16px !important;
        font-size: 0.78rem !important;
        border-radius: 40px !important;
    }

    .suggestion-item {
        padding: 11px 14px !important;
        gap: 10px !important;
    }

    .suggestion-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
    }

    .suggestion-title {
        font-size: 0.84rem !important;
    }

    .suggestion-type {
        font-size: 0.72rem !important;
    }

    .suggestion-badge {
        font-size: 0.58rem !important;
        padding: 2px 6px !important;
    }
}

/* â”€â”€â”€ Small Phone Breakpoint â”€â”€â”€ */
@media (max-width: 480px) {
    .hero-search-container {
        padding: 4px 5px 4px 14px !important;
        min-height: 44px !important;
    }

    .hero-search-container input {
        font-size: 0.82rem !important;
    }

    .hero-search-container .search-icon {
        font-size: 0.95rem !important;
        margin-right: 6px !important;
    }

    .hero-search-container .search-btn {
        padding: 8px 14px !important;
        font-size: 0.75rem !important;
    }

    .search-suggestions {
        border-radius: 14px !important;
        max-height: 280px !important;
    }
}

/* â”€â”€â”€ Extra Small Phone (iPhone SE etc.) â”€â”€â”€ */
@media (max-width: 375px) {
    .hero-search-container {
        padding: 4px 4px 4px 12px !important;
        min-height: 42px !important;
    }

    .hero-search-container input {
        font-size: 0.78rem !important;
    }

    .hero-search-container .search-icon {
        font-size: 0.9rem !important;
        margin-right: 5px !important;
    }

    .hero-search-container .search-btn {
        padding: 7px 12px !important;
        font-size: 0.72rem !important;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* PREMIUM MOBILE HOMEPAGE REDESIGN â€” Apollo-Level Quality        */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€â”€ Hero Overlay: Strong dark for text readability â”€â”€â”€ */
.hero::before {
    background: linear-gradient(180deg,
            rgba(8, 20, 48, 0.82) 0%,
            rgba(8, 20, 48, 0.75) 50%,
            rgba(8, 20, 48, 0.85) 100%) !important;
}

.hero::after {
    height: 150px !important;
    background: linear-gradient(to top, var(--bg), transparent) !important;
}

/* â”€â”€â”€ Hero h1: Remove highlight color, clean white â”€â”€â”€ */
.hero h1 .highlight-text {
    color: #ffffff !important;
    text-shadow: none !important;
    font-weight: 700 !important;
}

/* â”€â”€â”€ Scroll indicator: Hidden (removed from HTML too) â”€â”€â”€ */
.scroll-indicator {
    display: none !important;
}

/* â”€â”€â”€ Find Care Section (search moved below hero) â”€â”€â”€ */
.find-care-section {
    background: var(--white);
    padding: 50px 5% 60px;
    text-align: center;
}

.find-care-inner {
    max-width: 700px;
    margin: 0 auto;
}

.find-care-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.find-care-title i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.find-care-section .hero-search-wrapper {
    max-width: 100% !important;
    margin-bottom: 0 !important;
}

/* â”€â”€â”€ Hero CTA Buttons: Premium sizing â”€â”€â”€ */
.hero-cta-primary {
    padding: 16px 36px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 12px !important;
}

.hero-cta-emergency {
    padding: 16px 36px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 12px !important;
}

/* â”€â”€â”€ Trust Badges: Clean compact layout â”€â”€â”€ */
.trust-line {
    gap: 12px !important;
}

.trust-line .trust-item {
    padding: 10px 18px !important;
    border-radius: 10px !important;
    font-size: 0.88rem !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.trust-line .trust-item strong {
    color: #00d4ff;
    font-weight: 800;
}

.trust-line .trust-item i {
    color: #00d4ff !important;
    font-size: 1.1rem !important;
}

/* â”€â”€â”€ Floating Buttons: Only 2, bottom-right, clean stack â”€â”€â”€ */
.floating-location {
    display: none !important;
}

.floating-whatsapp {
    bottom: 24px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    font-size: 28px !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
}

.floating-emergency {
    bottom: 92px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    font-size: 24px !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 20px rgba(225, 6, 0, 0.3) !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* MOBILE HERO REDESIGN (â‰¤ 768px)             */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 768px) {

    /* Hero: Full screen, vertically centered, no clutter */
    .hero {
        min-height: 100svh !important;
        height: auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-content {
        padding: 100px 6% 80px !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    /* Headline: Clean, left-aligned, no color tricks */
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
        text-align: left !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        letter-spacing: -0.3px !important;
    }

    /* Subheading: Concise, readable */
    .hero p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 28px !important;
        text-align: left !important;
        opacity: 0.85 !important;
        max-width: 90% !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    /* CTAs: 2 buttons, full width, clear hierarchy */
    .hero-btns {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 28px !important;
        padding: 0 !important;
    }

    .hero-cta-primary {
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 1rem !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        display: flex !important;
        gap: 8px !important;
        align-items: center !important;
        box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35) !important;
    }

    .hero-cta-emergency {
        width: 100% !important;
        padding: 14px 24px !important;
        font-size: 0.95rem !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        display: flex !important;
        gap: 8px !important;
        align-items: center !important;
        background: transparent !important;
        border: 2px solid rgba(255, 80, 80, 0.7) !important;
        color: #ff6b6b !important;
        box-shadow: none !important;
    }

    .hero-cta-emergency:hover {
        background: rgba(225, 6, 0, 0.15) !important;
        border-color: #ff4444 !important;
    }

    /* Trust badges: Horizontal row, compact */
    .trust-line {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        width: 100% !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 4px !important;
    }

    .trust-line::-webkit-scrollbar {
        display: none;
    }

    .trust-line .trust-item {
        padding: 8px 14px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        gap: 6px !important;
        border-radius: 8px !important;
    }

    .trust-line .trust-item i {
        font-size: 0.95rem !important;
    }

    /* Hero overlay: Extra dark on mobile */
    .hero::before {
        background: linear-gradient(180deg,
                rgba(6, 15, 35, 0.88) 0%,
                rgba(6, 15, 35, 0.78) 60%,
                rgba(6, 15, 35, 0.92) 100%) !important;
    }

    .hero::after {
        height: 100px !important;
    }

    /* Find Care section: Mobile optimized */
    .find-care-section {
        padding: 35px 5% 40px !important;
    }

    .find-care-title {
        font-size: 1.15rem !important;
        margin-bottom: 18px !important;
    }

    /* Floating buttons: Compact, proper spacing */
    .floating-whatsapp {
        bottom: 20px !important;
        right: 16px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        border-radius: 14px !important;
    }

    .floating-emergency {
        bottom: 82px !important;
        right: 16px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 22px !important;
        border-radius: 14px !important;
    }

    /* Section spacing: More breathing room */
    section.reveal,
    section[id] {
        margin-top: 0 !important;
    }

    /* Stats bar: Clean mobile layout */
    .stats-bar {
        margin-top: 0 !important;
        position: relative !important;
        top: -30px !important;
        margin-bottom: -10px !important;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* SMALL PHONE (â‰¤ 480px)                      */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    .hero p {
        font-size: 0.88rem !important;
        margin-bottom: 24px !important;
        max-width: 95% !important;
    }

    .hero-cta-primary {
        padding: 14px 20px !important;
        font-size: 0.92rem !important;
    }

    .hero-cta-emergency {
        padding: 12px 20px !important;
        font-size: 0.88rem !important;
    }

    .trust-line .trust-item {
        padding: 7px 12px !important;
        font-size: 0.72rem !important;
    }

    .find-care-title {
        font-size: 1.05rem !important;
    }

    .floating-whatsapp {
        width: 46px !important;
        height: 46px !important;
        font-size: 22px !important;
        bottom: 16px !important;
        right: 14px !important;
    }

    .floating-emergency {
        width: 46px !important;
        height: 46px !important;
        font-size: 20px !important;
        bottom: 74px !important;
        right: 14px !important;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* EXTRA SMALL PHONE â€” iPhone SE (â‰¤ 375px)    */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 375px) {
    .hero-content {
        padding: 90px 5% 60px !important;
    }

    .hero h1 {
        font-size: 1.5rem !important;
    }

    .hero p {
        font-size: 0.82rem !important;
    }

    .hero-cta-primary {
        padding: 13px 18px !important;
        font-size: 0.85rem !important;
    }

    .hero-cta-emergency {
        padding: 11px 18px !important;
        font-size: 0.82rem !important;
    }

    .trust-line .trust-item {
        padding: 6px 10px !important;
        font-size: 0.68rem !important;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* FINAL MASTER FIX â€” Floating Btns RIGHT + Alignment + CTAs      */
/* This block MUST remain at the very end to override all above   */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ 1. FLOATING BUTTONS: ALWAYS RIGHT SIDE (All viewports) â”€â”€ */
.floating-whatsapp,
.floating-emergency,
.floating-location,
.back-to-top {
    left: auto !important;
    right: 24px !important;
}

.floating-whatsapp {
    bottom: 24px !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 16px !important;
    font-size: 28px !important;
    background: #25D366 !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
    display: flex !important;
    z-index: 1001 !important;
}

.floating-emergency {
    bottom: 90px !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 16px !important;
    font-size: 24px !important;
    background: linear-gradient(135deg, #E10600, #ff3333) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(225, 6, 0, 0.3) !important;
    display: flex !important;
    z-index: 1001 !important;
    animation: pulse-red 2s infinite !important;
}

.floating-location {
    bottom: 156px !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 16px !important;
    font-size: 26px !important;
    background: linear-gradient(135deg, #1a73e8, #4285F4) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4) !important;
    display: flex !important;
    z-index: 1001 !important;
}

.back-to-top {
    bottom: 222px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    font-size: 20px !important;
    z-index: 1001 !important;
}

/* â”€â”€ 2. UNDO EXCESSIVE LEFT PADDING (was set to avoid left-FABs) â”€â”€ */
.hero-content,
.ambulance-content,
.bento-review-card,
.section-content {
    padding-left: 6% !important;
    padding-right: 6% !important;
}

footer {
    padding-left: 0 !important;
}

.footer-bottom {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* â”€â”€ 3. HERO CTA BUTTON COLORS â”€â”€ */
/* Book Appointment = Solid blue/teal (high contrast primary) */
.hero-cta-primary {
    background: var(--secondary) !important;
    color: var(--white) !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4) !important;
}

.hero-cta-primary:hover {
    background: #0369a1 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(2, 132, 199, 0.5) !important;
}

/* Emergency Care = Red outline on dark hero bg */
.hero-cta-emergency {
    background: transparent !important;
    color: #ff6b6b !important;
    border: 2px solid rgba(255, 80, 80, 0.7) !important;
    box-shadow: none !important;
}

.hero-cta-emergency:hover {
    background: rgba(225, 6, 0, 0.15) !important;
    border-color: #ff4444 !important;
    color: #ff8888 !important;
}

/* â”€â”€ 4. SECTION BUTTON SIZING: Remove forced width â”€â”€ */
.section-content .btn,
.btn-outline,
.btn-primary {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* In the hero, CTAs should be full-width on mobile only */
@media (max-width: 768px) {

    .hero-cta-primary,
    .hero-cta-emergency {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* â”€â”€ 5. MOBILE FLOATING ADJUSTMENTS â”€â”€ */
@media (max-width: 768px) {

    .floating-whatsapp,
    .floating-emergency,
    .floating-location,
    .back-to-top {
        left: auto !important;
        right: 16px !important;
    }

    .floating-whatsapp {
        bottom: 20px !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 24px !important;
        border-radius: 14px !important;
    }

    .floating-emergency {
        bottom: 80px !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 22px !important;
        border-radius: 14px !important;
    }

    .back-to-top {
        bottom: 140px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
        border-radius: 12px !important;
    }

    /* Undo ALL left-padding overcompensation from old left-FAB code */
    .hero-content {
        padding-left: 6% !important;
        padding-right: 6% !important;
    }

    .ambulance-content,
    .bento-review-card,
    .section-content {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    footer {
        padding-bottom: 150px !important;
    }

    /* Section-level buttons should NOT be forced full-width */
    .section-content .btn,
    .btn-outline {
        width: auto !important;
    }
}

/* â”€â”€ 6. SMALL PHONE FLOATING â”€â”€ */
@media (max-width: 480px) {
    .floating-whatsapp {
        bottom: 16px !important;
        right: 14px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 22px !important;
    }

    .floating-emergency {
        bottom: 72px !important;
        right: 14px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
    }

    .back-to-top {
        bottom: 128px !important;
        right: 14px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
}

/* â”€â”€ 7. FIND CARE SEARCH BAR: Fix input visibility â”€â”€ */
.find-care-section .hero-search-container {
    background: #f1f5f9 !important;
    border: 1.5px solid #e2e8f0 !important;
}

.find-care-section .hero-search-container:focus-within {
    background: #ffffff !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 8px 30px rgba(2, 132, 199, 0.12) !important;
}

.find-care-section .hero-search-container input {
    color: var(--text-dark) !important;
}

.find-care-section .hero-search-container input::placeholder {
    color: #94a3b8 !important;
}

/* ========================================= */
/* PERFECT FOOTER FIX (DESKTOP & MOBILE)     */
/* ========================================= */

/* Unified Desktop Grid sizing ensuring it fills nicely without inline max-width issues */
.footer-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr !important;
    gap: 40px !important;
    justify-items: start;
    margin-bottom: 50px !important;
}

/* Force override of inline max-width restrictions on footer columns */
.footer-col {
    max-width: 100% !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

/* Ensure padding is uniform */
footer {
    padding: 80px 5% 30px !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 50px 40px !important;
    }
}

@media (max-width: 768px) {

    /* Stack Vertically and Center for Mobile Perfection */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 45px !important;
    }

    footer {
        padding: 60px 6% 120px !important;
        /* Extra bottom padding for floating FABs */
    }

    .footer-col {
        align-items: center;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col p {
        justify-content: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col ul {
        width: 100%;
    }

    .footer-col ul li {
        text-align: center;
        display: block;
    }

    .footer-col ul a {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center !important;
        padding-top: 30px !important;
    }
}

/* Additional Footer Image Alignment Fix */
.footer-logo-img {
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    .footer-logo-img {
        max-width: 200px;
    }
}

/* =============================================
   EMERGENCY / AMBULANCE SECTION â€” PERFECT FIX
   =============================================
   Desktop  : text LEFT-aligned | image RIGHT
   â‰¤1199px  : stacked column, fully CENTERED
   ============================================= */

/* â”€â”€ Desktop: pure left-aligned text panel â”€â”€ */
.ambulance-section {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 50px !important;
    text-align: left !important;
}

.ambulance-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
}

.ambulance-content .section-badge {
    align-self: flex-start;
    margin-bottom: 20px;
}

.ambulance-content h2 {
    text-align: left;
    width: 100%;
}

.ambulance-content p {
    text-align: left;
    width: 100%;
}

.ambulance-features {
    align-items: flex-start !important;
    width: 100%;
}

.ambulance-features span {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    justify-content: flex-start;
}

.ambulance-content .btn {
    align-self: flex-start;
}

/* â”€â”€ Tablet & Mobile: centered, stacked layout â”€â”€ */
@media (max-width: 1199px) {
    .ambulance-section {
        flex-direction: column !important;
        text-align: center !important;
        gap: 40px !important;
    }

    .ambulance-content {
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }

    .ambulance-content .section-badge {
        align-self: center !important;
    }

    .ambulance-content h2 {
        text-align: center !important;
        font-size: 2.4rem;
    }

    .ambulance-content p {
        text-align: center !important;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .ambulance-features {
        align-items: center !important;
        width: 100%;
    }

    .ambulance-features span {
        justify-content: center !important;
    }

    .ambulance-content .btn {
        align-self: center !important;
    }

    .ambulance-image-wrapper {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .ambulance-section {
        padding: 60px 7% !important;
        gap: 35px !important;
    }

    .ambulance-content h2 {
        font-size: 1.9rem !important;
    }

    .ambulance-content p {
        font-size: 1rem !important;
    }

    .ambulance-features {
        gap: 14px !important;
    }

    .ambulance-features span {
        font-size: 1rem !important;
    }

    .ambulance-image-wrapper {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .ambulance-content h2 {
        font-size: 1.6rem !important;
    }

    .ambulance-features i {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
        border-radius: 10px !important;
    }
}



/* FINAL NUCLEAR LOCK - ANNOUNCEMENT BAR + STICKY HEADER */

body>.emergency-strip,
.emergency-strip {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 40px !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: linear-gradient(90deg, #0d2460 0%, #1a4494 50%, #0d2460 100%) !important;
    background-size: 200% auto !important;
}

body>header,
header {
    position: fixed !important;
    top: 40px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99998 !important;
}

body {
    padding-top: 108px !important;
}

body.no-strip>header,
body.no-strip header {
    top: 0 !important;
}

body.no-strip {
    padding-top: 68px !important;
}

@media (max-width: 768px) {

    body>.emergency-strip,
    .emergency-strip {
        height: 36px !important;
        font-size: 0.72rem !important;
        padding: 0 12px !important;
        gap: 10px !important;
    }

    body>header,
    header {
        top: 36px !important;
    }

    body {
        padding-top: 100px !important;
    }

    body.no-strip {
        padding-top: 64px !important;
    }
}

/* HERO HEIGHT FIX - compensates for fixed announcement bar + header */
.hero {
    height: calc(100vh - 108px) !important;
    min-height: 600px !important;
}

@media (max-width: 768px) {
    .hero {
        height: calc(100vh - 100px) !important;
        min-height: 500px !important;
    }
}

/* PAGE-HEADER on inner pages â€” add padding-top so content is not cut off */
.page-header {
    padding-top: 60px !important;
}

@media (max-width: 768px) {
    .page-header {
        padding-top: 40px !important;
    }
}

/* ABSOLUTE FINAL - HERO + SECTION SPACING */
/* Hero must not be 100vh since body already has 108px padding */
.hero {
    height: calc(100vh - 108px) !important;
    min-height: 580px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    box-sizing: border-box !important;
}

section.hero {
    height: calc(100vh - 108px) !important;
}

@media (max-width: 768px) {

    .hero,
    section.hero {
        height: calc(100vh - 100px) !important;
        min-height: 480px !important;
    }
}


/* â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
   â•‘          DEFINITIVE FINAL FIX â€” DO NOT ADD AFTER THIS       â•‘
   â•šâ•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* 1. ANNOUNCEMENT BAR â€” locked at absolute top, 40px, always visible */
.emergency-strip {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex-wrap: nowrap !important;
    padding: 0 20px !important;
    gap: 24px !important;
    background: linear-gradient(90deg, #0a1e55 0%, #1a3a8a 50%, #0a1e55 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 0 !important;
}

/* 2. HEADER â€” locked at top:40px, below strip, NO gap */
header {
    position: fixed !important;
    top: 40px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99998 !important;
    margin: 0 !important;
}

/* 3. BODY â€” padding exactly = strip + header */
body {
    padding-top: 108px !important;
    margin-top: 0 !important;
}

/* 4. HERO â€” exact viewport fill below both bars */
.hero,
section.hero {
    height: calc(100vh - 40px - 68px) !important;
    min-height: 560px !important;
}

/* 5. MOBILE FLOATING BUTTONS â€” perfect non-overlapping stack */
@media (max-width: 768px) {

    /* Strip shrinks to 36px on mobile */
    .emergency-strip {
        height: 36px !important;
        max-height: 36px !important;
        min-height: 36px !important;
        gap: 14px !important;
        padding: 0 12px !important;
        font-size: 0.7rem !important;
    }

    /* Header sits below 36px strip */
    header {
        top: 36px !important;
    }

    /* Body = 36px strip + ~60px header = 96px */
    body {
        padding-top: 96px !important;
    }

    /* Hero fills rest */
    .hero,
    section.hero {
        height: calc(100vh - 36px - 60px) !important;
        min-height: 460px !important;
    }

    /* All floating buttons â€” right side, same width */
    .floating-whatsapp,
    .floating-emergency,
    .floating-location,
    .back-to-top {
        position: fixed !important;
        right: 16px !important;
        left: auto !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 9999 !important;
        font-size: 22px !important;
    }

    /* Perfect 4-button stack: 48px button + 8px gap = 56px steps */
    .floating-whatsapp {
        bottom: 16px !important;
        background: #25D366 !important;
        color: #fff !important;
    }

    .floating-emergency {
        bottom: 72px !important;
        background: linear-gradient(135deg, #E10600, #ff3333) !important;
        color: #fff !important;
    }

    .floating-location {
        bottom: 128px !important;
        background: linear-gradient(135deg, #1a73e8, #4285F4) !important;
        color: #fff !important;
    }

    .back-to-top {
        bottom: 184px !important;
    }
}

/* â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
   â•‘    DEPARTMENT PAGES â€” MOBILE RESPONSIVE FIXES               â•‘
   â•šâ•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Stats Banner â€” always defined (used on dept & doctor pages) */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 42, 102, 0.04), rgba(2, 132, 199, 0.06));
    border-radius: 16px;
    padding: 24px 16px;
    border: 1px solid rgba(10, 42, 102, 0.06);
}

.stat-box h4 {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Symptom Checker â€” base styling */
.symptom-checker {
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.03), rgba(10, 42, 102, 0.04));
    border: 1px solid rgba(225, 6, 0, 0.08);
    border-radius: 20px;
    padding: 30px;
}

/* Blog Approach Section */
.blog-approach-section {
    background: rgba(10, 42, 102, 0.02);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(10, 42, 102, 0.05);
}

@media (max-width: 768px) {

    /* Page Header â€” prevent overlap with fixed header + announcement strip */
    .page-header {
        padding-top: 90px !important;
        padding-bottom: 40px !important;
        min-height: 220px !important;
        height: auto !important;
    }

    .page-header-premium {
        padding-top: 90px !important;
        padding-bottom: 40px !important;
    }

    .page-header h1 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }

    .page-header p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Stats Banner â€” stack to 1 column on mobile */
    .stats-banner {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .stat-box {
        padding: 18px 16px !important;
    }

    .stat-box h4 {
        font-size: 1.8rem !important;
    }

    /* Blog Main Content â€” full width, proper padding */
    .blog-main-content {
        padding: 15px 0 30px 0 !important;
    }

    /* Section headings with icons â€” stack vertically on narrow screens */
    .blog-main-content h2 {
        font-size: 1.5rem !important;
        gap: 10px !important;
        word-break: break-word !important;
    }

    .blog-main-content h3 {
        font-size: 1.3rem !important;
        word-break: break-word !important;
    }

    .blog-main-content h4 {
        font-size: 1.15rem !important;
    }

    /* Inline paragraph text â€” slightly smaller on mobile */
    .blog-main-content p {
        font-size: 1rem !important;
        line-height: 1.75 !important;
    }

    /* Symptom checker â€” tighter padding */
    .symptom-checker {
        padding: 20px !important;
        margin-bottom: 30px !important;
    }

    /* FAQ items â€” prevent overflow */
    .faq-item {
        padding: 14px 15px !important;
    }

    .faq-item summary {
        font-size: 1rem !important;
    }

    /* Blog Approach Section */
    .blog-approach-section {
        padding: 20px !important;
    }

    /* Sidebar â€” stack below on mobile, remove sticky */
    .blog-sidebar {
        position: static !important;
        margin-top: 20px !important;
    }

    .blog-sidebar .premium-sidebar-call {
        padding: 25px 20px !important;
    }

    .blog-sidebar .premium-sidebar-call i {
        font-size: 2rem !important;
    }

    /* Footer â€” clear bottom nav */
    footer {
        padding-bottom: 120px !important;
    }

    /* Ensure content container doesn't overflow */
    section[style*="padding: var(--section-padding)"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Premium Glass cards */
    .premium-glass,
    .premium-card {
        border-radius: 16px !important;
    }

    /* Grid-2 â€” stack on mobile */
    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    /* Doctor Profile â€” disable sticky sidebar on mobile (single-column, sticky causes overlap) */
    .grid-2 [style*="position: sticky"],
    .grid-2 [style*="position:sticky"] {
        position: relative !important;
        top: auto !important;
    }

    /* Doctor Profile â€” reduce section padding on mobile */
    section[style*="padding: 100px 5%"] {
        padding: 40px 20px 60px !important;
    }

    /* Doctor Profile â€” stack the 2-col stats and feature grids  */
    .grid-2 [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    /* Profile form grid â€” stack name+phone fields */
    .appointment-form [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Fix profile card padding on mobile */
    .grid-2 .glass-card {
        padding: 24px 20px !important;
        border-radius: 20px !important;
    }

    /* Sidebar "Inside the Department" items â€” proper spacing  */
    .blog-sidebar .glass-card {
        border-radius: 16px !important;
        padding: 20px !important;
    }

    /* Page header pseudo-elements â€” don't block clicks */
    .page-header::before {
        pointer-events: none !important;
    }
}

/* Small phones (375px and below) */
@media (max-width: 400px) {
    .page-header h1 {
        font-size: 1.4rem !important;
    }

    .blog-main-content h2 {
        font-size: 1.3rem !important;
    }

    .stat-box h4 {
        font-size: 1.5rem !important;
    }
}

/* â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
   â•‘        MOBILE BOTTOM NAVIGATION BAR â€” PREMIUM STYLE         â•‘
   â•šâ•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Hidden on desktop */
.mob-bottom-nav,
.mob-quick-overlay {
    display: none;
}

@media (max-width: 768px) {

    /* â”€â”€ Hide old floating action buttons on mobile (replaced by bottom nav) â”€â”€ */
    .floating-whatsapp,
    .floating-emergency,
    .floating-location {
        display: none !important;
    }

    /* Extra body bottom padding so content never hides behind bar */
    body {
        padding-bottom: 85px !important;
    }

    /* Back-to-top arrow: moved above the bottom nav */
    .back-to-top {
        bottom: 90px !important;
        right: 16px !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        font-size: 18px !important;
        z-index: 9985 !important;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       BOTTOM NAV BAR - KAMINENI APP STYLE
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .mob-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 72px !important;
        /* Slightly taller to accommodate massive cutout */
        background: transparent !important;
        /* Background delegated to pseudo-element for cutout mapping */
        z-index: 9990 !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 40px calc(env(safe-area-inset-bottom, 0px)) 40px !important;
        filter: drop-shadow(0 -4px 12px rgba(0, 0, 0, 0.15)) !important;
        /* Drop shadow over the cutout notch natively */
        border: none !important;
        box-shadow: none !important;
    }

    /* Rendering the complex U-shape cutout in the background */
    .mob-bottom-nav::before {
        content: '';
        position: absolute;
        inset: 0;
        background: #006bb3;
        /* Medical blue app color matching reference */
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        -webkit-mask-image: radial-gradient(circle at 50% 0, rgba(0, 0, 0, 0) 62px, rgba(0, 0, 0, 1) 63px);
        mask-image: radial-gradient(circle at 50% 0, rgba(0, 0, 0, 0) 62px, rgba(0, 0, 0, 1) 63px);
        z-index: -1;
    }

    /* Side action buttons */
    .mob-nav-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        color: white !important;
        text-decoration: none !important;
        font-size: 0.8rem !important;
        /* Standardized text size */
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        min-width: 80px !important;
        transition: transform 0.2s !important;
    }

    .mob-nav-btn i {
        font-size: 1.65rem !important;
        /* Perfect app icon size */
        color: white !important;
    }

    .mob-nav-btn:active {
        transform: scale(0.92) !important;
    }

    /* Overriding colors for icons to match styling depth */
    .mob-nav-call i {
        color: #ff3333 !important;
    }

    /* Siren Red */
    .mob-nav-location i {
        color: white !important;
    }

    /* â”€â”€ Center floating absolute button nested exactly in the cutout â”€â”€ */
    .mob-nav-center-wrap {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: -55px !important;
        /* Center precisely matching the 110px size */
        z-index: 9999 !important;
    }

    .mob-nav-center-btn {
        width: 110px !important;
        height: 110px !important;
        border-radius: 50% !important;
        background: white !important;
        border: 4px solid #006bb3 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        overflow: hidden !important;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        padding: 8px !important;
    }

    .mob-nav-center-btn.open {
        box-shadow: 0 10px 30px rgba(0, 180, 216, 0.6) !important;
        transform: scale(1.1) !important;
    }

    .mob-nav-logo {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        border-radius: 0 !important;
        display: block !important;
        /* Removed extra transform to ensure logo visibility */
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       QUICK ACTIONS OVERLAY
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    /* FIXED NUCLEAR: Overlay is display:none until JS adds .active class.
       This completely removes it from the render tree â€” it cannot intercept any clicks. */
    .mob-quick-overlay {
        display: none !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 10005 !important;
        opacity: 0 !important;
    }

    .mob-quick-overlay.active {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    .mob-quick-backdrop {
        position: absolute !important;
        inset: 0 !important;
        background: rgba(5, 15, 60, 0.88) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        z-index: 1 !important;
        /* FIXED: backdrop below menu and close button */
    }

    .mob-quick-menu {
        position: absolute !important;
        bottom: 72px !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0 16px 12px !important;
        transform: translateY(40px) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 2 !important;
        /* FIXED: menu above backdrop */
    }

    .mob-quick-overlay.active .mob-quick-menu {
        transform: translateY(0) !important;
    }

    .mob-quick-heading {
        text-align: center !important;
        color: rgba(255, 255, 255, 0.6) !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.12em !important;
        text-transform: uppercase !important;
        margin-bottom: 14px !important;
    }

    .mob-quick-close {
        position: absolute !important;
        top: -52px !important;
        right: 16px !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
        color: white !important;
        font-size: 1.1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: background 0.2s !important;
        z-index: 3 !important;
        /* FIXED: close button above everything in overlay */
        touch-action: manipulation !important;
        /* FIXED: kills 300ms iOS tap delay */
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2) !important;
    }

    .mob-quick-close:active {
        background: rgba(255, 255, 255, 0.3) !important;
    }

    .mob-quick-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .mob-quick-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        background: rgba(255, 255, 255, 0.07) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 18px !important;
        padding: 20px 16px 16px !important;
        color: white !important;
        text-decoration: none !important;
        transition: background 0.2s, transform 0.2s !important;
    }

    .mob-quick-item:active {
        background: rgba(255, 255, 255, 0.18) !important;
        transform: scale(0.97) !important;
    }

    .mob-quick-icon {
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.6rem !important;
        transition: transform 0.2s !important;
    }

    .mqi-book {
        background: linear-gradient(135deg, #0077b6, #00b4d8) !important;
        color: white !important;
    }

    .mqi-doctor {
        background: linear-gradient(135deg, #1a4494, #3a7bd5) !important;
        color: white !important;
    }

    .mqi-wa {
        background: linear-gradient(135deg, #128c7e, #25d366) !important;
        color: white !important;
    }

    .mqi-amb {
        background: linear-gradient(135deg, #c62828, #f44336) !important;
        color: white !important;
    }

    .mob-quick-item span {
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.01em !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }
}


/* â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
   â•‘         DOCTOR SEARCH BAR â€” PREMIUM RESPONSIVE              â•‘
   â•šâ•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.dr-search-section {
    background: var(--bg-alt);
    padding: 48px 5% 24px;
}

.dr-search-container {
    max-width: 760px;
    margin: 0 auto;
}

/* The pill-shaped wrapper */
.dr-search-wrapper {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 2px solid rgba(0, 168, 168, 0.15) !important;
    border-radius: 60px !important;
    padding: 6px 6px 6px 22px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    gap: 0 !important;
    overflow: hidden !important;
}

.dr-search-wrapper:focus-within {
    border-color: rgba(0, 168, 168, 0.35) !important;
    box-shadow: 0 12px 40px rgba(0, 168, 168, 0.12) !important;
}

/* Magnifying glass icon on left */
.dr-search-icon {
    color: var(--secondary) !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
    margin-right: 12px !important;
    opacity: 0.8;
}

/* Text input */
.dr-search-input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    font-size: 1rem !important;
    color: var(--text-dark) !important;
    background: transparent !important;
    padding: 12px 0 !important;
    font-family: var(--font-body) !important;
    min-width: 0 !important;
    /* allow shrinking */
}

.dr-search-input::placeholder {
    color: #9aa5b8;
    font-size: 0.95rem;
}

/* Search button */
.dr-search-btn {
    flex-shrink: 0 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 11px 28px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.dr-search-btn:active {
    transform: scale(0.97) !important;
}

/* Icon inside button â€” hidden on desktop (shown only on mobile) */
.dr-search-btn-icon {
    display: none !important;
}

/* â”€â”€ Mobile: compact search â€” icon-only button â”€â”€ */
@media (max-width: 600px) {
    .dr-search-section {
        padding: 24px 4% 16px !important;
    }

    .dr-search-wrapper {
        padding: 5px 5px 5px 20px !important;
        border-radius: 50px !important;
    }

    .dr-search-icon {
        display: none !important;
        /* Hide redundant left icon on mobile */
    }

    .dr-search-input {
        font-size: 0.88rem !important;
        padding: 10px 0 !important;
    }

    .dr-search-input::placeholder {
        font-size: 0.82rem;
    }

    /* Button: show ONLY the icon on mobile */
    .dr-search-btn {
        padding: 10px 14px !important;
        gap: 0 !important;
        min-width: 44px !important;
        justify-content: center !important;
    }

    .dr-search-btn-text {
        display: none !important;
        /* hide text on mobile */
    }

    .dr-search-btn-icon {
        display: block !important;
        /* show icon on mobile */
        font-size: 1.1rem !important;
    }
}


/* â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
   â•‘         WHY FAMILIES TRUST â€” PREMIUM REDESIGN               â•‘
   â•šâ•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.why-trust-section {
    padding: 100px 5%;
    background: linear-gradient(160deg, #f0f4ff 0%, #f8fbff 50%, #eaf6f6 100%);
    position: relative;
    overflow: hidden;
}

.why-trust-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.why-trust-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 42, 102, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.why-trust-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* â”€â”€ Image Column â”€â”€ */
.why-trust-img-col {
    position: relative;
}

.why-trust-img-wrap {
    position: relative;
    border-radius: 32px;
    overflow: visible;
}

.why-trust-img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: top center;
    border-radius: 32px;
    display: block;
    box-shadow: 0 30px 70px rgba(10, 42, 102, 0.18);
    transition: transform 0.6s ease;
}

.why-trust-img-wrap:hover .why-trust-img {
    transform: scale(1.02);
}

/* Decorative ring behind image */
.why-trust-img-ring {
    position: absolute;
    inset: -16px;
    border-radius: 40px;
    border: 2.5px dashed rgba(0, 168, 168, 0.25);
    animation: ringRotate 20s linear infinite;
    pointer-events: none;
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Floating stat badges */
.why-float-badge {
    position: absolute;
    background: white;
    border-radius: 18px;
    padding: 14px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: badgeFloat 4s ease-in-out infinite;
    z-index: 10;
    font-family: var(--font-heading);
}

.why-fb-top {
    top: 32px;
    right: -28px;
    flex-direction: column;
    text-align: center;
    animation-delay: 0s;
}

.why-fb-bottom {
    bottom: 48px;
    left: -28px;
    animation-delay: 2s;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: translateY(-10px);
    }
}

.why-fb-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.why-fb-num sup {
    font-size: 0.9rem;
}

.why-fb-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.why-fb-bottom i {
    font-size: 1.4rem;
    color: var(--secondary);
    background: rgba(0, 168, 168, 0.1);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* â”€â”€ Right Content â”€â”€ */
.why-trust-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.why-trust-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.why-trust-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-trust-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

/* â”€â”€ 2Ã—2 Feature Cards â”€â”€ */
.why-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.why-card {
    background: white;
    border-radius: 20px;
    padding: 22px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--why-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
    border-color: transparent;
}

.why-card:hover::before {
    opacity: 1;
}

.why-card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 16px;
    background: color-mix(in srgb, var(--why-accent) 10%, transparent);
    color: var(--why-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.why-card:hover .why-card-icon {
    background: var(--why-accent);
    color: white;
    transform: rotate(-5deg) scale(1.08);
}

.why-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.why-card-body p {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* â”€â”€ Stats Bar â”€â”€ */
.why-trust-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: white;
    border-radius: 20px;
    padding: 22px 30px;
    box-shadow: 0 8px 32px rgba(10, 42, 102, 0.08);
    border: 1.5px solid rgba(10, 42, 102, 0.06);
}

.why-stat {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.why-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.why-stat-num sup {
    font-size: 1rem;
}

.why-stat-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.why-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(10, 42, 102, 0.1);
    flex-shrink: 0;
}

/* â”€â”€ Mobile â”€â”€ */
@media (max-width: 900px) {
    .why-trust-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why-trust-img {
        height: 380px;
    }

    .why-fb-top {
        right: 16px;
    }

    .why-fb-bottom {
        left: 16px;
    }

    .why-trust-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 600px) {
    .why-trust-section {
        padding: 60px 5%;
    }

    .why-trust-img {
        height: 280px;
    }

    .why-trust-img-ring {
        display: none;
    }

    .why-float-badge {
        padding: 10px 14px;
    }

    .why-fb-num {
        font-size: 1.4rem;
    }

    .why-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .why-trust-title {
        font-size: 1.75rem;
    }

    .why-trust-stats {
        flex-wrap: wrap;
        gap: 16px;
        padding: 18px 20px;
    }

    .why-stat-divider {
        display: none;
    }

    .why-stat {
        flex: 0 0 calc(50% - 8px);
    }
}

/* ========================================================= */
/* AUTO-SCROLL MARQUEE & COMPACT DEPARTMENT CARDS FIX        */
/* ========================================================= */

/* Infinite Auto-Scrolling Marquee */
.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;
}

@keyframes marquee {
    0% {
        transform: none;
    }

    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) {
    .excellence-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 25px !important;
    }

    .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;
    }
}


/* ========================================================= */
/* 1. ANNOUNCEMENT BAR (TOP STRIP) FIXES                     */
/* ========================================================= */
body {
    padding-top: 108px !important;
    /* Adjust if strip + header height changes */
}

.emergency-strip {
    /* FIXED: Prevent all background and marquee animations on desktop as requested */
    animation: none !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    height: 40px !important;
    box-sizing: border-box !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100% !important;
    z-index: 10001 !important;
    /* FIXED: Zero overlap with navbar below it */
}

.marquee-content {
    /* FIXED: Text precisely centered and readable on desktop */
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    animation: none !important;
    align-items: center !important;
}

.marquee-item {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    padding-right: 0 !important;
}

.marquee-item[aria-hidden="true"] {
    display: none !important;
}

@media (min-width: 769px) and (max-width: 1100px) {

    /* FIXED: Prevent content from overflowing/cutting off on tablets and narrow desktops */
    .marquee-item {
        gap: 10px !important;
    }

    .marquee-item span {
        font-size: 0.75rem !important;
    }

    .emergency-strip a.btn-call {
        padding: 4px 10px !important;
        font-size: 0.7rem !important;
    }
}

@media (max-width: 768px) {
    .emergency-strip {
        justify-content: flex-start !important;
    }

    .emergency-strip:hover .marquee-content {
        /* FIXED: Hover pausing marquee on mobile freezes it when user touches the screen */
        animation-play-state: running !important;
    }

    .marquee-content {
        /* FIXED: Marquee animation scoped strictly to mobile < 768px */
        width: max-content !important;
        flex-shrink: 0 !important;
        /* FIXED: Prevent content from squishing to 100vw width */
        justify-content: flex-start !important;
        animation: marquee 20s linear infinite !important;
    }

    .marquee-item {
        padding-right: 30px !important;
        flex-shrink: 0 !important;
    }

    .marquee-item[aria-hidden="true"] {
        display: flex !important;
    }
}

.marquee-item span {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

.marquee-item .btn-call {
    margin: 0 !important;
    padding: 0 16px !important;
    /* FIXED: Use 0 padding on top/bottom to allow flex to perfectly center vertically */
    font-size: 0.75rem !important;
    height: 28px !important;
    line-height: 1 !important;
    /* FIXED: Strict line height for precise alignment */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
}

/* ========================================================= */
/* 2. HEADER & MAIN NAVIGATION FIXES                         */
/* ========================================================= */
header {
    top: 40px !important;
    /* sit precisely below emergency strip */
    box-sizing: border-box !important;
}

.nav-arrow {
    margin-left: 5px !important;
}

.main-nav>li>a::after {
    height: 2px !important;
    bottom: -2px !important;
}

@media (max-width: 768px) {
    .main-logo-img {
        height: 38px !important;
        /* Scale logo for mobile header */
        width: auto !important;
    }

    header {
        padding: 10px 15px !important;
    }

    header.scrolled {
        padding: 8px 15px !important;
    }
}

/* ========================================================= */
/* 3. HERO SECTION & BUTTON CONSISTENCY FIXES                */
/* ========================================================= */
.nav-btn.btn,
.hero-btns .btn {
    padding: 0 24px !important;
    border-radius: 30px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    font-size: 0.95rem !important;
    white-space: nowrap !important;
}

.floating-whatsapp,
.floating-emergency,
.floating-location {
    z-index: 9900 !important;
}

@media (max-width: 768px) {

    .floating-whatsapp,
    .floating-emergency,
    .floating-location {
        display: none !important;
        /* Hide floating buttons on mobile to avoid overlap with bottom nav */
    }
}

/* ========================================================= */
/* 4. MOBILE BOTTOM NAVIGATION OVERLAP FIXES (Removed)       */
/* ========================================================= */

/* ========================================================= */
/* 5. PAGE CONTENT & FOOTER FIXES                            */
/* ========================================================= */
.section-title span.telugu-block,
.section-subtitle span {
    margin-top: 6px !important;
    display: block !important;
}

/* Ensure Center of Excellence cards are flex and buttons lock to bottom */
.image-card,
.highlight-card,
.idx-doc-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    height: 100% !important;
}

.image-card-content,
.idx-doc-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    /* So button does not stretch horizontally */
    width: 100% !important;
}

.image-card-content p.bilingual-desc {
    margin-bottom: 20px !important;
}

.image-card-content .btn,
.idx-doc-cta {
    margin-top: auto !important;
}

/* Footer icons spacing */
.footer-contact li {
    display: flex !important;
    align-items: flex-start !important;
}

.footer-contact li i {
    margin-right: 12px !important;
    margin-top: 6px !important;
    flex-shrink: 0 !important;
}

@media (max-width: 768px) {
    .footer-col {
        padding: 0 10px !important;
    }

    .footer-bottom {
        padding: 15px 10px !important;
    }
}

/* Fix mobile clipping on image cards */
@media (max-width: 768px) {
    .image-card {
        min-height: 480px !important;
    }

    .image-card-content {
        padding: 25px !important;
    }

    .image-card-content h3 {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
    }

    .image-card-content p.bilingual-desc {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }
}


/* =====================================================================
   UX / UI COMPREHENSIVE AUDIT FIXES
   ===================================================================== */

/* FIXED: Ensure universal border-box rendering to prevent layout bleed */
*,
*::before,
*::after {
    box-sizing: border-box !important;
}

/* 1. STYLING BUGS & Z-INDEX */

/* FIXED: Prevent Z-index overlapping between floating widgets, headers, and quick-action overlay */
header {
    z-index: 9999 !important;
    /* Header is top priority */
}

/* REMOVED: .mob-quick-overlay z-index:10005 was the ROOT CAUSE of ALL mobile buttons being dead.
   It overrode the z-index:-1 set inside @media(max-width:768px) for the inactive state.
   The overlay's z-index is now managed ONLY inside the @media block:
   - Inactive: z-index: -1 (line ~8029)
   - Active: z-index: 9991 (line ~8037)
*/
.mob-bottom-nav {
    z-index: 9990 !important;
}

.floating-whatsapp,
.floating-emergency,
.floating-location {
    z-index: 9000 !important;
    /* Keep below modal and header */
}

/* FIXED: Smooth out conflicting active states on mega menu */
.main-nav>li>a {
    transition: all 0.3s ease-in-out !important;
}


/* 2. UI ANIMATIONS */

/* FIXED: Prevent layout shifts during hover on emergency marquee buttons */
.emergency-strip a.btn-call:hover {
    transform: none !important;
    /* Removed translateY to stop vertical jumping inside the 40px restricted height */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4) !important;
}

/* FIXED: Ensure reveal animations don't cause horizontal stretching or container overflow before triggering */
.reveal,
.reveal-left,
.reveal-right,
.stagger-child {
    will-change: transform, opacity;
}

.reveal-left {
    transform: translateX(-30px);
    /* Reduced from 60px to prevent viewport stretching */
}

.reveal-right {
    transform: translateX(30px);
    /* Reduced from 60px to prevent viewport stretching */
}


/* 3. BUTTONS (Hit Targets & Usability) */

/* FIXED: Ensure all buttons and CTA links inherit cursor styling */
.btn,
button,
.mob-nav-center-btn,
.mob-nav-btn,
.exc-carousel-btn {
    cursor: pointer !important;
    outline: none !important;
}

/* FIXED: Force focus states for ADA compliance and keyboard navigation */
.btn:focus,
button:focus,
a:focus {
    outline: 2px solid var(--secondary) !important;
    outline-offset: 2px !important;
}

/* FIXED: Mobile touch targets â€” only apply to mobile nav buttons, NOT all .btn globally */
@media (max-width: 768px) {
    .mob-nav-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .emergency-strip a.btn-call {
        height: 32px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        padding: 0 16px !important;
    }
}


/* 4. SECTION ALIGNMENT & PLACEMENT */

/* FIXED: Enforce absolute centering of text globally within specific flex containers when appropriate */
.section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

/* FIXED: Grid wrappers leaking out of container on iPad screens */
.grid-2,
.team-grid,
.blog-grid,
.why-cards-grid,
.tech-grid {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* 5. MOBILE RESPONSIVENESS */

/* FIXED: Aggressively restrict global horizontal scrolling on small devices */
html,
body {
    max-width: 100vw !important;
    /* overflow-x: hidden removed */
}

@media (max-width: 768px) {

    /* FIXED: Scale down overly massive H1/H2 ensuring they never break word boundaries */
    h1,
    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
        word-break: break-word !important;
        line-height: 1.2 !important;
    }

    h2,
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
        word-wrap: break-word !important;
        line-height: 1.3 !important;
    }

    /* FIXED: Adjust section padding to prevent excessive void space on mobile */
    section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    /* FIXED: Make sure the marquee text isn't too large to read comfortably on iPhone SE sizes */
    .marquee-item span {
        font-size: 0.8rem !important;
    }
}


/* 6. DESKTOP OPTIMIZATION */

@media (min-width: 1440px) {

    /* FIXED: Prevent content from stretching to infinity on Ultra-Wide/4K monitors */
    .hero-content,
    .stats-bar,
    .excellence-carousel-wrapper {
        max-width: 1600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* FIXED: Boost line heights subtly on large format screens for easier tracking */
    body {
        font-size: 1.15rem !important;
        line-height: 1.85 !important;
    }
}


/* =====================================================================
   UX / UI COMPREHENSIVE AUDIT FIXES - SUBPAGES & RESPONSIVE REFINEMENTS
   ===================================================================== */

/* 1. STYLING BUGS */
/* FIXED: Cardiology Desktop Stats - Align icons and text properly vertically */
.dept-stats-grid {
    align-items: center !important;
}

.dept-stat-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
}

/* 2. MOBILE RESPONSIVENESS (375px) */
@media (max-width: 768px) {

    /* FIXED: Announcement Bar (Marquee) Overlaps - prevent CALL NOW button from clipping icons */
    .emergency-strip a.btn-call {
        flex-shrink: 0 !important;
        /* Never shrink the CTA button */
        margin-left: 10px !important;
    }

    /* FIXED: Floating Button Collision - Scroll to top overlaps bottom mobile nav */
    .scroll-to-top {
        bottom: 80px !important;
        /* Moved above the 62px bottom nav */
    }

    /* FIXED: Specialist Count Alignment - Fix cramped "x specialists" text in doctors list */
    .dept-doc-count {
        text-align: left !important;
        margin-top: 5px !important;
        display: block !important;
    }

    /* Removed oversized override for Center Button to maintain 130px size */

    /* FIXED: Cardiology Title Alignment - Inconsistent padding on mobile */
    .dept-header h1 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* FIXED: Horizontal Content Breathing Room - Footer text lacks sufficient side padding */
    .footer-wrapper,
    .footer-bottom-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
}

/* 3. BUTTONS & CLICK TARGETS */
/* FIXED: Touch Target Sizing - "View Profile" links on doctor cards are too narrow */
.doc-card-link,
.doctor-card a.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    min-width: 120px !important;
    padding: 8px 16px !important;
}

/* 4. SECTION ALIGNMENT & PLACEMENT */
/* FIXED: Fix grid layouts for department pages on desktop to stop stretching */
.dept-content-grid {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 5. UI ANIMATIONS */
/* FIXED: Ensure scroll-to-top button transitions smoothly without layout shift */
.scroll-to-top {
    transition: opacity 0.3s ease, transform 0.3s ease, bottom 0.3s ease !important;
}


/* =====================================================================
   ANIMATION, PRELOADER & Z-INDEX BUG FIXES
   ===================================================================== */

/* 1. PRELOADER FIXES */
/* FIXED: Preloader must never be interactive after fade begins â€” on all pages */
/* .preloader removed */

.preloader.fade-out {
    pointer-events: none !important;
    /* FIXED: Immediately drop event capture so page is clickable */
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    /* FIXED: Fully remove from layout and hit-testing on mobile WebKit */
}

/* 2. ANIMATION TIMING & STATE FIXES */
/* FIXED: Ensure reveal animations definitively hold their end state so they don't snap back or leave elements opacity: 0 */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.stagger-child {
    animation-fill-mode: forwards !important;
    /* Critical for keyframes */
}

/* FIXED: Ensure anything already active is visibly forced to opacity 1, preventing permanent invisible bugs */
.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active,
.stagger-child.active {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* FIXED: Prevent scroll-based animations from causing horizontal overflow specifically on mobile */
@media (max-width: 768px) {
    .reveal-left:not(.active) {
        transform: translateX(-15px) !important;
        /* Scaled down distance on mobile */
    }

    .reveal-right:not(.active) {
        transform: translateX(15px) !important;
        /* Scaled down distance on mobile */
    }
}

/* 3. OVERLAPPING & Z-INDEX FIXES */
/* FIXED: Absolute/Fixed elements covering interactive content unexpectedly */
.mega-menu {
    z-index: 9995 !important;
    /* Ensure mega dropdown never sits below adjacent headers */
}

.dropdown {
    z-index: 9996 !important;
    /* Standard dropdown needs layer parity */
}

.mobile-open .mega-menu,
.mobile-open .dropdown {
    z-index: auto !important;
    /* Inside mobile drawer, reset z-index */
}

/* FIXED: Inactive overlay is display:none â€” completely removed from render tree */
.mob-quick-overlay:not(.active) {
    display: none !important;
}

/* 4. TRANSITION FIXES */
/* FIXED: Smooth transitions for accordion/dropdown menus on both opening and closing */
.dropdown,
.mega-menu {
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
    transform-origin: top center;
}

.main-nav li:not(:hover) .dropdown,
.main-nav li:not(:hover) .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    /* Drop interactivity when inactive */
}

/* FIXED: Fast clicking breaks buttons or mid-transition states */
.btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    z-index: 2;
    /* Keep above pseudo elements */
}

/* 5. FIXING PSEUDO ELEMENTS */
/* FIXED: background effects overlapping real links/text inside cards */
.image-card::before,
.image-card::after,
.why-card::before,
.why-card::after,
.stats-strip::before,
.stats-strip::after {
    z-index: 0 !important;
    pointer-events: none !important;
}

.image-card-content,
.why-item,
.stat-item {
    z-index: 2 !important;
    /* Pull content strictly above decorative backgrounds */
    position: relative !important;
}

/* Sticky Sidebar CSS Added */
.blog-sidebar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 130px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    height: max-content !important;
    align-self: flex-start !important;
    z-index: 10 !important;
}

/* ========================================================================== */
/* PIXEL-LEVEL ALIGNMENT â€” SAFE TARGETED FIXES ONLY (no global button hacks)  */
/* ========================================================================== */

/* SAFE: Kill preloader click-blocking if JS fails */
.preloader.fade-out {
    pointer-events: none !important;
    visibility: hidden !important;
    display: none !important;
}

/* SAFE: CALL NOW button in strip â€” vertically center text */
.marquee-item .btn-call,
.emergency-strip a.btn-call {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    gap: 6px !important;
}

/* SAFE: Navbar anchor links â€” center vertically */
.main-nav>li>a {
    display: inline-flex !important;
    align-items: center !important;
}

/* SAFE: Icon-text pairs in contact/footer */
.contact-info li,
.footer-contact li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* SAFE: Btn i (icon inside buttons) should not collapse */
.btn i,
.btn svg {
    flex-shrink: 0;
    line-height: inherit;
}

/* SAFE: Card alignment â€” equal heights in grid rows */
.excellence-grid,
.why-cards-grid,
.doctors-grid {
    align-items: stretch !important;
}






