/* ============================================================
   GLOBAL CARE MULTI-SPECIALITY HOSPITAL — PREMIUM STYLESHEET
   ============================================================ */

/* ==================== CSS VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}
:root {
    /* Primary Palette */
    --primary: #0a2540;
    --primary-light: #1a3a5c;
    --primary-dark: #061b2e;
    --accent: #0070e0;
    --accent-light: #3d9bff;
    --accent-dark: #0056b3;
    --accent-hover: #0060c0;

    /* Medical Green */
    --green: #00a878;
    --green-light: #00c98d;
    --green-dark: #008c63;

    /* Emergency */
    --danger: #dc2626;
    --danger-light: #ef4444;
    --danger-dark: #b91c1c;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-50: #f1f5f9;
    --gray-100: #e2e8f0;
    --gray-200: #cbd5e1;
    --gray-300: #94a3b8;
    --gray-400: #64748b;
    --gray-500: #475569;
    --gray-600: #334155;
    --gray-700: #1e293b;
    --dark: #0f172a;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.15);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1280px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-600);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.text-center {
    text-align: center;
}

/* ==================== SCROLL PROGRESS BAR ==================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--green), var(--accent-light));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    z-index: 99999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(0, 112, 224, 0.5);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==================== PRELOADER ==================== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.loader-ring:nth-child(1) {
    width: 100px;
    height: 100px;
    border-top-color: var(--accent-light);
    animation: loaderSpin 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 76px;
    height: 76px;
    border-right-color: var(--green-light);
    animation: loaderSpin 1.2s linear infinite reverse;
}

.loader-ring:nth-child(3) {
    width: 52px;
    height: 52px;
    border-bottom-color: var(--accent-light);
    animation: loaderSpin 0.9s linear infinite;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-center {
    z-index: 1;
}

.loader-center i {
    font-size: 28px;
    color: var(--white);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.loader-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: loaderTextFade 2s ease-in-out infinite;
}

@keyframes loaderTextFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ==================== FLOATING BUTTONS ==================== */
.floating-emergency {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    background: var(--danger);
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    animation: emergencyPulse 2s infinite;
    overflow: hidden;
    transition: var(--transition);
}

.floating-emergency span {
    display: none;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    white-space: nowrap;
}

.floating-emergency:hover {
    width: auto;
    padding: 0 20px;
    border-radius: var(--radius-full);
}

.floating-emergency:hover span {
    display: inline;
}

@keyframes emergencyPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(220, 38, 38, 0.7); }
}

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 9998;
    background: #25d366;
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.floating-appointment {
    position: fixed;
    right: 24px;
    bottom: 30px;
    z-index: 9998;
    background: var(--accent);
    color: var(--white);
    height: 56px;
    padding: 0 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 112, 224, 0.4);
    transition: var(--transition);
}

.floating-appointment:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 112, 224, 0.5);
}

.floating-appointment i {
    font-size: 18px;
}

/* ==================== HEADER ==================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
}

.top-bar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, margin-top 0.3s ease;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-left a,
.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
}

.top-bar-left a:hover {
    color: var(--white);
}

.top-bar-left i {
    color: var(--accent-light);
    font-size: 12px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--accent-light);
}

/* Navbar */
.navbar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: transparent;
    padding: 16px 0;
    transition: var(--transition-slow);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--primary);
}

.logo i {
    font-size: 36px;
    color: var(--accent-light);
}

