/**
 * Chahal Hospital - Premium Healthcare Website Styles
 * Modern UI with Glassmorphism, Animations, and Responsive Design
 * Color Theme: Purple (#6C63FF), Blue (#4A90E2), White (#FFFFFF)
 */

/* ============================================
   CSS VARIABLES & ROOT STYLES
   ============================================ */
:root {
    /* Primary Colors */
    --primary-purple: #6C63FF;
    --primary-blue: #4A90E2;
    --primary-dark: #1a1a2e;
    --primary-light: #f8f9ff;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #4A90E2 100%);
    --gradient-secondary: linear-gradient(135deg, #4A90E2 0%, #6C63FF 100%);
    --gradient-hero: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(74, 144, 226, 0.1) 100%);
    
    /* Accent Colors */
    --accent-success: #10B981;
    --accent-warning: #F59E0B;
    --accent-danger: #EF4444;
    --accent-info: #3B82F6;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.3);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', var(--font-primary);
    
    /* Spacing */
    --section-padding: 100px;
    --container-max-width: 1280px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-tooltip: 400;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-alt {
    background: var(--gray-50);
}

.section-gradient {
    background: var(--gradient-hero);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-purple);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ============================================
   GLASSMORPHISM COMPONENTS
   ============================================ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.2);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.logo-text span {
    color: var(--primary-blue);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-purple);
    background: rgba(108, 99, 255, 0.1);
}

/* Mega Menu */
.mega-menu-wrapper {
    position: relative;
}

.mega-menu-trigger-wrap {
    display: flex;
    align-items: center;
}

.mega-menu-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mega-menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    color: var(--gray-700);
    font-size: 0.8rem;
    transition: transform var(--transition-normal), color var(--transition-normal);
    line-height: 1;
}

.mega-menu-toggle-btn i {
    transition: transform var(--transition-normal);
    display: block;
}

.mega-menu-wrapper:hover .mega-menu-toggle-btn i,
.mega-menu-wrapper.open .mega-menu-toggle-btn i {
    transform: rotate(180deg);
}

.mega-menu-wrapper:hover .mega-menu-toggle-btn,
.mega-menu-wrapper.open .mega-menu-toggle-btn {
    color: var(--primary-purple);
}

/* Desktop: show chevron in trigger link */
.mega-menu-trigger::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    margin-left: 5px;
    transition: transform var(--transition-normal);
    display: inline-block;
}

.mega-menu-wrapper:hover .mega-menu-trigger::after {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 700px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
}

.mega-menu-wrapper:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.mega-menu-column h4 {
    font-size: 1rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100);
}

.mega-menu-column ul li {
    margin-bottom: 10px;
}

.mega-menu-column ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 0.95rem;
    padding: 5px 0;
    transition: all var(--transition-fast);
}

.mega-menu-column ul li a:hover {
    color: var(--primary-purple);
    padding-left: 5px;
}

.mega-menu-column ul li a i {
    font-size: 0.8rem;
    color: var(--primary-blue);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gray-800);
}

.phone-link i {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
    z-index: calc(var(--z-dropdown) + 1);
    position: relative;
}

.menu-toggle:hover {
    background: rgba(108, 99, 255, 0.08);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gray-800);
    transition: all var(--transition-normal);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 50%, #f0f7ff 100%);
    padding-top: 160px;
    padding-bottom: 40px;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-purple);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(30px, 50px) scale(1.05); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-purple);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--gray-900);
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

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

.hero-floating-card {
    position: absolute;
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-floating-card.card-1 {
    top: 20px;
    left: -30px;
    animation: floatCard 3s infinite ease-in-out;
}

.hero-floating-card.card-2 {
    bottom: 40px;
    right: -20px;
    animation: floatCard 3s infinite ease-in-out;
    animation-delay: -1.5s;
}

.floating-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.floating-card-text h4 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 3px;
}

.floating-card-text p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, #1a1060 0%, #2d1b8e 40%, #1a4fa0 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.stats-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(108, 99, 255, 0.35);
    top: -120px;
    left: -80px;
    animation: orbFloat 8s ease-in-out infinite;
}

.stats-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(74, 144, 226, 0.3);
    bottom: -100px;
    right: -60px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

.stats-orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(16, 185, 129, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px 28px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    cursor: default;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(108,99,255,0.8), rgba(74,144,226,0.8), rgba(16,185,129,0.6));
    border-radius: 24px 24px 0 0;
}

.stat-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 24px;
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.2);
}

.stat-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.5), rgba(74, 144, 226, 0.5));
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover .stat-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 28px rgba(108, 99, 255, 0.55);
}

.stat-number {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.stat-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.2px;
    margin-bottom: 20px;
}

.stat-line {
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, rgba(108,99,255,0.8), rgba(74,144,226,0.6));
    border-radius: 2px;
    margin: 0 auto;
    transition: width 0.35s ease;
}

.stat-item:hover .stat-line {
    width: 60px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    font-weight: 600;
}

.service-link:hover {
    gap: 12px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: auto;
}

.about-image-small {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
}

.about-image-small img {
    width: 100%;
    height: auto;
}

.about-experience {
    position: absolute;
    top: 30px;
    left: -30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience h3 {
    font-size: 3rem;
    color: var(--white);
    line-height: 1;
}

.about-experience p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    width: 40px;
    height: 40px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-purple);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.about-feature span {
    font-weight: 600;
    color: var(--gray-800);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-choose-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-purple);
}

.why-choose-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.why-choose-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.why-choose-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   DOCTORS SECTION
   ============================================ */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.doctor-image {
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.doctor-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    transition: bottom var(--transition-normal);
}

.doctor-card:hover .doctor-social {
    bottom: 0;
}

.doctor-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    transition: all var(--transition-fast);
}

.doctor-social a:hover {
    background: var(--primary-purple);
    color: var(--white);
}

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

