﻿/* =====================================================
   AbuKhairCare - Modernized UI Design
   ===================================================== */

/* CSS Variables - Enhanced Color Palette */
:root {
    /* Primary Colors */
    --brand-primary: #2563eb;
    --brand-primary-strong: #1d4ed8;
    --brand-primary-light: #3b82f6;
    --brand-accent: #06b6d4;
    --brand-accent-dark: #0891b2;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #06b6d4 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-footer: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    
    /* Neutral Colors */
    --brand-ink: #0f172a;
    --brand-ink-light: #1e293b;
    --brand-ink-muted: #64748b;
    --brand-muted: #94a3b8;
    
    /* Semantic Colors */
    --brand-success: #10b981;
    --brand-warning: #f59e0b;
    --brand-danger: #ef4444;
    --brand-info: #06b6d4;
    
    /* Backgrounds */
    --soft-bg: #f8fafc;
    --card-bg: #ffffff;
    --page-bg: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    
    /* Shadows - Modern Depth */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Typography */
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-ar: 'Cairo', 'Segoe UI', sans-serif;
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-en);
    color: var(--brand-ink);
    background: var(--page-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    overflow-x: hidden;
}

body.lang-ar {
    font-family: var(--font-ar);
    line-height: 2;
}

/* Language Toggle Classes */
.lang-en .lang-ar,
.lang-ar .lang-en {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--brand-ink);
}

.display-1 { font-size: 4rem; }
.display-2 { font-size: 3.5rem; }
.display-3 { font-size: 3rem; }
.display-4 { font-size: 2.5rem; }
.display-5 { font-size: 2rem; }
.display-6 { font-size: 1.5rem; }

/* Links */
a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-primary-strong);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: 1rem;
    left: 1rem;
    transform: translateX(-200%);
    z-index: 9999;
    background: #fff;
    color: var(--brand-ink);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.skip-link:focus {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
}

html[dir="rtl"] .skip-link {
    left: auto;
    right: 1rem;
    transform: translateX(200%);
}

html[dir="rtl"] .skip-link:focus {
    transform: translateX(0);
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section-padding {
    padding: 100px 0;
    position: relative;
}

.section-light {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.section-dark {
    background: var(--gradient-footer);
    color: #fff;
}

.section-heading {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--brand-ink-muted);
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.page-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.page-header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
}

.navbar {
    padding: 1rem 0;
    transition: padding var(--transition-normal);
}

.navbar-brand {
    font-weight: 700;
    color: var(--brand-ink);
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-normal);
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
}

.page-header .brand-logo {
    width: 100px;
    height: 100px;
}

.brand-logo-footer {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 0.35rem;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brand-text {
    font-weight: 700;
    font-size: 1.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lang-toggle {
    min-width: 52px;
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    transition: all var(--transition-normal);
}

@media (min-width: 992px) {
    .page-header .navbar-collapse {
        display: flex;
        align-items: center;
        gap: 1rem;
        min-height: 52px;
    }

    .page-header .header-nav-menu {
        position: static;
        margin: 0;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        white-space: nowrap;
        min-width: 0;
    }

    html[dir="rtl"] .page-header .header-nav-menu {
        transform: none;
    }

    .page-header .header-nav-actions {
        margin-inline-start: 0;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .page-header .navbar-brand,
    .page-header .header-nav-actions .btn {
        flex-shrink: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .page-header .brand-logo {
        width: 84px;
        height: 84px;
    }

    .nav-link {
        padding: 0.45rem 0.65rem !important;
        font-size: 0.95rem;
    }

    .page-header .header-nav-actions .btn {
        padding-inline: 1rem;
    }
}

/* Navigation Links */
.nav-link {
    font-weight: 600;
    color: var(--brand-ink);
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    opacity: 0;
}

html[dir="rtl"] .nav-link::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.nav-link:hover {
    color: var(--brand-primary);
}

.nav-link:hover::before {
    width: 60%;
    opacity: 1;
}

/* Active Link with Underline */
.nav-link.active {
    color: var(--brand-primary);
}

.nav-link.active::before {
    width: 60%;
    opacity: 1;
}

/* Mobile Navigation Active State */
@media (max-width: 991px) {
    .nav-link::before {
        display: none;
    }
    
    .nav-link.active {
        background: rgba(37, 99, 235, 0.1);
        color: var(--brand-primary);
    }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--brand-primary-strong) 0%, var(--brand-primary) 100%);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline-primary {
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--gradient-primary);
    border-color: var(--brand-primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--brand-ink);
    color: #fff;
    border: none;
}

.btn-secondary:hover {
    background: var(--brand-ink-light);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--brand-primary);
    border: none;
}

.btn-white:hover {
    background: var(--soft-bg);
    color: var(--brand-primary-strong);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--page-bg);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float-slow 15s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

.hero-badge {
    border-radius: var(--radius-full);
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary);
    display: inline-block;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin-top: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--brand-ink);
}