.navbar.scrolled .logo i {
    color: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.logo-sub {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    font-weight: 500;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links > li > a {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.nav-links > li > a i {
    font-size: 10px;
    transition: var(--transition);
}

.navbar.scrolled .nav-links > li > a {
    color: var(--gray-600);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-links > li > a:hover,
.navbar.scrolled .nav-links > li > a.active {
    color: var(--accent);
    background: rgba(0, 112, 224, 0.06);
}

/* Mega Menu */
.has-mega-menu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 800px;
    max-width: calc(100vw - 48px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    z-index: 100;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.has-mega-menu:hover > a i {
    transform: rotate(180deg);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mega-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: 12px;
    font-weight: 600;
}

.mega-col ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mega-col ul li a:hover {
    background: var(--gray-50);
    color: var(--accent);
}

.mega-col ul li a i {
    width: 20px;
    color: var(--accent);
    font-size: 14px;
}

.mega-highlight {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px;
}

.mega-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.mega-cta:hover {
    background: var(--accent);
    color: var(--white);
}

.mega-cta.emergency {
    background: var(--danger);
    color: var(--white);
}

.mega-cta.emergency:hover {
    background: var(--danger-dark);
}

.mega-cta i {
    font-size: 18px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-emergency-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--danger);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    animation: emergencyPulse 2s infinite;
}

.nav-emergency-btn:hover {
    background: var(--danger-dark);
}

.nav-appointment-btn {
    padding: 10px 24px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-appointment-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--primary);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 112, 224, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
    animation: emergencyPulse 2s infinite;
}

.btn-danger:hover {
    background: var(--danger-dark);
    border-color: var(--danger-dark);
}

.btn-white {
    background: var(--white);
    color: var(--danger);
    border-color: var(--white);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--danger);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
}

/* ==================== SECTION HEADERS ==================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 112, 224, 0.08);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title span {
    color: var(--accent);
}

.section-desc {
    font-size: 17px;
    color: var(--gray-400);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 64px;
}

/* ==================== HERO ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    margin-top: 0; /* header is fixed, hero sits under it naturally */
}

.hero-slider {
    position: relative;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    flex-direction: column;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.7) 50%, rgba(0, 112, 224, 0.4) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #fbbf24;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-emergency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 15px;
}

.hero-emergency i {
    color: var(--danger-light);
    animation: emergencyPulse 2s infinite;
}

.hero-emergency span {
    font-weight: 600;
}

.hero-emergency a {
    color: #fca5a5;
    font-weight: 700;
    font-size: 18px;
}

.hero-emergency a:hover {
    color: var(--white);
}

/* Hero Slider Controls */
.hero-slider-controls {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: -80px;
    margin-bottom: 20px;
}

.slider-prev, .slider-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    font-size: 14px;
}

.slider-prev:hover, .slider-next:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.dot.active {
    background: var(--accent);
    border-color: var(--white);
    transform: scale(1.2);
}

/* Hero Stats */
.hero-stats {
    position: relative;
    width: 100%;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 3px solid var(--accent);
    flex-shrink: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 36px 20px;
    position: relative;
    transition: var(--transition);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gray-100);
}

.stat-item:hover {
    background: var(--gray-50);
}

.stat-icon {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 16px;
    color: var(--accent);
    font-weight: 600;
    display: inline;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ==================== ABOUT ==================== */
.about-section {
    background: var(--white);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 112, 224, 0.02) 100%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-images {
    position: relative;
    padding: 20px;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 40px;
    left: -10px;
    background: var(--accent);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 112, 224, 0.3);
    z-index: 2;
}

.about-experience-badge .years {
    display: block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-content .section-title {
    margin-top: 8px;
}

.about-lead {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content > p {
    margin-bottom: 28px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: var(--transition);
}

.about-feature:hover {
    background: rgba(0, 112, 224, 0.06);
    transform: translateY(-2px);
}

.about-feature i {
    font-size: 24px;
    color: var(--accent);
    margin-top: 2px;
}

.about-feature h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 12px;
    color: var(--gray-400);
}

.about-mission {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.mission-tab {
    flex: 1;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.mission-tab.active,
.mission-tab:hover {
    border-left-color: var(--accent);
    background: rgba(0, 112, 224, 0.04);
}

.mission-tab h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mission-tab h4 i {
    color: var(--accent);
}

.mission-tab p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
}

.management-quote {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius);
    margin-bottom: 28px;
    position: relative;
}

.management-quote::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 60px;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.2;
    line-height: 1;
}

.management-quote p {
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
    opacity: 0.95;
}

.management-quote cite {
    font-size: 13px;
    opacity: 0.8;
    font-style: normal;
    font-weight: 600;
}