.doctor-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.doctor-specialty {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.doctor-experience {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--accent-warning);
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================
   EMERGENCY BANNER
   ============================================ */
.emergency-banner {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 80px;
    opacity: 0.3;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.emergency-text {
    color: var(--white);
}

.emergency-text h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.emergency-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.emergency-phone {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 20px 40px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
}

.emergency-phone i {
    font-size: 2.5rem;
    color: var(--primary-purple);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.emergency-phone-info span {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.emergency-phone-info a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    color: var(--primary-purple);
}

.faq-question i {
    color: var(--primary-purple);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content h3 a:hover {
    color: var(--primary-purple);
}

.blog-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* ============================================
   APPOINTMENT CTA SECTION
   ============================================ */
.appointment-cta {
    background: var(--gradient-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.appointment-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.appointment-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.appointment-cta-text {
    color: var(--white);
}

.appointment-cta-text h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.appointment-cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.appointment-cta-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.appointment-cta-features li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.appointment-cta-features li i {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.appointment-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.appointment-form-wrapper h3 {
    margin-bottom: 25px;
    text-align: center;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-normal);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--gray-300);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 25px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--primary-purple);
    padding-left: 5px;
}

.footer-links li a i {
    font-size: 0.8rem;
    color: var(--primary-purple);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact li i {
    width: 45px;
    height: 45px;
    background: rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-contact li span {
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a:hover {
    color: var(--primary-purple);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: var(--gradient-primary);
    padding: 170px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px;
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-info);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 70px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image-wrapper {
        order: 2;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content,
    .appointment-cta-content {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px 30px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        z-index: var(--z-dropdown);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
        width: 100%;
        border-radius: var(--radius-md);
    }

    /* Desktop chevron inside trigger link — hide on mobile */
    .mega-menu-trigger::after {
        display: none;
    }

    .mega-menu-trigger-wrap {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: var(--radius-md);
        transition: background var(--transition-normal);
    }

    .mega-menu-trigger-wrap:has(.mega-menu-trigger:hover),
    .mega-menu-wrapper.open .mega-menu-trigger-wrap {
        background: rgba(108, 99, 255, 0.08);
    }

    .mega-menu-trigger {
        flex: 1;
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 0;
        background: none;
    }

    .mega-menu-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        border-radius: var(--radius-md);
        font-size: 0.85rem;
    }

    .mega-menu-wrapper {
        width: 100%;
    }

    .mega-menu {
        position: static;
        transform: none !important;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        border: none;
        padding: 0 0 8px 12px;
        opacity: 1;
        visibility: visible;
        display: none;
        border-left: 3px solid rgba(108, 99, 255, 0.2);
        margin-left: 8px;
        border-radius: 0;
        background: transparent;
    }

    .mega-menu-wrapper.open .mega-menu {
        display: block;
    }

    /* Disable hover-based mega menu on mobile */
    .mega-menu-wrapper:hover .mega-menu {
        display: none;
    }

    .mega-menu-wrapper.open:hover .mega-menu,
    .mega-menu-wrapper.open .mega-menu {
        display: block;
    }

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

    .mega-menu-column {
        border-bottom: 1px solid var(--gray-100);
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .mega-menu-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .mega-menu-column h4 {
        font-size: 0.85rem;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .mega-menu-column ul li {
        margin-bottom: 4px;
    }

    .mega-menu-column ul li a {
        font-size: 0.875rem;
        padding: 4px 0;
    }

    .header-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .services-grid,
    .blog-grid,
    .doctors-grid,
    .why-choose-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

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

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

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

    .hero-floating-card {
        display: none;
    }

    .about-image-small,
    .about-experience {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

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

    h1 { font-size: clamp(2rem, 7vw, 3rem); }
    h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
    h3 { font-size: clamp(1.2rem, 5vw, 1.8rem); }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .emergency-phone {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .appointment-form-wrapper {
        padding: 20px 16px;
    }

    .container {
        padding: 0 12px;
    }

    .service-card,
    .why-choose-card,
    .doctor-card {
        padding: 24px 18px;
    }

    .stat-item {
        padding: 28px 18px 24px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.justify-center { justify-content: center !important; }
.align-center { align-items: center !important; }

.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.py-1 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-3 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: var(--z-sticky);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.floating-call {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: var(--z-sticky);
    animation: pulse 2s infinite;
}

.floating-call.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: var(--z-sticky);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--gray-800);
    z-index: 1;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--accent-danger);
    color: white;
}

.lightbox-image {
    position: relative;
    z-index: 1;
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   FORM ERROR STATES
   ============================================ */
.form-control.error {
    border-color: var(--accent-danger);
    background: rgba(239, 68, 68, 0.05);
}

.error-message {
    color: var(--accent-danger);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .footer,
    .back-to-top,
    .floating-call,
    .whatsapp-float,
    .hero-bg-animation {
        display: none !important;
    }
    
    .page-header {
        padding: 50px 0;
        background: white !important;
        color: black !important;
    }
    
    .page-header h1 {
        color: black !important;
    }
    
    .section {
        padding: 30px 0;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-purple);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-to-content:focus {
    top: 10px;
}

/* ============================================
   SERVICE PAGE STYLES
   ============================================ */

/* --- Hero --- */
.svc-hero {
    background: linear-gradient(135deg, #1a1060 0%, #2d1b8e 45%, #1a4fa0 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.svc-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.svc-orb-1 {
    width: 500px; height: 500px;
    background: rgba(108, 99, 255, 0.3);
    top: -150px; left: -100px;
    animation: orbFloat 9s ease-in-out infinite;
}
.svc-orb-2 {
    width: 400px; height: 400px;
    background: rgba(74, 144, 226, 0.25);
    bottom: -120px; right: -80px;
    animation: orbFloat 11s ease-in-out infinite reverse;
}

.svc-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.svc-hero-text { color: var(--white); }

.svc-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.svc-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.svc-hero-tagline {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
    line-height: 1.7;
}

.svc-breadcrumb {
    margin-bottom: 32px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}
.svc-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.svc-breadcrumb a:hover { color: var(--white); }
.svc-breadcrumb span { margin: 0 8px; }

.svc-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.svc-btn-call {
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    backdrop-filter: blur(8px);
}
.svc-btn-call:hover {
    background: rgba(255,255,255,0.22);
    color: var(--white);
}

/* Hero Stats */
.svc-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.svc-mini-stat {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, background 0.3s ease;
}
.svc-mini-stat:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.16);
}

.svc-mini-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}
.svc-mini-lbl {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

/* --- Quick Info Card --- */
.svc-quick-info {
    margin-top: 20px;
    padding: 24px;
}
.svc-quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}
.svc-quick-item:last-child { border-bottom: none; }
.svc-quick-item i {
    color: var(--primary-purple);
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
}

/* --- Symptoms --- */
.svc-symptoms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-symptom-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.svc-symptom-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}
.svc-symptom-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-symptom-card:hover::before { transform: scaleX(1); }

.svc-symptom-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--primary-purple);
    transition: background 0.3s ease, color 0.3s ease;
}
.svc-symptom-card:hover .svc-symptom-icon {
    background: var(--gradient-primary);
    color: var(--white);
}
.svc-symptom-card h3 { font-size: 1rem; margin-bottom: 10px; color: var(--gray-800); }
.svc-symptom-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; }

/* --- Causes --- */
.svc-causes-wrap { max-width: 800px; }
.svc-causes-list { display: flex; flex-direction: column; gap: 16px; }

.svc-cause-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.svc-cause-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.svc-cause-num {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 2px;
    min-width: 36px;
}
.svc-cause-body h4 { font-size: 1rem; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; }
.svc-cause-body p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; margin: 0; }

/* --- Treatments --- */
.svc-treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.svc-treatment-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.svc-treatment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.svc-treatment-card.svc-treatment-featured {
    background: linear-gradient(135deg, #f0eeff 0%, #e8f4ff 100%);
    border-color: rgba(108,99,255,0.3);
    box-shadow: 0 4px 20px rgba(108,99,255,0.15);
}

.svc-featured-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
.svc-featured-badge i { margin-right: 4px; }

.svc-treatment-num {
    position: absolute;
    top: 16px; left: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
}

.svc-treatment-icon {
    width: 60px; height: 60px;
    border-radius: 18px;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(108,99,255,0.3);
}
.svc-treatment-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.svc-treatment-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; }

/* --- Benefits --- */
.svc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: default;
}
.svc-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(108,99,255,0.15);
    background: linear-gradient(135deg, #f8f7ff 0%, #f0f7ff 100%);
}

.svc-benefit-icon {
    width: 64px; height: 64px;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(108,99,255,0.3);
    transition: transform 0.3s ease;
}
.svc-benefit-card:hover .svc-benefit-icon { transform: scale(1.1) rotate(-5deg); }
.svc-benefit-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.svc-benefit-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }

/* --- Doctor Card --- */
.svc-doctor-card {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 750px;
    margin: 0 auto;
    padding: 40px;
}

.svc-doctor-avatar {
    width: 140px; height: 140px;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(108,99,255,0.2);
    box-shadow: 0 8px 24px rgba(108,99,255,0.2);
}
.svc-doctor-avatar img { width: 100%; height: 100%; object-fit: cover; }

.svc-doctor-info h3 { font-size: 1.4rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.svc-doc-specialty { font-size: 0.95rem; font-weight: 600; color: var(--primary-purple); margin-bottom: 4px; }
.svc-doc-qual { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 16px; }

.svc-doc-meta {
    display: flex; flex-wrap: wrap; gap: 16px;
    margin-bottom: 20px;
}
.svc-doc-meta span {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.85rem; color: var(--gray-600); font-weight: 500;
}
.svc-doc-meta i { color: var(--primary-purple); }

/* --- FAQ --- */
.svc-faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.svc-faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.svc-faq-item:hover, .svc-faq-item.svc-faq-open { box-shadow: var(--shadow-md); }
.svc-faq-item.svc-faq-open { border-color: rgba(108,99,255,0.3); }

.svc-faq-q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none; border: none; cursor: pointer;
    text-align: left;
    font-size: 0.975rem; font-weight: 600; color: var(--gray-800);
    font-family: var(--font-primary);
    transition: color 0.2s ease;
}
.svc-faq-q:hover { color: var(--primary-purple); }
.svc-faq-item.svc-faq-open .svc-faq-q { color: var(--primary-purple); }

.svc-faq-chevron {
    font-size: 0.85rem; color: var(--gray-400);
    transition: transform 0.3s ease, color 0.2s ease;
    flex-shrink: 0;
}
.svc-faq-item.svc-faq-open .svc-faq-chevron { transform: rotate(180deg); color: var(--primary-purple); }

.svc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.svc-faq-item.svc-faq-open .svc-faq-a { max-height: 300px; }
.svc-faq-a p {
    padding: 0 24px 20px;
    margin: 0;
    font-size: 0.9rem; color: var(--gray-500); line-height: 1.75;
}

/* --- CTA Inner --- */
.svc-cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.svc-cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.svc-cta-inner p { color: rgba(255,255,255,0.8); margin-bottom: 32px; line-height: 1.7; }
.svc-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.svc-btn-cta-call {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--white);
}
.svc-btn-cta-call:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
}

