@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Open+Sans:wght@300;400;600&family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary: #0A2A66;
    --primary-light: #1a3f8a;
    --secondary: #00A8A8;
    --secondary-glow: rgba(0, 168, 168, 0.3);
    --accent: #E10600;
    --accent-glow: rgba(225, 6, 0, 0.25);
    --bg: #F0F4F8;
    --bg-alt: #E8EDF5;
    --dark-grad: linear-gradient(135deg, #0A2A66 0%, #061A40 50%, #0D1B3E 100%);
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --shadow: 0 10px 40px rgba(10, 42, 102, 0.08);
    --shadow-hover: 0 25px 60px rgba(10, 42, 102, 0.15);
    --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: 16px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* font families */
    --font-heading: "Montserrat", "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    --font-ui: "Roboto", "Helvetica", Arial, sans-serif;

    /* base sizes (desktop) */
    --fs-base: 16px;
    /* 1rem = 16px */
    --fs-h1: 3rem;
    /* 48px */
    --fs-h2: 2.25rem;
    /* 36px */
    --fs-h3: 1.75rem;
    /* 28px */
    --fs-h4: 1.25rem;
    /* 20px */
    --fs-body: 1rem;
    /* 16px */
    --fs-small: 0.875rem;
    /* 14px */

    /* line-heights */
    --lh-heading: 1.15;
    --lh-body: 1.6;
    --lh-tight: 1.25;

    /* letter spacing */
    --ls-heading: 0.2px;
    --ls-uppercase: 1px;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    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);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 0.6rem;
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
    font-weight: 700;
}

h1 {
    font-family: var(--font-heading);
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
}

h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.25;
}

h3 {
    font-family: var(--font-body);
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.35;
}

h4 {
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-weight: 600;
}

h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ═══════════════════════════════════════════ */
/* PRELOADER                                   */
/* ═══════════════════════════════════════════ */
.preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0A2A66, #061A40);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.pl-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pl-logo {
    width: 320px;
    max-width: 85vw;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.pl-orbit {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawOrbit 1.5s ease-in-out forwards;
    stroke: #00A8A8;
}

@keyframes drawOrbit {
    to {
        stroke-dashoffset: 0;
    }
}

.pl-k {
    opacity: 0;
    animation: fadeUpLetter 0.8s ease forwards 0.2s;
    fill: var(--white);
}

.pl-h {
    opacity: 0;
    animation: fadeUpLetter 0.8s ease forwards 0.4s;
    fill: var(--white);
}

@keyframes fadeUpLetter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pl-text-1 {
    opacity: 0;
    animation: fadeRightText 0.8s ease forwards 0.6s;
    fill: var(--white);
}

.pl-text-2 {
    opacity: 0;
    animation: fadeRightText 0.8s ease forwards 0.8s;
    fill: var(--secondary);
}

@keyframes fadeRightText {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pl-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.2) 0%, transparent 70%);
    animation: pulseGlow 2s infinite alternate;
    z-index: 1;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════ */
/* SCROLL REVEAL + ANIMATIONS                 */
/* ═══════════════════════════════════════════ */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.stagger-child {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-child.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════ */
/* EMERGENCY STRIP                             */
/* ═══════════════════════════════════════════ */
.emergency-strip {
    background: linear-gradient(90deg, #E10600 0%, #C00500 50%, #E10600 100%);
    background-size: 200% 100%;
    animation: stripShimmer 3s ease infinite;
    color: var(--white);
    padding: 12px 5%;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(225, 6, 0, 0.3);
}

@keyframes stripShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.emergency-strip span.pulse {
    animation: pulse 2s infinite;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.emergency-strip a.btn-call {
    background: var(--white);
    color: var(--accent);
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.emergency-strip a.btn-call:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════ */
/* HEADER - GLASSMORPHISM NAVBAR               */
/* ═══════════════════════════════════════════ */
header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.04);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    padding: 8px 5%;
}

.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: 25px;
}

.main-nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.main-nav>li {
    position: relative;
}

.main-nav>li>a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    position: relative;
    padding: 10px 14px;
    border-radius: 10px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.nav-arrow {
    font-size: 0.55rem;
    transition: var(--transition);
    opacity: 0.5;
}

.has-mega:hover .nav-arrow,
.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.main-nav>li>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: var(--transition);
    border-radius: 3px;
}