/* ==================== DEPARTMENTS ==================== */
.departments-section {
    background: var(--off-white);
    position: relative;
}

.departments-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 112, 224, 0.04), transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dept-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.dept-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 112, 224, 0.03) 100%);
    transition: height 0.4s ease;
    z-index: -1;
}

.dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    transform: scaleX(0);
    transition: var(--transition);
}

.dept-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.dept-card:hover::after {
    height: 100%;
}

.dept-card:hover::before {
    transform: scaleX(1);
}

.dept-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(0, 112, 224, 0.08), rgba(0, 168, 120, 0.08));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--accent);
    transition: var(--transition);
}

.dept-card:hover .dept-icon {
    background: linear-gradient(135deg, var(--accent), var(--green));
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.dept-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.dept-card p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 16px;
}

.dept-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition);
}

.dept-link:hover {
    gap: 10px;
    color: var(--accent-dark);
}

/* ==================== DOCTORS ==================== */
.doctors-section {
    background: var(--white);
}

.doctor-search {
    margin-bottom: 48px;
}

.search-bar {
    display: flex;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    padding: 8px;
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.search-field {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-field i {
    position: absolute;
    left: 16px;
    color: var(--gray-300);
    font-size: 16px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 12px 16px 12px 44px;
    font-size: 14px;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    background: var(--gray-50);
    border: 1px solid transparent;
    transition: var(--transition);
}

.search-field input:focus,
.search-field select:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 112, 224, 0.1);
}

.search-bar .btn {
    min-width: 120px;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.doctor-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.doctor-card:hover .doctor-img img {
    transform: scale(1.05);
}

.doctor-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: var(--transition);
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.doctor-info {
    padding: 20px;
}

.doctor-specialty-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 112, 224, 0.08);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.doctor-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.doctor-qualification {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 6px;
}

.doctor-experience {
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.doctor-info .btn-outline {
    color: var(--accent);
    border-color: var(--accent);
    font-size: 13px;
}

.doctor-info .btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}

.no-results i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 20px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

/* ==================== WHY CHOOSE US ==================== */
.why-choose-section {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 120, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.why-choose-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 112, 224, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--green));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 26px;
    color: var(--white);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 112, 224, 0.3);
}

.why-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ==================== MEDICAL TOURISM ==================== */
.medical-tourism-section {
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.medical-tourism-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 112, 224, 0.02) 0%, transparent 50%, rgba(0, 168, 120, 0.02) 100%);
    pointer-events: none;
}

.tourism-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tourism-lead {
    font-size: 17px;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.tourism-features {
    margin-bottom: 36px;
}

.tourism-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.tourism-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(0, 112, 224, 0.1), rgba(0, 168, 120, 0.1));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
}

.tourism-feature h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.tourism-feature p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.5;
}

.tourism-image {
    position: relative;
}

.tourism-image img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 600px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.tourism-stats-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 28px;
}

.tourism-stat {
    text-align: center;
}

.tourism-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

.tourism-stat-label {
    font-size: 12px;
    color: var(--gray-400);
    white-space: nowrap;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.testimonials-section .section-label {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-light);
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-section .section-title span {
    color: var(--accent-light);
}

.testimonials-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    margin: 0 12px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 72px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.testimonial-author h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

.testimonial-author span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.test-prev, .test-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    font-size: 14px;
}

.test-prev:hover, .test-next:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.test-dots {
    display: flex;
    gap: 8px;
}

.test-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.test-dots .dot.active {
    background: var(--accent-light);
    transform: scale(1.2);
}