/* --- Related Services --- */
.svc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.svc-related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 20px;
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.2s ease;
}
.svc-related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108,99,255,0.3);
    color: var(--primary-purple);
}

.svc-related-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--primary-purple);
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}
.svc-related-card:hover .svc-related-icon { background: var(--gradient-primary); color: var(--white); }

.svc-related-arrow { margin-left: auto; font-size: 0.8rem; color: var(--gray-300); transition: transform 0.3s ease, color 0.2s ease; }
.svc-related-card:hover .svc-related-arrow { transform: translateX(4px); color: var(--primary-purple); }

/* ===== MEGA MENU EXPANDED ===== */
@media (min-width: 993px) {
    .mega-menu { min-width: 860px; }
    .mega-menu-column ul li a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ===== SERVICE PAGE RESPONSIVE ===== */
@media (max-width: 992px) {
    .svc-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .svc-hero-stats { grid-template-columns: repeat(4, 1fr); }
    .svc-symptoms-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-doctor-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    .svc-hero { padding: 110px 0 60px; }
    .svc-hero-inner { grid-template-columns: 1fr; gap: 30px; }
    .svc-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .svc-symptoms-grid, .svc-benefits-grid { grid-template-columns: 1fr; }
    .svc-treatments-grid { grid-template-columns: 1fr 1fr; }
    .svc-related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .svc-treatments-grid, .svc-related-grid { grid-template-columns: 1fr; }
    .svc-hero { padding: 100px 0 50px; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #6C63FF, #4A90E2, #10B981);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: linear-gradient(90deg, #0f0c29 0%, #1a1060 40%, #0f2757 100%);
    height: 40px;
    overflow: hidden;
    transition: height 0.35s ease, opacity 0.35s ease;
}

.top-bar.hidden {
    height: 0;
    opacity: 0;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    gap: 20px;
}

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

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar-item:hover { color: white; }

.top-bar-item i {
    font-size: 0.72rem;
    color: #4A90E2;
}

.top-bar-sep {
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
}

.top-bar-phones {
    display: flex;
    align-items: center;
    gap: 0;
}

.top-bar-phone-sep {
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
    font-weight: 400;
}

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.top-bar-phone i {
    color: #10B981;
    animation: pulse 2s infinite;
}

.top-bar-phone:hover { color: #4A90E2; }

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-social a {
    color: rgba(255,255,255,0.65);
    font-size: 0.75rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.2s;
}

.top-bar-social a:hover {
    color: white;
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
}

.top-bar-emergency-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.35);
    color: #ff6b6b;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.top-bar-emergency-dot {
    width: 6px;
    height: 6px;
    background: #EF4444;
    border-radius: 50%;
    animation: blink-dot 1s infinite;
}

@keyframes blink-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ============================================
   DARK HERO PAGE – White nav links on dark bg
   ============================================ */
body.dark-hero-page .header:not(.scrolled) .nav-link {
    color: rgba(255,255,255,0.88);
}
body.dark-hero-page .header:not(.scrolled) .nav-link:hover,
body.dark-hero-page .header:not(.scrolled) .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.12);
}
body.dark-hero-page .header:not(.scrolled) .logo-text {
    color: white;
}
body.dark-hero-page .header:not(.scrolled) .logo-text span {
    color: #7ac4ff;
}
body.dark-hero-page .header:not(.scrolled) .phone-link {
    color: rgba(255,255,255,0.85);
}
body.dark-hero-page .header:not(.scrolled) .phone-link i {
    color: #7ac4ff;
}
body.dark-hero-page .header:not(.scrolled) .menu-toggle span {
    background: rgba(255,255,255,0.85);
}
body.dark-hero-page .header:not(.scrolled) .mega-menu-toggle-btn {
    color: rgba(255,255,255,0.85);
}