.main-nav>li>a:hover::after,
.main-nav>li>a.active::after {
    width: 60%;
}

.main-nav>li>a:hover {
    color: var(--secondary);
    background: rgba(0, 168, 168, 0.04);
}

.main-nav>li>a.active {
    color: var(--secondary);
}

/* Nav CTA Button */
.nav-cta {
    margin-left: 8px;
}

.nav-btn {
    padding: 10px 22px !important;
    font-size: 0.8rem !important;
    border-radius: 12px !important;
}

.nav-btn::after {
    display: none !important;
}

/* ── MEGA MENU ── */
.mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 820px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(10, 42, 102, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    pointer-events: none;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--white);
    border-radius: 3px;
    rotate: 45deg;
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.03);
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Hover bridge */
.has-mega::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

.mega-col h5 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 168, 168, 0.15);
}

.mega-col h5 i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.mega-col ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-col ul li a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.mega-col ul li a::after {
    display: none;
}

.mega-col ul li a:hover {
    background: rgba(0, 168, 168, 0.06);
    color: var(--primary);
    padding-left: 16px;
}

.mega-highlight {
    background: linear-gradient(135deg, rgba(10, 42, 102, 0.03), rgba(0, 168, 168, 0.05));
    padding: 20px;
    border-radius: 14px;
    margin: -10px;
    padding: 20px;
}

/* ── DROPDOWN MENU ── */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(10, 42, 102, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 2px;
    rotate: 45deg;
    box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.03);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown li a::after {
    display: none;
}

.dropdown li a i {
    color: var(--secondary);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.dropdown li a:hover {
    background: rgba(0, 168, 168, 0.06);
    color: var(--primary);
    padding-left: 18px;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 4px 10px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    z-index: 1001;
}

/* ── 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: 15px 34px;
    border-radius: 14px;
    font-weight: 700;
    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: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(10, 42, 102, 0.25);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(10, 42, 102, 0.35);
}

.btn-accent {
    background: linear-gradient(135deg, #E10600, #ff3333);
    color: var(--white);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(225, 6, 0, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), #00c4c4);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--secondary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-4px);
    border-color: var(--white);
}

/* ═══════════════════════════════════════════ */
/* SECTIONS                                    */
/* ═══════════════════════════════════════════ */
section {
    padding: 100px 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 1.15rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(10, 42, 102, 0.05));
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 168, 168, 0.2);
}

/* ═══════════════════════════════════════════ */
/* HERO - CINEMATIC SLIDESHOW                  */
/* ═══════════════════════════════════════════ */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: var(--white);
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease;
    transform: scale(1.05);
}

.hero-slide-bg.active {
    opacity: 1;
    transform: scale(1);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 26, 64, 0.92) 0%, rgba(10, 42, 102, 0.7) 40%, rgba(0, 168, 168, 0.15) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: 1;
}

/* Floating particles in hero */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 168, 168, 0.5);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content .section-badge {
    background: rgba(0, 168, 168, 0.15);
    border-color: rgba(0, 168, 168, 0.3);
}

.hero h1 {
    font-size: var(--fs-h1);
    color: var(--white);
    line-height: var(--lh-heading);
    margin-bottom: 25px;
    letter-spacing: var(--ls-heading);
    font-weight: 700;
}

.hero h1 .highlight-text {
    background: linear-gradient(135deg, #00e5e5, #00A8A8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 650px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.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);
    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: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 42, 102, 0.15);
}

.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: 60px;
    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: 25px;
    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(2, 1fr);
    gap: 24px;
    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.5;
}

.highlight-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.highlight-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-link {
    color: var(--secondary);
}

.highlight-card:hover .highlight-link i {
    transform: translateX(4px);
}

