/* ===== MODERN DESIGN SYSTEM ===== */
:root {
    --primary-color: #204894;
    --primary-dark: #1a3a7a;
    --primary-light: #2a56b0;
    --secondary-color: #2ea3f2;
    --secondary-dark: #1e8bc4;
    --accent-color: #ff6b35;
    --accent-hover: #e55a2b;
    --accent-light: #ff8c5a;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    
    --background-light: #f8fafc;
    --background-lighter: #f7fafc;
    --background-white: #ffffff;
    --background-dark: #111827;
    
    --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;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== GLOBAL STYLES ===== */
.iahs-modern-home {
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.iahs-modern-home .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Gradient Text */
.gradient-text {
    background: #FF6B35;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image Responsive Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== MOBILE-FIRST RESPONSIVE DESIGN ===== */

/* ===== MODERN HERO SECTION - MOBILE ===== */
.modern-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 163, 242, 0.15) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(32, 72, 148, 0.9) 0%, rgba(26, 58, 122, 0.9) 100%);
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--background-white);
    padding: 0 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--background-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 0.7rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    padding: 0 0.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--accent-color) !important;
    border: none !important;
    padding: 18px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: var(--transition-bounce) !important;
    box-shadow: var(--shadow-xl) !important;
    position: relative;
    overflow: hidden;
    color: white !important;
    text-decoration: none !important;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.btn-primary-modern::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.7s;
}

.btn-primary-modern:hover::before {
    left: 100%;
}

.btn-primary-modern:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4) !important;
    background: var(--accent-hover) !important;
}

.btn-secondary-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    padding: 18px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: var(--transition-bounce) !important;
    backdrop-filter: blur(20px);
    color: white !important;
    text-decoration: none !important;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.btn-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--background-white) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 400px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1rem 0.5rem;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Hero Image Carousel - Mobile */
.hero-image-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    width: 33.333%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ===== FEATURES SECTION - MOBILE ===== */
.features-section {
    padding: 80px 0;
    background: var(--background-light);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-pre-title {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
}

.section-pre-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    padding: 0 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    padding: 0 0.5rem;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-card {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 0 0 2rem 0;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin: -35px auto 1.5rem;
}

.feature-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--background-white);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.feature-bg {
    position: absolute;
    top: 6px;
    left: 6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    opacity: 0.2;
    filter: blur(8px);
    transition: var(--transition);
}

.feature-card:hover .feature-bg {
    transform: translate(3px, 3px);
    opacity: 0.3;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    padding: 0 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    padding: 0 1.5rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    padding: 0 1.5rem;
}

.feature-link:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

/* ===== EDUCATIONAL PROGRAMMES SECTION - MOBILE ===== */
.programmes-section {
    padding: 80px 0;
    background: var(--background-white);
    position: relative;
}

.programmes-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.programme-card {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    text-align: center;
    padding: 0 0 2rem 0;
}

.programme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.programme-card:hover::before {
    opacity: 0.02;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.programme-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

.programme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.programme-card:hover .programme-image img {
    transform: scale(1.1);
}

.programme-icon {
    width: 60px;
    height: 60px;
    margin: -30px auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--background-white);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    border: 4px solid var(--background-white);
}

.programme-card:hover .programme-icon {
    transform: scale(1.1) rotate(5deg);
}

.programme-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
}

.programme-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
    padding: 0 1.5rem;
}

.programme-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    padding: 0 1.5rem;
}

.programme-link:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

.mobile-view-all {
    text-align: center;
    padding: 0 1rem;
}

.mobile-view-all .btn-primary-modern {
    max-width: 280px;
}

/* ===== GLOBAL RECOGNITION SECTION - MOBILE ===== */
.recognition-section {
    padding: 80px 0;
    background: var(--background-light);
}

.recognition-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.recognition-content {
    text-align: center;
}

.recognition-content .section-pre-title {
    text-align: center;
    margin-left: 0;
}

.recognition-content .section-pre-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.recognition-content .section-title {
    text-align: center;
    font-size: 1.4rem;
}

.recognition-content .section-subtitle {
    text-align: center;
    margin-left: 0;
    font-size: 1.1rem;
}

.recognition-features {
    margin-top: 2rem;
}

.recognition-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.recognition-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.recognition-feature .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--background-white);
    flex-shrink: 0;
}

.recognition-feature h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.recognition-feature p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.recognition-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    order: -1;
}

.recognition-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.recognition-image:hover img {
    transform: scale(1.05);
}

/* ===== CTA SECTION - MOBILE ===== */
.cta-section {
    padding: 80px 0;
    color: var(--background-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
        display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    max-width: 280px;
    margin: 0 auto;
}

/* ===== TABLET STYLES (768px and up) ===== */
@media (min-width: 768px) {
    .iahs-modern-home .container {
        padding: 0 2rem;
    }

    .modern-hero-section {
        padding: 140px 0 100px;
    }

    .hero-title {
        font-size: 2.0rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        max-width: 600px;
    }

    .hero-buttons {
        flex-direction: row;
        max-width: 500px;
    }

    .btn-primary-modern,
    .btn-secondary-modern {
        width: auto;
        max-width: none;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        max-width: 600px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .features-section,
    .programmes-section,
    .recognition-section,
    .cta-section {
        padding: 100px 0;
    }

    .section-title {
        font-size: 2.0rem;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 2rem;
    }

    .programmes-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 2rem;
    }

    .recognition-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 800px;
        gap: 3rem;
        align-items: center;
    }

    .recognition-image {
        order: 2;
    }

    .recognition-content {
        text-align: left;
        order: 1;
    }

    .recognition-content .section-pre-title::after {
        left: 0;
        transform: none;
    }

    .recognition-content .section-title,
    .recognition-content .section-subtitle {
        text-align: left;
    }

    .recognition-feature {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: row;
        max-width: 500px;
    }
}

/* ===== DESKTOP STYLES (1024px and up) ===== */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2.6rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }

    .programmes-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }

    .recognition-grid {
        max-width: 1200px;
    }

    .modern-hero-section {
        padding: 160px 0 120px;
    }

    .features-section,
    .programmes-section,
    .recognition-section,
    .cta-section {
        padding: 120px 0;
    }
}

/* ===== LARGE DESKTOP STYLES (1200px and up) ===== */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .programmes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Stagger animations */
.hero-badge {
    animation-delay: 0.1s;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.3s;
}

.hero-buttons {
    animation-delay: 0.4s;
}

.hero-stats {
    animation-delay: 0.5s;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
.form-control:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-light: var(--text-dark);
        --shadow: 0 0 0 1px var(--text-dark);
    }
}

/* Print styles */
@media print {
    .hero-buttons,
    .cta-buttons {
        display: none;
    }
}