/* ============================================
   DARK HERO PAGE — Mobile Nav Menu Override
   The nav menu slides in with a WHITE background
   on mobile, so nav links must be dark, not white.
   The hamburger and logo stay white (they are in
   the header bar overlapping the dark hero).
   ============================================ */
@media (max-width: 992px) {
    body.dark-hero-page .header:not(.scrolled) .nav-menu .nav-link {
        color: var(--gray-700);
    }
    body.dark-hero-page .header:not(.scrolled) .nav-menu .nav-link:hover,
    body.dark-hero-page .header:not(.scrolled) .nav-menu .nav-link.active {
        color: var(--primary-purple);
        background: rgba(108, 99, 255, 0.08);
    }
    body.dark-hero-page .header:not(.scrolled) .nav-menu .mega-menu-toggle-btn {
        color: var(--gray-700);
    }
    body.dark-hero-page .header:not(.scrolled) .nav-menu .mega-menu-trigger-wrap:has(.mega-menu-trigger:hover),
    body.dark-hero-page .header:not(.scrolled) .nav-menu .mega-menu-wrapper.open .mega-menu-trigger-wrap {
        background: rgba(108, 99, 255, 0.08);
    }
}

/* ============================================
   MARQUEE / TICKER STRIP
   ============================================ */
.marquee-strip {
    background: linear-gradient(90deg, #6C63FF 0%, #4A90E2 50%, #6C63FF 100%);
    background-size: 200% 100%;
    animation: marqueeGradient 6s linear infinite;
    padding: 0;
    overflow: hidden;
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
}

@keyframes marqueeGradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.marquee-strip::before,
.marquee-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.marquee-strip::before {
    left: 0;
    background: linear-gradient(90deg, #6C63FF, transparent);
}

.marquee-strip::after {
    right: 0;
    background: linear-gradient(-90deg, #4A90E2, transparent);
}

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

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-set {
    display: flex;
    align-items: center;
    gap: 0;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.95);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0 24px;
    letter-spacing: 0.3px;
}

.marquee-item i {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
}

.marquee-item .marquee-sep {
    color: rgba(255,255,255,0.35);
    margin-left: 24px;
    font-size: 1rem;
}

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

/* ============================================
   SECTION BACKGROUND EFFECTS
   ============================================ */

/* Floating particles background */
.section-particles {
    position: relative;
    overflow: hidden;
}

.section-particles::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(108,99,255,0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: orbFloat 10s ease-in-out infinite;
}

.section-particles::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74,144,226,0.08) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    border-radius: 50%;
    animation: orbFloat 14s ease-in-out infinite reverse;
}