/* ==================== BLOG ==================== */
.blog-section {
    background: var(--off-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-meta span {
    font-size: 12px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-meta i {
    color: var(--accent);
    font-size: 11px;
}

.blog-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content h3 a:hover {
    color: var(--accent);
}

.blog-content > p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

.blog-read-more:hover {
    gap: 10px;
}

/* ==================== EMERGENCY BANNER ==================== */
.emergency-banner-section {
    background: linear-gradient(135deg, var(--danger), var(--danger-dark));
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.emergency-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.emergency-banner-content {
    display: flex;
    align-items: center;
    gap: 36px;
    position: relative;
    z-index: 1;
}

.emergency-icon-pulse {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    animation: pulse 2s infinite;
}

.emergency-text h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.emergency-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
}

.emergency-actions {
    display: flex;
    gap: 16px;
    margin-left: auto;
    flex-shrink: 0;
}

/* ==================== APPOINTMENT ==================== */
.appointment-section {
    background: var(--white);
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.appointment-benefits {
    margin: 28px 0;
}

.appointment-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--gray-500);
}

.appointment-benefit i {
    color: var(--green);
    font-size: 18px;
}

.appointment-contact-info {
    margin-top: 28px;
}

.appointment-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}

.appointment-contact-item:last-child {
    border-bottom: none;
}

.appointment-contact-item i {
    width: 44px;
    height: 44px;
    background: rgba(0, 112, 224, 0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
}

.appointment-contact-item strong {
    display: block;
    font-size: 13px;
    color: var(--primary);
}

.appointment-contact-item a {
    font-size: 14px;
    color: var(--accent);
}

.appointment-contact-item a:hover {
    color: var(--accent-dark);
}

/* Form */
.appointment-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.appointment-form {
    padding: 40px;
}

.appointment-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.appointment-form h3 i {
    color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.form-group label span {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--gray-50);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-600);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 112, 224, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--danger);
    background: rgba(220, 38, 38, 0.02);
}

.form-error {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
    min-height: 18px;
}

.form-group textarea {
    resize: vertical;
}