.highlight-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.15);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.15);
    }
    50% {
        box-shadow: 0 0 0 16px rgba(37, 99, 235, 0.05);
    }
}

.hero-image {
    min-height: 450px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(145deg, #e0f2fe 0%, #f0f9ff 50%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-slow);
}

.hero-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.hero-image::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.12) 100%);
    top: -80px;
    right: -80px;
    animation: float 8s ease-in-out infinite;
}

.hero-image::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(37, 99, 235, 0.06) 100%);
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

.hero-image-label {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--brand-ink);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

/* Hero Image Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slider .slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
    transform: translateX(5%) scale(0.985);
    filter: blur(4px);
    z-index: 1;
    pointer-events: none;
    will-change: opacity, transform, filter;
}

.hero-slider .slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    z-index: 3;
    pointer-events: auto;
}

.hero-slider .slide.leave-left {
    transform: translateX(-5%) scale(0.985);
    opacity: 0;
    filter: blur(4px);
    z-index: 2;
}

.hero-slider .slide.leave-right {
    transform: translateX(5%) scale(0.985);
    opacity: 0;
    filter: blur(4px);
    z-index: 2;
}

.hero-slider.dir-next .slide.active {
    animation: sliderEnterNext 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slider.dir-prev .slide.active {
    animation: sliderEnterPrev 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sliderEnterNext {
    from {
        opacity: 0;
        transform: translateX(8%) scale(0.97);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes sliderEnterPrev {
    from {
        opacity: 0;
        transform: translateX(-8%) scale(0.97);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slider .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slider .slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.hero-slider .slide-content p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Slider Navigation Dots */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-nav .nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-nav .nav-dot.active,
.slider-nav .nav-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--brand-primary);
}

.slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

/* Responsive Slider */
@media (max-width: 991px) {
    .hero-slider {
        height: 350px;
    }
}

@media (max-width: 575px) {
    .hero-slider {
        height: 280px;
    }
    
    .slider-arrow {
        width: 32px;
        height: 32px;
    }
}

/* =====================================================
   CARDS - Modern Design
   ===================================================== */
.soft-card {
    border: none;
    border-radius: var(--radius-xl);
    background: var(--gradient-card);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.soft-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 var(--transition-normal);
}

html[dir="rtl"] .soft-card::before {
    transform-origin: right;
}

.soft-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.soft-card:hover::before {
    transform: scaleX(1);
}

.service-card .card-body,
.offer-card .card-body,
.doctor-card .card-body,
.hours-card .card-body,
.appointment-form .card-body {
    padding: 2rem;
}