/* Wave top separator */
.section-wave-top {
    position: relative;
}

.section-wave-top::before {
    content: '';
    display: block;
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: inherit;
    clip-path: ellipse(60% 100% at 50% 100%);
    z-index: -1;
}

/* Dark section */
.section-dark {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1060 50%, #0f2757 100%);
    color: white;
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
    color: white;
}

.section-dark p {
    color: rgba(255,255,255,0.75);
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

/* ============================================
   AMBULANCE / EMERGENCY MOTION SECTION
   ============================================ */
.ambulance-section {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 40%, #2d0000 70%, #0d0d0d 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Animated background grid */
.ambulance-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,0,0,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    from { background-position: 0 0; }
    to { background-position: 50px 50px; }
}

/* Road */
.ambulance-road {
    position: relative;
    height: 70px;
    background: #1a1a1a;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    margin-bottom: 0;
    overflow: hidden;
}

/* Road center dashed line */
.ambulance-road::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        #FFD700 0px,
        #FFD700 40px,
        transparent 40px,
        transparent 80px
    );
    transform: translateY(-50%);
    animation: roadLines 1.2s linear infinite;
    opacity: 0.5;
}

@keyframes roadLines {
    from { background-position: 0 0; }
    to { background-position: -80px 0; }
}

/* Ambulance vehicle */
.ambulance-vehicle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0;
    animation: driveRightToLeft 8s linear infinite;
    z-index: 2;
    display: flex;
    align-items: center;
}

@keyframes driveRightToLeft {
    0%   { left: 105%; }
    100% { left: -250px; }
}

/* SVG-style ambulance using pure CSS + emoji */
.ambulance-body {
    position: relative;
    display: flex;
    align-items: center;
}

.ambulance-emoji {
    font-size: 3.5rem;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255,50,50,0.7));
}

/* Blinking emergency lights */
.ambulance-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.amb-light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.amb-light-red {
    background: #ff2020;
    box-shadow: 0 0 12px 4px rgba(255,32,32,0.8);
    animation: blinkRed 0.5s ease-in-out infinite alternate;
}

.amb-light-blue {
    background: #2060ff;
    box-shadow: 0 0 12px 4px rgba(32,96,255,0.8);
    animation: blinkBlue 0.5s ease-in-out infinite alternate;
    animation-delay: 0.25s;
}

@keyframes blinkRed {
    from { opacity: 1; box-shadow: 0 0 16px 6px rgba(255,32,32,0.9); }
    to   { opacity: 0.1; box-shadow: none; }
}

@keyframes blinkBlue {
    from { opacity: 1; box-shadow: 0 0 16px 6px rgba(32,96,255,0.9); }
    to   { opacity: 0.1; box-shadow: none; }
}

/* Speed lines effect */
.ambulance-speed-lines {
    position: absolute;
    right: calc(100% + 5px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.speed-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,80,80,0.6));
    border-radius: 2px;
    animation: speedLines 0.3s linear infinite;
}

.speed-line:nth-child(1) { width: 60px; animation-delay: 0s; }
.speed-line:nth-child(2) { width: 40px; animation-delay: 0.1s; }
.speed-line:nth-child(3) { width: 50px; animation-delay: 0.05s; }

@keyframes speedLines {
    from { opacity: 0.8; transform: scaleX(1); }
    to   { opacity: 0;   transform: scaleX(0.3); transform-origin: right; }
}

/* Emergency content below road */
.ambulance-content {
    text-align: center;
    padding: 30px 20px 35px;
    position: relative;
    z-index: 2;
}

.ambulance-content h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: white;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.ambulance-content h2 span {
    color: #ff4444;
}

.ambulance-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin-bottom: 22px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.ambulance-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-emergency-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(239,68,68,0.5);
    transition: all 0.3s;
    animation: emergencyPulse 2s ease-in-out infinite;
}

.btn-emergency-call:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(239,68,68,0.7);
    color: white;
}

@keyframes emergencyPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(239,68,68,0.5); }
    50% { box-shadow: 0 8px 50px rgba(239,68,68,0.8), 0 0 0 10px rgba(239,68,68,0.1); }
}

.btn-emergency-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.btn-emergency-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: white;
    transform: translateY(-2px);
}

.ambulance-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.amb-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 500;
}

.amb-badge i { color: #10B981; }

/* ============================================
   SCROLL-REVEAL TEXT EFFECTS
   ============================================ */

/* Gradient sweep on section titles when visible */
.section-title.text-reveal {
    background: linear-gradient(
        90deg,
        var(--gray-900) 0%,
        var(--primary-purple) 40%,
        var(--primary-blue) 60%,
        var(--gray-900) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background-position 0.8s ease;
}

.section-title.text-reveal.in-view {
    animation: textSweep 1.2s ease-out forwards;
}

@keyframes textSweep {
    from { background-position: 200% center; }
    to   { background-position: 0% center; }
}

/* Count-up highlight */
.stat-number.highlighted {
    text-shadow: 0 0 30px rgba(108,99,255,0.4);
    transform: scale(1.05);
    transition: all 0.3s;
}

/* Section heading underline animation */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.8s ease 0.2s;
}

.animated-underline.in-view::after {
    width: 100%;
}

/* ============================================
   IMPROVED SERVICE CARDS (non-card layout)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 36px 28px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(108,99,255,0.15);
    border-color: transparent;
}

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

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(108,99,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, 30%);
    transition: all 0.4s;
}

.service-card:hover::after {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108,99,255,0.1) 0%, transparent 70%);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(108,99,255,0.12), rgba(74,144,226,0.12));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(108,99,255,0.35);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--gray-900);
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.service-card:hover h3 { color: var(--primary-purple); }

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: gap 0.3s;
}

.service-link:hover { gap: 12px; }

.service-link i { font-size: 0.8rem; transition: transform 0.3s; }
.service-link:hover i { transform: translateX(3px); }

/* ============================================
   IMPROVED WHY CHOOSE US GRID
   ============================================ */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-choose-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 16px;
}