.small-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.small-card {
    padding: 24px 20px;
    text-align: left;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    cursor: pointer;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(10, 42, 102, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.small-card::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.small-card i:not(.fa-chevron-right) {
    font-size: 1.6rem;
    color: var(--secondary);
    transition: all 0.3s ease;
    width: 32px;
    text-align: center;
}

.small-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 42, 102, 0.06);
    border-color: rgba(10, 42, 102, 0.15);
    background: linear-gradient(to right, #ffffff, rgba(0, 168, 168, 0.03));
}

.small-card:hover::after {
    opacity: 1;
    transform: translateX(0);
    color: var(--secondary);
}

.small-card:hover i:not(.fa-chevron-right) {
    color: var(--primary);
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════ */
/* WHY CHOOSE US                               */
/* ═══════════════════════════════════════════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    transition: var(--transition);
    border-radius: 16px;
    font-weight: 500;
    border: 1px solid transparent;
}

.why-item:hover {
    transform: translateX(8px);
    background: rgba(0, 168, 168, 0.04);
    border-color: rgba(0, 168, 168, 0.15);
}

.why-item i {
    color: var(--secondary);
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.15), rgba(0, 168, 168, 0.05));
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
    transition: var(--transition);
}

.why-item:hover i {
    background: var(--secondary);
    color: var(--white);
    transform: rotate(5deg);
}

/* ═══════════════════════════════════════════ */
/* AMBULANCE SECTION                           */
/* ═══════════════════════════════════════════ */
.ambulance-section {
    background: var(--dark-grad);
    color: var(--white);
    border-radius: 40px;
    margin: 0 5%;
    padding: 80px 6%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(10, 42, 102, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.ambulance-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.15) 0%, transparent 70%);
    animation: pulseGlow 4s ease infinite alternate;
}

.ambulance-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.ambulance-image-wrapper {
    flex: 1;
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.ambulance-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambulance-section:hover .ambulance-image-wrapper img {
    transform: scale(1);
}

.ambulance-section h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ambulance-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.ambulance-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 35px;
}

.ambulance-features span {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.ambulance-features i {
    color: var(--white);
    background: rgba(225, 6, 0, 0.3);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════ */
/* TECHNOLOGY SECTION                          */
/* ═══════════════════════════════════════════ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tech-card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.tech-card:hover i {
    color: var(--secondary);
    transform: scale(1.1);
}

.tech-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* ═══════════════════════════════════════════ */
/* DOCTORS SECTION                             */
/* ═══════════════════════════════════════════ */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.doctor-card {
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    padding: 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.doctor-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.doctor-img-wrapper {
    position: relative;
    overflow: hidden;
}

.doctor-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-card:hover .doctor-img {
    transform: scale(1.05);
}

.doctor-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
}

.doctor-info {
    padding: 25px 30px 30px;
    text-align: center;
}

.doctor-info h4 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.doctor-info p {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.doctor-info .exp {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ═══════════════════════════════════════════ */
/* TESTIMONIALS                                */
/* ═══════════════════════════════════════════ */
.testimonials-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.06) 0%, transparent 70%);
}

.slider-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    padding: 50px 50px;
    border-radius: 30px;
}

.slide {
    display: none;
    animation: fadeUp 0.7s ease;
}

.slide.active {
    display: block;
}

.quote-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    opacity: 0.15;
    margin-bottom: 15px;
}

.slide p {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    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: 25px;
    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: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    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: 60px;
    height: 60px;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 8px 25px var(--accent-glow);
    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: 25px;
    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: 55px;
        height: 55px;
        font-size: 28px;
    }

    .floating-emergency {
        right: 20px;
        bottom: 20px;
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .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: 130px 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: 20px;
    }

    .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 {
        font-size: 0.8rem;
        gap: 10px;
        padding: 10px 3%;
    }
}

\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; /* 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: 0.95rem !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 168, 168, 0.2) !important;
    }
    
    /* Top Strip Clean Up */
    .emergency-strip {
        padding: 8px 15px !important;
        gap: 8px !important;
        justify-content: space-between !important;
    }
    
    .emergency-strip span {
        display: none !important; 
    }
    
    .emergency-strip span:nth-child(3) {
        display: inline-block !important; 
        font-size: 0.8rem !important;
    }
    
    .emergency-strip a.btn-call {
        padding: 8px 16px !important;
        font-size: 0.75rem !important;
    }
}