/* Service Cards */
.service-card {
    position: relative;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 1.25rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

/* Hours Card */
.hours-card {
    background: var(--gradient-card);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.hours-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hours-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hours-badges .badge {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    background: var(--gradient-primary);
    color: #fff;
}

.badge--accent-soft {
    background: rgba(6, 182, 212, 0.2) !important;
    color: var(--brand-accent-dark) !important;
}

.badge--women-wellness {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%) !important;
    color: #fff !important;
}

/* Doctor Cards */
.doctor-featured {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #dbeafe 0%, #cffafe 100%);
    flex-shrink: 0;
    transition: transform var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.avatar--primary {
    background: var(--gradient-primary);
}

.avatar--pink {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

.avatar--purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.avatar--cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.avatar--success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.avatar-lg {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-2xl);
    font-size: 2.5rem;
}

.soft-card:hover .avatar {
    transform: scale(1.05);
}

.featured-card {
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.featured-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Offer Cards */
.offer-card {
    position: relative;
    overflow: hidden;
}

.offer-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(37, 99, 235, 0.08) 100%);
    bottom: -80px;
    right: -60px;
    transition: transform var(--transition-normal);
}

.offer-card:hover::after {
    transform: scale(1.3);
}

.offer-card .card-body {
    position: relative;
    z-index: 1;
}

/* =====================================================
   FORM ELEMENTS
   ===================================================== */
.appointment-contact {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.appointment-form .form-control,
.appointment-form .form-select {
    border-radius: var(--radius-md);
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    line-height: 1.5;
    transition: all var(--transition-fast);
}

.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.appointment-form label {
    font-weight: 600;
    color: var(--brand-ink);
    margin-bottom: 0.5rem;
}

html[dir="rtl"] .appointment-form .form-select {
    direction: rtl;
    text-align: right;
    padding-right: 1.25rem;
    padding-left: 2.5rem;
    background-position: left 0.75rem center;
}

html[dir="rtl"] .appointment-form .form-select option {
    direction: rtl;
    text-align: right;
    line-height: 1.4;
}

.appointment-form .choices {
    margin-bottom: 0;
    font-family: var(--font-ar), var(--font-en), sans-serif;
}

.appointment-form .choices__inner {
    border-radius: var(--radius-md);
    min-height: 52px;
    border: 2px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    padding: 0.55rem 0.95rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.appointment-form .choices[data-type*="select-one"]::after {
    border-color: var(--brand-ink-muted) transparent transparent;
    right: 14px;
}

.appointment-form .choices.is-focused .choices__inner,
.appointment-form .choices.is-open .choices__inner {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.appointment-form .choices__list--dropdown,
.appointment-form .choices__list[aria-expanded] {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: var(--shadow-lg);
    z-index: 30;
}

.appointment-form .choices__input {
    font-family: var(--font-ar), var(--font-en), sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    background-color: #f8fafc;
}

.appointment-form .choices__list--dropdown .choices__item--selectable {
    font-family: var(--font-ar), var(--font-en), sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.55;
    padding: 0.7rem 0.9rem;
}

.appointment-form .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #272b44;
    color: #fff;
}

html[dir="rtl"] .appointment-form .choices__inner,
html[dir="rtl"] .appointment-form .choices__input,
html[dir="rtl"] .appointment-form .choices__item,
html[dir="rtl"] .appointment-form .choices__list--dropdown .choices__item--selectable {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .appointment-form .choices[data-type*="select-one"]::after {
    right: auto;
    left: 14px;
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--brand-primary);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

html[dir="rtl"] .testimonial-card::before {
    left: auto;
    right: 1.5rem;
}

.testimonial-rating {
    color: var(--brand-warning);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--brand-ink);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-avatar--pink {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

.testimonial-avatar--purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.testimonial-avatar--cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.testimonial-avatar--success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.testimonial-name {
    font-weight: 700;
    color: var(--brand-ink);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--brand-ink-muted);
}

.testimonial-slider {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1.5rem;
}

html[dir="rtl"] .testimonial-slider {
    direction: ltr;
}

.testimonial-slider-viewport {
    flex: 1;
}

.testimonial-slider-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.testimonial-slider-track .testimonial-card {
    height: 100%;
}

html[dir="rtl"] .testimonial-slider-viewport,
html[dir="rtl"] .testimonial-slider-track,
html[dir="rtl"] .testimonial-slider-track .testimonial-card {
    direction: rtl;
}

.testimonial-nav {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.testimonial-nav svg {
    display: block;
    width: 20px;
    height: 20px;
}

.testimonial-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.testimonial-nav:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .testimonial-slider-track {
        grid-template-columns: minmax(0, 1fr);
    }

    .testimonial-nav {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-item {
    background: #fff;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-ink);
    text-align: right;
    transition: all var(--transition-fast);
}

html[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    color: var(--brand-primary);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: var(--brand-ink-muted);
    line-height: 1.8;
}

/* =====================================================
   STATISTICS SECTION
   ===================================================== */
.stats-section {
    background: var(--gradient-hero);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stat-item {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* =====================================================
   TRUST BADGES
   ===================================================== */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.trust-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.trust-badge-text {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--brand-ink);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -200px;
    right: -100px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -150px;
    left: -50px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cta-section .btn-white {
    background: #fff;
    color: var(--brand-primary);
}

.cta-section .btn-white:hover {
    background: var(--soft-bg);
}

.cta-section .btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.cta-section .btn-outline-white:hover {
    background: #fff;
    color: var(--brand-primary);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-item:hover {
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

html[dir="rtl"] .contact-item:hover {
    transform: translateX(-5px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-icon--success {
    background: linear-gradient(135deg, var(--brand-success) 0%, #059669 100%);
}

.contact-label {
    font-weight: 600;
    color: var(--brand-ink);
    font-size: 0.9rem;
}

.contact-value {
    color: var(--brand-ink-muted);
    font-size: 0.95rem;
}

.map-placeholder {
    min-height: 400px;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, #e0f2fe 0%, #f0f9ff 50%, #cffafe 100%);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-ink-muted);
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    animation: gradient-move 10s ease infinite;
}

@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: 80px 0 40px;
    background: var(--gradient-footer);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.footer .brand-text {
    background: linear-gradient(135deg, #ffffff 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer a {
    color: #94a3b8;
    transition: all var(--transition-fast);
}

.footer a:hover {
    color: #fff;
    transform: translateX(3px);
}

html[dir="rtl"] .footer a:hover {
    transform: translateX(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: all var(--transition-fast);
}

html[dir="rtl"] .footer-links a::before {
    content: '←';
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--brand-primary);
    transform: translateY(-3px);
    color: #fff;
}

.contact-icon--compact {
    width: 48px;
    height: 48px;
}

.hours-entry-label {
    color: var(--brand-ink);
}

.contact-section {
    position: relative;
}

.contact-section__panel {
    height: 100%;
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.contact-section__panel--brand {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.98));
}

.contact-section__lead {
    color: var(--brand-ink-muted);
}

.contact-section__heading {
    color: var(--brand-ink);
}

.contact-section__social a {
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary);
}

.contact-section__social a:hover {
    background: var(--gradient-primary);
    color: #fff;
}

.contact-link-list {
    display: grid;
    gap: 0.85rem;
}

.contact-link-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    color: var(--brand-ink);
}

.contact-link-list a::before {
    content: "→";
    color: var(--brand-primary);
    transition: transform var(--transition-fast);
}

html[dir="rtl"] .contact-link-list a::before {
    content: "←";
}

.contact-link-list a:hover::before {
    transform: translateX(4px);
}

html[dir="rtl"] .contact-link-list a:hover::before {
    transform: translateX(-4px);
}

.contact-section__info-list {
    display: grid;
    gap: 1rem;
}

.contact-section__info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-section__info-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.contact-section__info-copy {
    min-width: 0;
}

.contact-section__label {
    margin-bottom: 0.2rem;
}

.contact-section__value {
    display: inline-block;
}

.contact-section--compact .contact-section__panel {
    padding: 1.5rem;
}

.footer-copy {
    color: rgba(231, 240, 255, 0.8);
}

.footer-heading {
    color: #fff;
}

.footer-contact-item {
    background: rgba(255, 255, 255, 0.05);
}

.footer-contact-item:hover {
    transform: translateY(-2px);
}

html[dir="rtl"] .footer-contact-item:hover {
    transform: translateY(-2px);
}

.footer .footer-contact-item:hover .footer-contact-label {
    color: var(--brand-ink);
}

.footer .footer-contact-item:hover .contact-value {
    color: var(--brand-ink-muted);
}

.footer .footer-contact-item:hover .contact-value:hover {
    color: var(--brand-ink);
}

.footer-contact-icon {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
}

.footer-contact-icon.contact-icon--success {
    background: linear-gradient(135deg, var(--brand-success) 0%, #059669 100%);
}

.footer-contact-label {
    color: #fff;
    font-size: 0.85rem;
}

.footer .contact-value {
    color: #e2e8f0;
}

.footer .contact-value:hover {
    color: #fff;
}

.footer-meta {
    color: rgba(231, 240, 255, 0.6);
}

.doctor-featured-avatar {
    background: var(--gradient-primary);
}

.package-feature-icon {
    vertical-align: -2px;
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   LOADING ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@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);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease forwards;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1200px) {
    .display-5 { font-size: 1.75rem; }
    .section-title { font-size: 2.25rem; }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-image {
        min-height: 350px;
    }
    
    .hero-image::after {
        width: 250px;
        height: 250px;
        top: -50px;
        right: -50px;
    }
    
    .doctor-featured {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .page-header .brand-logo {
        width: 80px;
        height: 80px;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        margin-top: 1rem;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.875rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-highlights {
        gap: 1rem;
    }
    
    .hero-image {
        min-height: 280px;
        border-radius: var(--radius-xl);
    }
    
    .hero-image-label {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-image {
        min-height: 240px;
        border-radius: var(--radius-lg);
    }
    
    .hero-image::after {
        width: 180px;
        height: 180px;
    }
    
    .hero-image::before {
        width: 120px;
        height: 120px;
    }
    
    .hero-highlights {
        gap: 0.75rem;
    }
    
    .service-card .card-body,
    .offer-card .card-body,
    .doctor-card .card-body,
    .hours-card .card-body,
    .appointment-form .card-body {
        padding: 1.5rem;
    }
    
    .appointment-contact {
        padding: 1.25rem 1.5rem;
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .stat-icon {
        width: 56px;
        height: 56px;
    }
    
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    .page-header,
    .footer,
    .back-to-top {
        display: none;
    }
    
    .hero-section {
        padding-top: 0;
    }
    
    .section-padding {
        padding: 40px 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 accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus,
.slider-arrow:focus-visible,
.slider-nav .nav-dot:focus-visible,
.hero-slider:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --brand-primary: #0000ee;
        --brand-ink: #000;
        --brand-muted: #333;
    }
    
    .soft-card {
        border: 2px solid #000;
    }
}