.form-disclaimer {
    margin-top: 16px;
    font-size: 12px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-disclaimer i {
    color: var(--green);
}

/* ==================== SUCCESS POPUP ==================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    transform: scale(0.8) translateY(20px);
    transition: var(--transition);
}

.popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-icon {
    font-size: 64px;
    color: var(--green);
    margin-bottom: 20px;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.popup-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 12px;
}

.popup-content > p {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.popup-details {
    text-align: left;
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    font-size: 14px;
}

.popup-details p {
    padding: 4px 0;
    color: var(--gray-500);
}

.popup-details strong {
    color: var(--primary);
}

/* ==================== INSURANCE ==================== */
.insurance-section {
    background: var(--off-white);
}

.insurance-categories {
    display: grid;
    gap: 36px;
}

.insurance-category {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.insurance-category h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.insurance-category h3 i {
    color: var(--accent);
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.partner-logo {
    flex: 0 0 auto;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 80px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    transition: var(--transition);
    gap: 4px;
}

.logo-placeholder:hover {
    border-color: var(--accent);
    background: rgba(0, 112, 224, 0.04);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.logo-placeholder i {
    font-size: 22px;
    color: var(--gray-300);
    transition: var(--transition);
}

.logo-placeholder:hover i {
    color: var(--accent);
}

.logo-placeholder span {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-400);
}

/* ==================== CONTACT ==================== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    background: var(--white);
    border-color: var(--gray-100);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.contact-card > i {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--accent), var(--green));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

.contact-card a {
    color: var(--accent);
}

.contact-card a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.contact-social {
    padding: 20px 24px;
}

.contact-social h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 500px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* ==================== FOOTER ==================== */
.footer-section {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 80px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 32px;
    color: var(--accent-light);
}

.footer-logo .logo-main {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}

.footer-logo .logo-sub {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
}

.footer-about > p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-accreditation {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-accreditation span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-accreditation i {
    color: #fbbf24;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.mt-2 {
    margin-top: 24px;
}

.footer-emergency {
    margin-bottom: 16px;
}

.footer-emergency-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-emergency-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-emergency-btn i {
    font-size: 22px;
    color: var(--danger-light);
}

.footer-emergency-btn.ambulance i {
    color: var(--green-light);
}

.footer-emergency-btn span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
}

.footer-emergency-btn strong {
    font-size: 16px;
    color: var(--white);
    display: block;
}

.footer-newsletter {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--white);
    font-size: 13px;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter button {
    padding: 12px 18px;
    background: var(--accent);
    color: var(--white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background: var(--accent-dark);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--accent-light);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    left: 24px;
    bottom: 30px;
    z-index: 9997;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.back-to-top-progress {
    position: absolute;
    inset: 0;
    width: 48px;
    height: 48px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.back-to-top-progress circle {
    fill: none;
    stroke: var(--accent-light);
    stroke-width: 2;
    stroke-dasharray: 125.66;
    stroke-dashoffset: 125.66;
    transition: stroke-dashoffset 0.15s linear;
}

.back-to-top i {
    position: relative;
    z-index: 1;
}

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */
.reveal-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-fade.revealed,
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger children */
.departments-grid .dept-card:nth-child(1) { transition-delay: 0.05s; }
.departments-grid .dept-card:nth-child(2) { transition-delay: 0.1s; }
.departments-grid .dept-card:nth-child(3) { transition-delay: 0.15s; }
.departments-grid .dept-card:nth-child(4) { transition-delay: 0.2s; }
.departments-grid .dept-card:nth-child(5) { transition-delay: 0.25s; }
.departments-grid .dept-card:nth-child(6) { transition-delay: 0.3s; }
.departments-grid .dept-card:nth-child(7) { transition-delay: 0.35s; }
.departments-grid .dept-card:nth-child(8) { transition-delay: 0.4s; }
.departments-grid .dept-card:nth-child(9) { transition-delay: 0.45s; }
.departments-grid .dept-card:nth-child(10) { transition-delay: 0.5s; }
.departments-grid .dept-card:nth-child(11) { transition-delay: 0.55s; }
.departments-grid .dept-card:nth-child(12) { transition-delay: 0.6s; }

.doctors-grid .doctor-card:nth-child(1) { transition-delay: 0.05s; }
.doctors-grid .doctor-card:nth-child(2) { transition-delay: 0.1s; }
.doctors-grid .doctor-card:nth-child(3) { transition-delay: 0.15s; }
.doctors-grid .doctor-card:nth-child(4) { transition-delay: 0.2s; }
.doctors-grid .doctor-card:nth-child(5) { transition-delay: 0.25s; }
.doctors-grid .doctor-card:nth-child(6) { transition-delay: 0.3s; }
.doctors-grid .doctor-card:nth-child(7) { transition-delay: 0.35s; }
.doctors-grid .doctor-card:nth-child(8) { transition-delay: 0.4s; }

.why-grid .why-card:nth-child(1) { transition-delay: 0.05s; }
.why-grid .why-card:nth-child(2) { transition-delay: 0.1s; }
.why-grid .why-card:nth-child(3) { transition-delay: 0.15s; }
.why-grid .why-card:nth-child(4) { transition-delay: 0.2s; }
.why-grid .why-card:nth-child(5) { transition-delay: 0.25s; }
.why-grid .why-card:nth-child(6) { transition-delay: 0.3s; }
.why-grid .why-card:nth-child(7) { transition-delay: 0.35s; }
.why-grid .why-card:nth-child(8) { transition-delay: 0.4s; }

/* ==================== RESPONSIVE ==================== */

/* Tablets & Small Desktops */
@media (max-width: 1200px) {
    .departments-grid,
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .doctors-grid,
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .mega-menu {
        width: 700px;
    }
}

@media (max-width: 1024px) {
    .about-grid,
    .tourism-grid,
    .appointment-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .departments-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .doctors-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2)::after {
        display: none;
    }
    .emergency-banner-content {
        flex-direction: column;
        text-align: center;
    }
    .emergency-actions {
        margin-left: 0;
    }
    .tourism-image img {
        height: 400px;
    }
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
    .testimonial-card {
        min-width: calc(50% - 16px);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .top-bar {
        display: none;
    }

    #header {
        position: fixed;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-slow);
        overflow-y: auto;
        z-index: 9999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links > li {
        width: 100%;
    }

    .nav-links > li > a {
        color: var(--gray-600);
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
    }

    .nav-links > li > a:hover,
    .nav-links > li > a.active {
        color: var(--accent);
        background: none;
    }

    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        padding: 12px 0;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .has-mega-menu.open .mega-menu {
        display: block;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mega-highlight {
        display: none;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .nav-emergency-btn {
        display: none;
    }

    .nav-appointment-btn {
        display: none;
    }

    .hero-slider,
    .hero-section {
        min-height: auto;
    }

    .hero-slider {
        height: auto;
        min-height: auto;
    }

    .hero-slide .container {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .hero-content {
        padding-bottom: 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-lg {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .hero-slider-controls {
        margin-top: -60px;
        margin-bottom: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .doctors-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .search-bar {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 16px;
    }

    .search-field input,
    .search-field select {
        border-radius: var(--radius-sm);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .testimonial-card {
        min-width: calc(100% - 24px);
    }

    .floating-emergency {
        right: 16px;
        top: auto;
        bottom: 136px;
        transform: none;
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .floating-whatsapp {
        right: 16px;
        width: 46px;
        height: 46px;
        font-size: 22px;
        bottom: 80px;
    }

    .floating-appointment {
        right: 16px;
        bottom: 24px;
        padding: 0 16px;
        height: 46px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .departments-grid {
        grid-template-columns: 1fr;
    }
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-title {
        font-size: 32px;
    }
    .section-title {
        font-size: 28px;
    }
    .appointment-form {
        padding: 24px;
    }
    .tourism-stats-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        justify-content: center;
    }
    .partner-logos {
        justify-content: center;
    }
    .logo-placeholder {
        width: 110px;
        height: 70px;
    }
    .emergency-actions {
        flex-direction: column;
        width: 100%;
    }
    .emergency-actions .btn {
        width: 100%;
    }
}

/* ==================== ACCREDITATION TICKER ==================== */
.accreditation-ticker {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.accreditation-ticker::before,
.accreditation-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.accreditation-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--primary-dark), transparent);
}

.accreditation-ticker::after {
    right: 0;
    background: linear-gradient(270deg, var(--primary-dark), transparent);
}

.ticker-wrapper {
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: 40px;
    animation: tickerScroll 40s linear infinite;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-transform: uppercase;
}

.ticker-item i {
    color: var(--accent-light);
    font-size: 14px;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== PATIENT JOURNEY / PROCESS ==================== */
.process-section {
    position: relative;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 60px;
    position: relative;
}

.process-step {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.process-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: rgba(0, 112, 224, 0.08);
    line-height: 1;
    margin-bottom: 10px;
}

.process-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0, 112, 224, 0.25);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-icon i {
    font-size: 28px;
    color: var(--white);
}

.process-step:hover .process-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 112, 224, 0.35);
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    margin-top: 54px;
    flex-shrink: 0;
    position: relative;
    opacity: 0.4;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .process-connector {
        width: 2px;
        height: 30px;
        margin: 0;
    }
    .process-connector::after {
        right: -3px;
        top: auto;
        bottom: -4px;
        transform: rotate(45deg);
    }
    .process-step {
        max-width: 100%;
    }
}

/* ==================== PARTNER LOGO MARQUEE ==================== */
.partner-marquee {
    margin-bottom: 50px;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    max-width: 100%;
}

.partner-marquee::before,
.partner-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partner-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), transparent);
}

.partner-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--white), transparent);
}

.marquee-container {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 120px;
    height: 80px;
    border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    padding: 12px 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.marquee-item i {
    font-size: 22px;
    color: var(--accent);
}

.marquee-item span {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-align: center;
    white-space: nowrap;
}

.marquee-item:hover {
    border-color: var(--accent);
    background: rgba(0, 112, 224, 0.04);
    transform: translateY(-2px);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== DOCTOR CARD 3D TILT ==================== */
.doctor-card {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.doctor-card:hover .doctor-info {
    transform: translateZ(20px);
}

.doctor-card .doctor-info {
    transition: transform 0.3s ease;
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-content i {
    font-size: 28px;
    color: #fbbf24;
    flex-shrink: 0;
}

.cookie-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-decline {
    color: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.cookie-decline:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== PREMIUM MICRO-INTERACTIONS ==================== */
/* Animated section dividers */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

/* Gradient text for section labels */
.section-label {
    background: linear-gradient(135deg, rgba(0, 112, 224, 0.1), rgba(0, 168, 120, 0.08));
    position: relative;
}

/* Button ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn:hover::after {
    left: 100%;
}

/* Card glow on hover */
.dept-card:hover,
.why-card:hover,
.doctor-card:hover,
.blog-card:hover {
    box-shadow: 0 20px 60px rgba(0, 112, 224, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Form focus glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(0, 112, 224, 0.08), 0 2px 8px rgba(0, 112, 224, 0.1);
}

/* Text selection styling */
::selection {
    background: rgba(0, 112, 224, 0.15);
    color: var(--primary);
}

/* Smooth image load */
img {
    opacity: 1;
    transition: opacity 0.4s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* Star rating hover effect in testimonials */
.testimonial-rating i {
    transition: transform 0.2s ease;
}

.testimonial-card:hover .testimonial-rating i {
    animation: starPop 0.4s ease forwards;
}

.testimonial-card:hover .testimonial-rating i:nth-child(1) { animation-delay: 0s; }
.testimonial-card:hover .testimonial-rating i:nth-child(2) { animation-delay: 0.05s; }
.testimonial-card:hover .testimonial-rating i:nth-child(3) { animation-delay: 0.1s; }
.testimonial-card:hover .testimonial-rating i:nth-child(4) { animation-delay: 0.15s; }
.testimonial-card:hover .testimonial-rating i:nth-child(5) { animation-delay: 0.2s; }

@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Footer column hover effects */
.footer-col ul li a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--accent-light);
    transition: width 0.3s ease;
    vertical-align: middle;
    margin-right: 0;
}

.footer-col ul li a:hover::before {
    width: 12px;
    margin-right: 6px;
}

/* Floating buttons entrance animation */
.floating-emergency,
.floating-whatsapp,
.floating-appointment {
    animation: floatIn 0.6s ease-out both;
}

.floating-emergency { animation-delay: 1.2s; }
.floating-whatsapp { animation-delay: 1.4s; }
.floating-appointment { animation-delay: 1.6s; }

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-emergency {
    animation: floatIn 0.6s ease-out 1.2s both, emergencyPulse 2s infinite 1.8s;
}

/* ==================== PREMIUM HERO BADGE SHIMMER ==================== */
.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* ==================== GRADIENT ANIMATED BORDER ON CTA ==================== */
.nav-appointment-btn,
.emergency-banner-section .btn-white {
    position: relative;
    z-index: 1;
}

.nav-appointment-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), var(--green), var(--accent-light), var(--accent));
    background-size: 300% 300%;
    animation: gradientBorder 4s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-appointment-btn:hover::before {
    opacity: 1;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==================== SECTION TITLE ANIMATED UNDERLINE ==================== */
.section-title span {
    position: relative;
    display: inline-block;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.revealed .section-title span::after,
.section-header.revealed .section-title span::after {
    width: 100%;
}

/* ==================== GLASS MORPHISM EMERGENCY CARD ==================== */
.emergency-banner-section {
    position: relative;
    overflow: hidden;
}

.emergency-banner-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(220, 38, 38, 0.15), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 112, 224, 0.1), transparent 50%);
    animation: emergencyGlow 6s ease-in-out infinite alternate;
}

@keyframes emergencyGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(10deg); }
}

/* ==================== ABOUT IMAGE FLOAT ANIMATION ==================== */
.about-img-secondary {
    animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-experience-badge {
    animation: floatUpDown 4s ease-in-out 1s infinite;
}

/* ==================== ENHANCED FOCUS STYLES (Accessibility) ==================== */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.btn:focus-visible {
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(0, 112, 224, 0.2);
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .floating-emergency,
    .floating-whatsapp,
    .floating-appointment,
    .back-to-top,
    .cookie-banner,
    .scroll-progress,
    #preloader,
    .nav-actions,
    .mobile-toggle {
        display: none !important;
    }

    .navbar {
        position: static;
        box-shadow: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
}