.why-choose-card:hover::before { opacity: 1; }

.why-choose-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(74,144,226,0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-purple);
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.why-choose-card:hover .why-choose-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.why-choose-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.why-choose-card:hover h3 { color: white; }

.why-choose-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.why-choose-card:hover p { color: rgba(255,255,255,0.85); }

/* ============================================
   SECTION HEADER IMPROVEMENTS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(74,144,226,0.1));
    color: var(--primary-purple);
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(108,99,255,0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
    color: var(--gray-900);
}

.section-description {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================
   RESPONSIVE: TOP BAR
   ============================================ */
@media (max-width: 992px) {
    .top-bar-hide-sm { display: none; }
}

@media (max-width: 768px) {
    .top-bar {
        height: 36px;
    }
    .top-bar.hidden {
        height: 0;
    }
    .header {
        top: 36px;
    }
    .top-bar-inner {
        height: 36px;
        gap: 10px;
    }
    .top-bar-left .top-bar-sep { display: none; }
    .top-bar-left .top-bar-item:first-child { display: none; }
    .top-bar-social { display: none; }
    .hero { padding-top: 100px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .why-choose-grid { grid-template-columns: 1fr 1fr; }
    .ambulance-content h2 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .top-bar-emergency-badge { display: none; }
    .top-bar-phone { font-size: 0.78rem; }
    .services-grid { grid-template-columns: 1fr; }
    .why-choose-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding-top: 95px; }
}

/* ================================================================
   SERVICES PAGES — MODERN UPGRADE
   Applies to: services.php + all /pages/services/*.php pages
   Zero HTML changes on detail pages — pure CSS upgrade
   ================================================================ */

/* ── Page Header Glow ── */
.page-header {
    padding: 160px 0 75px;
    background: linear-gradient(135deg, #1a1640 0%, #2e2b6e 50%, #3F3C8D 100%);
}
.page-header::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 55% 80% at 85% 50%, rgba(96,165,250,0.16), transparent 65%),
        radial-gradient(ellipse 40% 60% at 15% 60%, rgba(63,60,141,0.20), transparent 60%);
    pointer-events: none;
}
.page-header h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.breadcrumb { font-size: 0.88rem; }

/* ── Service Card — left accent bar style ── */
.service-card {
    text-align: left;
    padding: 26px 24px 22px;
    border-radius: 18px;
    border: 1px solid rgba(63,60,141,0.09);
    border-left: 4px solid rgba(63,60,141,0.15);
    box-shadow: 0 2px 16px rgba(63,60,141,0.06), 0 1px 4px rgba(0,0,0,0.03);
    background: #fff;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-left-color 0.28s ease;
    display: flex;
    flex-direction: column;
}
.service-card::before { display: none; }
.service-card:hover {
    transform: translateY(-6px) translateX(2px);
    box-shadow: 0 14px 38px rgba(63,60,141,0.13), 0 3px 10px rgba(0,0,0,0.05);
    border-left-color: #3F3C8D;
}
.service-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(63,60,141,0.10), rgba(96,165,250,0.14));
    color: #3F3C8D;
    font-size: 1.25rem;
    margin: 0 0 16px 0;
    transition: background 0.28s, color 0.28s, transform 0.28s;
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, #3F3C8D, #60A5FA);
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
}
.service-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1a1640;
    margin-bottom: 10px;
    text-align: left;
}
.service-card p {
    font-size: 0.875rem;
    color: #5a5780;
    line-height: 1.7;
    flex: 1;
    text-align: left;
}
.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3F3C8D;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    transition: gap 0.2s, color 0.2s;
}
.service-link i { font-size: 0.72rem; transition: transform 0.2s; }
.service-link:hover { gap: 9px; color: #60A5FA; }
.service-link:hover i { transform: translateX(2px); }

/* ── Why Choose / Symptom Cards ── */
.why-choose-card {
    border-radius: 18px;
    border: 1px solid rgba(63,60,141,0.09);
    border-top: 3px solid transparent;
    background: #fff;
    box-shadow: 0 2px 14px rgba(63,60,141,0.06);
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.28s, box-shadow 0.28s, border-top-color 0.28s;
}
.why-choose-card::before { display: none; }
.why-choose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 34px rgba(63,60,141,0.12);
    border-top-color: #60A5FA;
}
.why-choose-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(63,60,141,0.08), rgba(96,165,250,0.12));
    color: #3F3C8D;
    font-size: 1.45rem;
    margin: 0 auto 16px;
    transition: background 0.28s, color 0.28s, transform 0.28s;
}
.why-choose-card:hover .why-choose-icon {
    background: linear-gradient(135deg, #3F3C8D, #60A5FA);
    color: #fff;
    transform: rotate(-8deg) scale(1.1);
}
.why-choose-card h3 { font-size: 1rem; font-weight: 700; color: #1a1640; margin-bottom: 8px; }
.why-choose-card:hover h3 { color: #1a1640; }
.why-choose-card p { font-size: 0.855rem; color: #5a5780; }
.why-choose-card:hover p { color: #5a5780; }

/* ── About Feature items ── */
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(63,60,141,0.04);
    border: 1px solid rgba(63,60,141,0.09);
    border-radius: 14px;
    transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.about-feature:hover {
    background: rgba(63,60,141,0.08);
    border-color: rgba(63,60,141,0.20);
    transform: translateX(4px);
}
.about-feature i {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3F3C8D, #60A5FA);
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.about-feature strong { font-size: 0.95rem; color: #1a1640; }
.about-feature span   { font-size: 0.875rem; color: #5a5780; }

/* ── About image card ── */
.about-image-main {
    border-radius: 22px;
    box-shadow: 0 8px 40px rgba(63,60,141,0.14), 0 2px 12px rgba(0,0,0,0.06);
}

/* ── Department section dividers (services.php) ── */
.dept-header {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #1a1640, #3F3C8D);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
}
.dept-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(96,165,250,0.18), transparent);
    pointer-events: none;
}
.dept-header-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    position: relative; z-index: 1;
}
.dept-header-text { position: relative; z-index: 1; }
.dept-header-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}
.dept-header-text p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    margin: 0;
}
.dept-header-badge {
    margin-left: auto;
    position: relative; z-index: 1;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.90);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

/* ── Service page: treatment step cards (numbered) ── */
.service-card [style*="font-size: 1.5rem; font-weight: 700"] {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #3F3C8D;
    line-height: 1;
}

/* ── Section backgrounds alternation ── */
.section-alt { background: #F1F4F9; }

/* ── Appointment CTA ── */
.appointment-cta {
    background: linear-gradient(135deg, #1a1640 0%, #2e2b6e 50%, #3F3C8D 100%);
    position: relative;
    overflow: hidden;
}
.appointment-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(96,165,250,0.18), transparent 65%);
    pointer-events: none;
}

/* ==============================================
   SVC TEMPLATE PAGE — PREMIUM ENHANCEMENT LAYER
   Applies to all 28 template-based service pages
   ============================================== */

/* ── Hero: subtle dot-grid overlay for depth ── */
.svc-hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}
.svc-hero .container { position: relative; z-index: 1; }

/* ── Mini stats: glowing top accent ── */
.svc-mini-stat {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-top: 3px solid rgba(96,165,250,0.7) !important;
    border-radius: 16px !important;
    padding: 30px 20px !important;
    backdrop-filter: blur(16px) !important;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}
.svc-mini-stat:nth-child(2) { border-top-color: rgba(167,139,250,0.8) !important; }
.svc-mini-stat:nth-child(3) { border-top-color: rgba(52,211,153,0.8) !important; }
.svc-mini-stat:nth-child(4) { border-top-color: rgba(251,146,60,0.8) !important; }
.svc-mini-stat:hover {
    transform: translateY(-6px) !important;
    background: rgba(255,255,255,0.14) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25) !important;
}
.svc-mini-num {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px !important;
}
.svc-mini-lbl {
    font-size: 0.78rem !important;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.7) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}

/* ── Hero CTA button: white fills fully ── */
.btn-white {
    background: #fff;
    color: #3F3C8D;
    border: 2px solid #fff;
    font-weight: 700;
}
.btn-white:hover {
    background: transparent;
    color: #fff;
}

/* ── Quick-info highlights card ── */
.svc-quick-info.glass-card {
    border-left: 3px solid #60A5FA;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%) !important;
}
.svc-quick-item i { color: #3F3C8D !important; }

/* ── Section header accent underline ── */
.section-header .section-title::after,
.section-header h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #3F3C8D, #60A5FA);
    margin: 14px auto 0;
}

/* ── Symptom cards: left-icon layout option ── */
.svc-symptom-card {
    border-radius: 16px !important;
    border: 1px solid #e8edf5 !important;
    box-shadow: 0 2px 10px rgba(63,60,141,0.05) !important;
}
.svc-symptom-icon {
    background: linear-gradient(135deg, #eef0ff 0%, #dbeafe 100%) !important;
    border-radius: 16px !important;
}
.svc-symptom-icon i { color: #3F3C8D !important; }
.svc-symptom-card:hover .svc-symptom-icon {
    background: linear-gradient(135deg, #3F3C8D 0%, #60A5FA 100%) !important;
}
.svc-symptom-card:hover .svc-symptom-icon i { color: #fff !important; }

/* ── Cause items: wider layout + number accent ── */
.svc-causes-wrap { max-width: 900px !important; }
.svc-cause-item {
    background: #fff !important;
    border: 1px solid #e8edf5 !important;
    border-radius: 14px !important;
    padding: 20px 24px !important;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.svc-cause-num {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #3F3C8D, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 42px;
    line-height: 1.1 !important;
}

/* ── Treatment cards: numbered step style ── */
.svc-treatment-card {
    border-radius: 18px !important;
    border: 1px solid #e8edf5 !important;
    box-shadow: 0 2px 12px rgba(63,60,141,0.07) !important;
}
.svc-treatment-card.svc-treatment-featured {
    background: linear-gradient(145deg, #f0eeff 0%, #dbeafe 100%) !important;
    border-color: rgba(63,60,141,0.25) !important;
    box-shadow: 0 8px 30px rgba(63,60,141,0.15) !important;
}
.svc-treatment-num {
    font-size: 4rem !important;
    font-weight: 900 !important;
    color: rgba(63,60,141,0.07) !important;
    top: 10px !important;
    left: 16px !important;
}
.svc-treatment-icon {
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(63,60,141,0.25) !important;
    transition: transform 0.3s ease !important;
}
.svc-treatment-card:hover .svc-treatment-icon { transform: scale(1.08) rotate(-4deg); }

/* ── Benefit cards: gradient badge on top ── */
.svc-benefit-card {
    border-radius: 18px !important;
    border: 1px solid #e8edf5 !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(63,60,141,0.06) !important;
}
.svc-benefit-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3F3C8D, #60A5FA);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.svc-benefit-card:hover::after { transform: scaleX(1); }
.svc-benefit-icon {
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(63,60,141,0.25) !important;
}

/* ── Doctor card: full-width with image left ── */
.svc-doctor-card.glass-card {
    max-width: 860px !important;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f7ff 100%) !important;
    border: 1px solid rgba(63,60,141,0.12) !important;
    box-shadow: 0 8px 32px rgba(63,60,141,0.1) !important;
    border-radius: 24px !important;
}
.svc-doctor-avatar {
    width: 160px !important;
    height: 160px !important;
    border-radius: 20px !important;
    border: 3px solid rgba(63,60,141,0.2) !important;
    box-shadow: 0 8px 28px rgba(63,60,141,0.2) !important;
}
.svc-doc-specialty { color: #3F3C8D !important; font-weight: 700 !important; font-size: 1rem !important; }
.svc-doc-meta span { background: #f0eeff; padding: 4px 12px; border-radius: 100px; }
.svc-doc-meta i { color: #3F3C8D !important; }

/* ── FAQ: open state left accent line ── */
.svc-faq-item.svc-faq-open {
    border-color: #3F3C8D !important;
    border-left: 4px solid #3F3C8D !important;
}
.svc-faq-q { font-family: inherit !important; }

/* ── Related service cards: pill hover ── */
.svc-related-card {
    border-radius: 14px !important;
    border: 1px solid #e8edf5 !important;
    box-shadow: 0 2px 8px rgba(63,60,141,0.05) !important;
    font-weight: 600 !important;
}
.svc-related-icon {
    background: #eef0ff !important;
    border-radius: 12px !important;
}
.svc-related-card:hover { box-shadow: 0 8px 24px rgba(63,60,141,0.15) !important; }

/* ── CTA section: richer gradient ── */
.svc-cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.svc-btn-cta-call { border-color: rgba(255,255,255,0.4) !important; }
.svc-btn-cta-call:hover { background: rgba(255,255,255,0.15) !important; }

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
    .svc-doctor-card.glass-card { flex-direction: column; align-items: flex-start; gap: 24px; }
    .svc-doctor-avatar { width: 100px !important; height: 100px !important; }
    .svc-benefits-grid { grid-template-columns: 1fr 1fr !important; }
    .svc-mini-num { font-size: 1.8rem !important; }
}
@media (max-width: 480px) {
    .svc-benefits-grid { grid-template-columns: 1fr !important; }
}

/* ==============================================
   MODERN FAQ — homepage redesign (faq2-*)
   ============================================== */
.faq2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    margin-bottom: 48px;
}

.faq2-col {
    display: flex;
    flex-direction: column;
}

.faq2-item {
    border-bottom: 1px solid #e8edf5;
    overflow: hidden;
}
.faq2-item:first-child { border-top: 1px solid #e8edf5; }

/* Question button */
.faq2-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    transition: background 0.2s ease;
}
.faq2-btn:hover { background: rgba(63,60,141,0.02); }

.faq2-num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(63,60,141,0.35);
    min-width: 28px;
    flex-shrink: 0;
    transition: color 0.25s ease;
}
.faq2-item.faq2-open .faq2-num { color: #3F3C8D; }

.faq2-q {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1640;
    line-height: 1.4;
    transition: color 0.25s ease;
}
.faq2-item.faq2-open .faq2-q { color: #3F3C8D; }

.faq2-icon {
    font-size: 0.75rem;
    color: #3F3C8D;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.2s ease;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(63,60,141,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(63,60,141,0.04);
}
.faq2-item.faq2-open .faq2-icon {
    transform: rotate(45deg);
    background: #3F3C8D;
    color: #fff;
    border-color: #3F3C8D;
}

/* Answer panel */
.faq2-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-left: 44px;
}
.faq2-item.faq2-open .faq2-answer { max-height: 240px; }

.faq2-answer p {
    font-size: 0.88rem;
    color: #5a5780;
    line-height: 1.8;
    padding-bottom: 20px;
    margin: 0;
}

/* CTA strip below FAQs */
.faq2-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f0eeff 0%, #dbeafe 100%);
    border: 1px solid rgba(63,60,141,0.12);
    border-radius: 16px;
    padding: 24px 32px;
    flex-wrap: wrap;
}
.faq2-cta-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1640;
    min-width: 200px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .faq2-grid { grid-template-columns: 1fr; gap: 0; }
    .faq2-col:first-child .faq2-item:last-child { border-bottom: 1px solid #e8edf5; }
    .faq2-col:last-child .faq2-item:first-child { border-top: none; }
}
@media (max-width: 600px) {
    .faq2-cta { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
    .faq2-num { min-width: 22px; font-size: 0.68rem; }
    .faq2-q { font-size: 0.9rem; }
}

/* ============================================
   CONTACT PAGE — RESPONSIVE GRIDS
   ============================================ */

/* Contact Info Cards (Visit Us, Call Us, Email Us, WhatsApp) */
.contact-info-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    margin-bottom: 60px;
}

/* Contact Form + Map side by side */
.contact-form-map-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px;
    display: grid;
}

/* Working Hours cards — centered, max-width */
.contact-hours-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .contact-form-map-grid {
        grid-template-columns: 1fr !important;
    }
    .contact-form-map-grid > div:last-child iframe {
        min-height: 300px !important;
    }
}

@media (max-width: 600px) {
    .contact-info-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px;
    }
    .contact-hours-grid {
        grid-template-columns: 1fr !important;
    }
    .why-choose-card {
        padding: 22px 16px;
    }
}

@media (max-width: 420px) {
    .contact-info-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   HEADER — MOBILE IMPROVEMENTS
   ============================================ */

@media (max-width: 992px) {
    .logo img {
        height: 40px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
    .header-inner {
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 36px;
    }
    .logo-text {
        font-size: 1.05rem;
    }
    .header-inner {
        padding: 10px 0;
    }
    .header .container {
        padding: 0 14px;
    }
}

/* Page header — reduce padding on mobile */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 50px;
    }
    .page-header h1 {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 110px 0 40px;
    }
}
