/* ================================
   Hilth Foundation - Refined Styles (Malala Inspired)
   ================================ */

/* CSS Custom Properties / Design Tokens */
:root {
    /* Colors - Exact match from Hilth Foundation logo */
    /* Primary Purple-Blue - Logo background color */
    --primary: #5144DC;
    --primary-dark: #4238C4;
    /* Darker shade */
    --primary-light: #6B5FE6;
    /* Lighter shade */
    --primary-muted: rgba(81, 68, 220, 0.12);

    /* Accent Teal/Green - Logo curved element and "Foundation" text */
    --accent-teal: #18C7B7;
    --accent-teal-light: #3DD9CB;
    --accent-teal-dark: #12A89A;

    /* Warm Amber - richer than flat gold */
    --accent-gold: #E8A317;
    --accent-gold-light: #F5B942;
    --accent-gold-dark: #C78A0E;

    /* Neutrals - warmer undertones */
    --text-dark: #1C1A28;
    --text-body: #3D3A4D;
    --text-muted: #6B687A;
    --text-light: #FFFFFF;
    --bg-dark: #1C1A28;
    --bg-light: #F7F6FA;
    --bg-white: #FFFFFF;
    --bg-cream: #FDFCFA;
    --border-color: #E6E4EE;

    /* Gradients - Refined */
    --gradient-hero: linear-gradient(135deg, rgba(79, 60, 201, 0.9) 0%, rgba(14, 165, 165, 0.8) 100%), url('../assets/images/hero-main.jpeg');
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-cta: linear-gradient(135deg, var(--primary) 0%, #4B3A78 50%, var(--accent-teal) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-light) 100%);

    /* Typography - Professional Foundation Fonts (inspired by Gates, Ford, Rockefeller Foundations) */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans 3', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes - Modular Scale (1.25 ratio) */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 2rem;
    /* 32px */
    --text-4xl: 2.5rem;
    /* 40px */
    --text-5xl: 3rem;
    /* 48px */

    /* Spacing - Increased for Premium Feel */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* UI Elements */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(28, 26, 40, 0.06);
    --shadow-md: 0 8px 24px rgba(28, 26, 40, 0.1);
    --shadow-lg: 0 16px 40px rgba(28, 26, 40, 0.14);
    --shadow-xl: 0 24px 48px -12px rgba(28, 26, 40, 0.18);
    --shadow-glow: 0 0 40px rgba(79, 60, 201, 0.2);

    --transition-base: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 150ms ease;
    --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    --z-header: 1000;
    --z-modal: 2000;
}

/* Reduced Motion Support for Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Performance: GPU acceleration for animated elements */
.hero-slide,
.hero-slider,
.modal,
.video-card,
.impact-card,
.testimonial-card,
.quote-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Contain for layout performance */
.impact-card,
.video-card,
.testimonial-card,
.module-card {
    contain: layout style;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: var(--text-base);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%;
}

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

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

ul,
ol {
    list-style: none;
}

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

input,
textarea {
    font-family: inherit;
    font-size: var(--text-base);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography - Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--primary);
    letter-spacing: -0.02em;
    font-variation-settings: 'opsz' 32;
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

/* Paragraph styles */
p {
    line-height: 1.75;
    color: var(--text-body);
}

strong,
b {
    font-weight: 600;
    color: var(--text-dark);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    padding: 0 var(--space-md);
}

.section-label {
    display: block;
    color: var(--accent-teal);
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-lg);
    line-height: 1.15;
    font-weight: 800;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ================================
   Header / Navigation
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background: transparent;
    padding: 0.875rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
}

.header.scrolled {
    background: rgba(81, 68, 220, 0.95);
    padding: 0.625rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: -0.01em;
}


.nav {
    display: none;
}

/* Hide mobile-only nav elements by default */
.nav-close-btn,
.nav-donate-btn {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    /* Increased spacing */
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition-base);
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: var(--text-light);
    transform: translateY(-1px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.btn-donate-header {
    background: var(--accent-teal);
    color: var(--bg-white);
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(14, 165, 165, 0.25);
    letter-spacing: 0.02em;
}

.btn-donate-header:hover {
    background: var(--accent-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 165, 0.4);
    color: var(--bg-white);
}

.header.scrolled .btn-donate-header {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header.scrolled .btn-donate-header:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}



.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Modern Two-Line Menu Icon */
.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 24px;
    height: 24px;
}

.menu-icon span {
    display: block;
    height: 2.5px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon span:first-child {
    width: 24px;
}

.menu-icon span:last-child {
    width: 16px;
}

/* Menu icon transforms to X when open */
.mobile-menu-btn.menu-open .menu-icon span:first-child {
    transform: rotate(45deg) translateY(6px);
    width: 24px;
}

.mobile-menu-btn.menu-open .menu-icon span:last-child {
    transform: rotate(-45deg) translateY(-6px);
    width: 24px;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .nav {
        display: flex;
        align-items: center;
    }

    /* Force hide mobile-only elements on desktop */
    .header .nav .nav-close-btn,
    .header .nav .nav-donate-btn,
    .nav-close-btn,
    .nav-donate-btn,
    button.nav-close-btn,
    button.nav-donate-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 767px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(81, 68, 220, 0.98);
        backdrop-filter: blur(20px);
        z-index: 9999;
        flex-direction: column;
        padding: var(--space-3xl) var(--space-lg);
    }

    .nav-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.15);
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        transition: all var(--transition-base);
    }

    .nav-close-btn:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: rotate(90deg);
    }

    .nav-close-btn svg {
        width: 24px;
        height: 24px;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--space-xl);
        margin-top: var(--space-3xl);
        text-align: center;
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        color: white;
    }

    .nav-donate-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-sm);
        margin-top: var(--space-xl);
        padding: 1rem 2rem;
        background: var(--accent-teal);
        color: white;
        font-size: 1rem;
        font-weight: 700;
        border: none;
        border-radius: var(--radius-full);
        cursor: pointer;
        transition: all var(--transition-base);
    }

    .nav-donate-btn:hover {
        background: var(--accent-teal-dark);
        transform: scale(1.05);
    }

    .nav-donate-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-slider-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    transform: scale(1.2);
}

/* Subtle gradient for text readability while showing more of the hero images */
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.2) 70%,
            transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl);
}

.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* Typewriter Animation - Dramatic Word Reveal */
.hero-line {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: typewriterReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-line-1 {
    animation-delay: 0.5s;
}

.hero-line-2 {
    animation-delay: 1.0s;
}

.hero-line-3 {
    animation-delay: 1.5s;
}

.hero-line-4 {
    animation-delay: 2.2s;
}

.hero-line-5 {
    animation-delay: 2.8s;
}

@keyframes typewriterReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(4px);
    }

    60% {
        opacity: 1;
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.125rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bg-white);
    background: var(--accent-teal);
    border: 2px solid var(--accent-teal);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(14, 165, 165, 0.3);
}

.btn-hero-outline:hover {
    background: var(--accent-teal-dark);
    border-color: var(--accent-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 165, 0.4);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-hero-ghost:hover {
    color: rgba(255, 255, 255, 0.8);
}

.btn-hero-ghost .play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.btn-hero-ghost .play-icon svg {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

.btn-hero-ghost:hover .play-icon {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-light);
}



/* ================================
   Impact Section
   ================================ */
.impact {
    padding: var(--space-4xl) 0;
    background: var(--bg-white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.impact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.3s ease;
    width: 100%;
    max-width: 220px;
    min-height: 220px;
    margin: 0 auto;
    will-change: transform;
}

.impact-stat-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.impact-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: transparent;
    transform: translateY(-6px);
}

.impact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: var(--space-lg);
    position: relative;
}

.impact-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.impact-icon-teal {
    background: linear-gradient(145deg, #e0f7f7 0%, #b8eded 100%);
    color: var(--accent-teal);
    box-shadow: 0 4px 12px rgba(14, 165, 165, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.impact-icon-purple {
    background: linear-gradient(145deg, #ece8f8 0%, #d8d0f0 100%);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(79, 60, 201, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.impact-icon-gold {
    background: linear-gradient(145deg, #fff5dc 0%, #ffe8b8 100%);
    color: var(--accent-gold-dark);
    box-shadow: 0 4px 12px rgba(232, 163, 23, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.impact-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.impact-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
}

.impact-label {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

@media (min-width: 768px) {
    .impact-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .impact-number {
        font-size: 3.5rem;
    }

    .impact-suffix {
        font-size: 3rem;
    }
}

/* Impact Quote Gallery */
.impact-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.quote-card {
    position: relative;
    height: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.quote-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.quote-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            transparent 65%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    transition: all 0.4s ease;
}

.quote-overlay::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    left: var(--space-lg);
    font-size: 3rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
}

.quote-text {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

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

.quote-card:hover .quote-overlay {
    background: linear-gradient(to top,
            rgba(81, 68, 220, 0.85) 0%,
            rgba(81, 68, 220, 0.3) 40%,
            transparent 65%);
}

/* Clean simple card frame */
.quote-card {
    position: relative;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid #e0e0e0;
}

.quote-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

@media (max-width: 1024px) {
    .impact-gallery {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .quote-card {
        height: 350px;
    }
}

/* ================================
   Video Showcase Section
   ================================ */
.videos {
    padding: var(--space-4xl) 0;
    background: var(--bg-light);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.video-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    background: #000;
    height: 400px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    will-change: transform;
}

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

.video-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.video-thumbnail video,
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card:hover .video-thumbnail video,
.video-card:hover .video-thumbnail img {
    transform: scale(1.08);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    background: linear-gradient(to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.8) 50%,
            transparent 100%);
    z-index: 3;
    transition: all 0.4s ease;
}

.video-title {
    color: #FFFFFF !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    line-height: 1.3;
}

.video-description {
    color: #FFFFFF !important;
    font-size: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    opacity: 0.95;
}

.video-card:hover .video-info {
    background: linear-gradient(to top,
            rgba(81, 67, 222, 0.95) 0%,
            rgba(53, 186, 203, 0.7) 80%,
            transparent 100%);
}

/* Play Button */
.video-play-btn {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
    fill: white;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary);
}

.video-card:hover .video-play-btn svg {
    fill: var(--primary);
}

.video-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    z-index: 4;
}

@media (min-width: 640px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================================
   About Section
   ================================ */
.about {
    padding: var(--space-4xl) 0;
    background: var(--bg-light);
}

/* Intro Section */
.about-intro-grid {
    display: grid;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.about-intro-content {
    order: 1;
}

.about-intro-images {
    order: 2;
}

.about-intro-content .section-label {
    display: inline-block;
    color: var(--accent-teal);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: var(--text-sm);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.about-intro-content .section-title {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

@media (min-width: 1024px) {
    .about-intro-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--space-3xl);
    }

    .about-intro-content {
        order: 1;
    }

    .about-intro-images {
        order: 2;
    }
}

/* Leadership & Purpose Section */
.leadership-purpose-section {
    margin-bottom: var(--space-4xl);
    padding: var(--space-3xl) 0;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
}

.founder-vision-wrapper {
    display: grid;
    gap: var(--space-xl);
    align-items: stretch;
}

@media (min-width: 768px) {
    .founder-vision-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
        max-width: 1000px;
        margin: 0 auto;
    }
}

/* Methodology Section */
.methodology-section {
    padding: var(--space-3xl) 0;
}

/* Modules Section */
.modules-section {
    margin-top: 0;
    margin-bottom: 0;
}

.modules-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
}

.module-card {
    position: relative;
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-teal) 100%);
}

.module-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.module-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(81, 67, 222, 0.1);
    font-family: var(--font-heading);
    line-height: 1;
}

.module-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(81, 67, 222, 0.25);
}

.module-icon svg {
    width: 28px;
    height: 28px;
}

.module-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.module-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .module-card {
        text-align: center;
    }

    .module-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Vision & Mission Grid - In Leadership Section */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.vision-card-new,
.mission-card {
    position: relative;
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.vision-card-new {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.mission-card {
    background: linear-gradient(135deg, var(--accent-teal) 0%, #2AA4B8 100%);
}

.vision-decorative,
.mission-decorative {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.vision-decorative svg,
.mission-decorative svg {
    width: 32px;
    height: 32px;
}

.vision-label-new,
.mission-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-md);
}

.vision-text-new,
.mission-text {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-weight: 600;
    max-width: 400px;
}

.vision-text-new {
    font-style: italic;
    font-weight: 500;
}

@media (min-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .vision-card-new,
    .mission-card {
        padding: var(--space-2xl);
        min-height: 200px;
    }

    .vision-text-new,
    .mission-text {
        font-size: 1.125rem;
    }
}

/* About Sidebar */
.about-image-wrapper {
    position: relative;
    height: 500px;
    margin-bottom: var(--space-xl);
}

.about-image-main {
    width: 80%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-image-secondary {
    width: 50%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 8px solid var(--bg-light);
    box-shadow: var(--shadow-lg);
}

.about-image-main img,
.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stat-card {
    position: absolute;
    top: 50px;
    right: -20px;
    background: var(--accent-teal);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    z-index: 3;
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Founder Card */
.founder-card-enhanced {
    background: linear-gradient(135deg, rgba(79, 60, 201, 0.03) 0%, rgba(14, 165, 165, 0.03) 100%);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.founder-card-enhanced:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.founder-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.founder-image {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 3px solid var(--primary);
}

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

.founder-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.founder-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.founder-quote {
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    .about-content {
        order: 1;
    }

    .about-sidebar {
        order: 2;
    }
}

/* ================================
   Student Impact / Testimonials Section
   ================================ */
.stories {
    padding: var(--space-4xl) 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    border: 1px solid var(--border-color);
}

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

.testimonial-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.testimonial-content {
    padding: var(--space-xl);
    position: relative;
}

.quote-mark {
    width: 48px;
    height: 48px;
    background: rgba(81, 67, 222, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.quote-mark svg {
    width: 24px;
    height: 24px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    flex-shrink: 0;
}

.author-avatar svg {
    width: 24px;
    height: 24px;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================================
   Hilth Mentorship Program Section
   ================================ */
.mentorship {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.mentorship::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(81, 68, 220, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mentorship::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(24, 199, 183, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Mentorship Intro */
.mentorship-intro {
    margin-bottom: var(--space-3xl);
}

.mentorship-highlight {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-teal);
    position: relative;
    overflow: hidden;
}

.mentorship-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(24, 199, 183, 0.03));
    pointer-events: none;
}

.highlight-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    box-shadow: 0 8px 24px rgba(24, 199, 183, 0.25);
}

.highlight-icon svg {
    width: 32px;
    height: 32px;
}

.highlight-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.highlight-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
}

/* Program Features Grid */
.mentorship-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.feature-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-teal) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-muted);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--primary);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Mentor Excellence Section */
.mentor-excellence {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--primary) 0%, #4B3A78 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.mentor-excellence::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

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

.excellence-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-teal);
    background: rgba(24, 199, 183, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.excellence-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.excellence-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.excellence-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.excellence-point {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.excellence-point svg {
    width: 20px;
    height: 20px;
    color: var(--accent-teal);
    flex-shrink: 0;
}

.excellence-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse-ring 3s ease-in-out infinite;
}

.impact-ring::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    animation: rotate-ring 20s linear infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(24, 199, 183, 0.3);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 30px 10px rgba(24, 199, 183, 0.15);
    }
}

@keyframes rotate-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ring-content {
    text-align: center;
}

.ring-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
}

.ring-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-xs);
}

/* Program Outcomes */
.mentorship-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.outcome-card {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.outcome-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.outcome-card:hover {
    transform: translateY(-6px);
}

.outcome-card:hover::before {
    opacity: 1;
}

.outcome-primary {
    background: rgba(81, 68, 220, 0.08);
}

.outcome-primary::before {
    background: linear-gradient(135deg, rgba(81, 68, 220, 0.15) 0%, rgba(81, 68, 220, 0.05) 100%);
}

.outcome-primary .outcome-icon {
    color: var(--primary);
}

.outcome-teal {
    background: rgba(24, 199, 183, 0.08);
}

.outcome-teal::before {
    background: linear-gradient(135deg, rgba(24, 199, 183, 0.15) 0%, rgba(24, 199, 183, 0.05) 100%);
}

.outcome-teal .outcome-icon {
    color: var(--accent-teal);
}

.outcome-gold {
    background: rgba(232, 163, 23, 0.08);
}

.outcome-gold::before {
    background: linear-gradient(135deg, rgba(232, 163, 23, 0.15) 0%, rgba(232, 163, 23, 0.05) 100%);
}

.outcome-gold .outcome-icon {
    color: var(--accent-gold);
}

.outcome-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.outcome-icon svg {
    width: 32px;
    height: 32px;
}

.outcome-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.outcome-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Mentorship Tagline */
.mentorship-tagline {
    text-align: center;
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(81, 68, 220, 0.05) 0%, rgba(24, 199, 183, 0.05) 100%);
    border-radius: var(--radius-xl);
    border: 1px dashed var(--border-color);
}

.mentorship-tagline p {
    font-size: 1.2rem;
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.mentorship-tagline strong {
    color: var(--primary);
    font-weight: 700;
}

/* Mentorship Section Responsive */
@media (max-width: 1024px) {
    .mentorship-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .mentor-excellence {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .excellence-points {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .excellence-point {
        justify-content: flex-start;
    }

    .impact-ring {
        width: 160px;
        height: 160px;
    }

    .ring-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mentorship {
        padding: var(--space-2xl) 0;
    }

    .mentorship-highlight {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }

    .highlight-icon {
        margin: 0 auto;
    }

    .highlight-content h3 {
        font-size: 1.25rem;
    }

    .highlight-content p {
        font-size: 1rem;
    }

    .mentorship-features {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .mentor-excellence {
        padding: var(--space-xl);
    }

    .excellence-title {
        font-size: 1.25rem;
    }

    .excellence-points {
        gap: var(--space-sm);
    }

    .mentorship-outcomes {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .mentorship-tagline p {
        font-size: 1rem;
    }
}

/* ================================
   Hilth Insights Section (Compact)
   ================================ */
.insights {
    padding: var(--space-3xl) 0;
    background: var(--bg-light);
}

.insights-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.insights-logo-wrapper {
    position: relative;
}

.insights-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(81, 68, 220, 0.25);
    border: 4px solid var(--bg-white);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.insights-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(81, 68, 220, 0.35);
}

.insights-intro {
    flex: 1;
}

.insights-intro .section-title {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.insights-intro .section-subtitle {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
}

.insights-intro .section-label {
    text-align: center;
}

/* Why Section */
.insights-why {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.why-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.why-content p {
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

.thought-flow {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.flow-item {
    padding: 0.5rem 1rem;
    background: var(--primary-muted);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.thought-flow svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

/* Topics Grid */
.insights-topics {
    margin-bottom: var(--space-2xl);
}

.topics-title {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

.topic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
}

.topic-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.topic-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-teal);
}

.topic-item span {
    font-size: 0.8rem;
    color: var(--text-body);
    font-weight: 500;
}

/* Delivery Cards */
.insights-delivery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.delivery-card {
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.delivery-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.delivery-icon.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a0dc 100%);
    color: white;
}

.delivery-icon.spotify {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: white;
}

.delivery-icon svg {
    width: 28px;
    height: 28px;
}

.delivery-card h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.delivery-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.spotify-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: #1DB954;
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.spotify-link:hover {
    background: #1ed760;
    transform: translateY(-2px);
}

.spotify-link svg {
    width: 16px;
    height: 16px;
}

/* Insights Tagline */
.insights-tagline {
    text-align: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(81, 68, 220, 0.05) 0%, rgba(24, 199, 183, 0.05) 100%);
    border-radius: var(--radius-lg);
}

.insights-tagline p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin: 0;
}

.insights-tagline strong {
    color: var(--primary);
}

/* Insights Responsive */
@media (max-width: 1024px) {
    .topics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .insights {
        padding: var(--space-2xl) 0;
    }

    .insights-header {
        flex-direction: column;
        text-align: center;
    }

    .insights-intro .section-title,
    .insights-intro .section-subtitle,
    .insights-intro .section-label {
        text-align: center;
    }

    .insights-why {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insights-delivery {
        grid-template-columns: 1fr;
    }
}


.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.story-content {
    padding: var(--space-lg);
}

.story-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.story-card-testimonial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl);
    background: var(--gradient-primary);
    color: var(--text-light);
}

.story-card-testimonial .story-text {
    color: var(--text-light);
    font-size: 1.125rem;
    font-style: italic;
}

.quote-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.quote-icon svg {
    width: 24px;
    height: 24px;
}

.story-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.story-card-testimonial .author-name {
    color: var(--text-light);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.story-card-testimonial .author-title {
    color: rgba(255, 255, 255, 0.7);
}

.carousel-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.05);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    background: var(--primary);
    width: 30px;
}

@media (min-width: 768px) {
    .story-card {
        flex: 0 0 calc(50% - var(--space-lg));
    }

    .carousel-btn {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .story-card {
        flex: 0 0 calc(33.333% - var(--space-lg));
    }
}

/* ================================
   CTA Section
   ================================ */
.cta {
    padding: var(--space-4xl) 0;
    background:
        linear-gradient(135deg, rgba(81, 67, 222, 0.95) 0%, rgba(53, 186, 203, 0.9) 100%),
        url('../assets/images/impact-bg.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

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

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-lg);
}

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

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 300px;
    color: rgba(255, 255, 255, 0.85);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--accent-teal);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: var(--space-lg);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-list li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-teal);
    flex-shrink: 0;
}

.footer-list a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-list a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    color: #FFFFFF !important;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom p {
    color: #FFFFFF !important;
}


@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ================================
   Modals
   ================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-base);
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.modal::-webkit-scrollbar {
    display: none;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--text-light);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.modal-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 26, 71, 0.1);
    border-radius: var(--radius-full);
    color: var(--primary);
    margin: 0 auto var(--space-md);
}

.modal-icon svg {
    width: 32px;
    height: 32px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.modal-subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Donation Form */
.donation-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    padding: 0.875rem var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 26, 71, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.amount-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.amount-btn {
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.amount-btn:hover {
    border-color: var(--primary);
    background: rgba(46, 26, 71, 0.05);
}

.amount-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--text-light);
}

/* Thank You Modal */
.thank-you-modal {
    text-align: center;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 139, 139, 0.1);
    border-radius: var(--radius-full);
    color: var(--accent-teal);
    margin: 0 auto var(--space-lg);
}

.thank-you-icon svg {
    width: 48px;
    height: 48px;
}

.reference-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal {
    width: 100%;
    max-width: 1000px;
    position: relative;
}

.video-modal .modal-close {
    position: absolute;
    top: calc(-1 * var(--space-3xl));
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.video-modal .modal-close:hover {
    background: var(--primary);
}

.video-modal video {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* ================================
   Modal Mobile Responsiveness
   ================================ */
@media (max-width: 480px) {
    .modal-overlay {
        padding: var(--space-sm);
        align-items: flex-end;
    }

    .modal {
        padding: var(--space-lg);
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        max-height: 85vh;
        width: 100%;
        max-width: 100%;
    }

    .modal-header {
        margin-bottom: var(--space-md);
    }

    .modal-icon {
        width: 52px;
        height: 52px;
        margin-bottom: var(--space-sm);
    }

    .modal-icon svg {
        width: 26px;
        height: 26px;
    }

    .modal-title {
        font-size: 1.25rem;
        margin-bottom: var(--space-xs);
    }

    .modal-subtitle {
        font-size: 0.875rem;
    }

    .modal-close {
        top: var(--space-sm);
        right: var(--space-sm);
        width: 32px;
        height: 32px;
    }

    .modal-close svg {
        width: 18px;
        height: 18px;
    }

    /* Donation Form Mobile */
    .donation-form {
        gap: var(--space-sm);
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input {
        padding: 0.75rem var(--space-sm);
        font-size: 0.9rem;
    }

    .amount-suggestions {
        gap: var(--space-xs);
        justify-content: space-between;
    }

    .amount-btn {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.75rem;
        flex: 1;
        min-width: calc(50% - var(--space-xs));
        text-align: center;
    }

    .btn-full {
        padding: 0.875rem var(--space-md);
        font-size: 0.9rem;
    }

    .btn-full svg {
        width: 18px;
        height: 18px;
    }

    /* Thank You Modal Mobile */
    .thank-you-icon {
        width: 64px;
        height: 64px;
    }

    .thank-you-icon svg {
        width: 36px;
        height: 36px;
    }

    .reference-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .modal {
        padding: var(--space-md);
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .amount-btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
    }

    .form-group input {
        padding: 0.625rem var(--space-sm);
        font-size: 0.85rem;
    }
}

/* ================================
   Animations
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animations */
.impact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.impact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.impact-card:nth-child(3) {
    animation-delay: 0.3s;
}

.impact-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* ================================
   Utilities
   ================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================
   Preloader
   ================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.preloader-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(81, 67, 222, 0.15);
}

.preloader-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(81, 67, 222, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.preloader-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid transparent;
    border-top-color: var(--accent-teal);
    border-radius: 50%;
    animation: spin 2s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    animation: preloaderFadeIn 0.8s ease 0.4s forwards;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloaderFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Scroll to Top Button
   ================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

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

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}

/* ================================
   Newsletter Signup
   ================================ */
.footer-newsletter {
    max-width: 300px;
}

.newsletter-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    color: var(--text-light);
    font-size: 0.875rem;
    outline: none;
    transition: all var(--transition-base);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-teal);
}

.newsletter-btn {
    padding: 0.75rem 1.25rem;
    background: var(--accent-teal);
    border: none;
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-btn:hover {
    background: #2AA4B8;
}

.newsletter-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.newsletter-btn .spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ================================
   Notification Toast System
   ================================ */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 3000;
    max-width: 400px;
    padding: 1rem 1.25rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.notification-content svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.notification-content span {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.4;
}

.notification-success {
    border-left: 4px solid var(--accent-teal);
}

.notification-success svg {
    color: var(--accent-teal);
}

.notification-error {
    border-left: 4px solid #e74c3c;
}

.notification-error svg {
    color: #e74c3c;
}

.notification-info {
    border-left: 4px solid var(--primary);
}

.notification-info svg {
    color: var(--primary);
}

.newsletter-btn svg {
    width: 18px;
    height: 18px;
}

/* ================================
   Scroll Animations
   ================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive footer grid with newsletter */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

/* ================================
   Mobile Layout Fixes
   ================================ */
@media (max-width: 768px) {

    /* Header & Navbar Fixes */
    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        gap: var(--space-sm);
    }

    .logo {
        gap: var(--space-xs);
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    /* Keep logo text on one line if possible, or break cleanly */
    .logo-text br {
        display: none;
    }

    .logo-text span {
        display: inline-block;
    }

    /* Compact Donate Button */
    .btn-donate-header {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .btn-donate-header .btn-text {
        font-size: 0.75rem;
        display: inline-block;
    }

    .btn-donate-header::after {
        content: none;
        /* Remove duplicate text */
    }

    /* If screen is VERY small, hide text */
    @media (max-width: 380px) {
        .btn-donate-header {
            padding: 0.5rem;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-donate-header .btn-text {
            display: none;
        }

        .logo-text {
            font-size: 1rem;
        }
    }

    /* Hide header donate button in hero on mobile - show only when scrolled past hero */
    .btn-donate-header {
        opacity: 0;
        visibility: hidden;
        transform: scale(0.8);
        transition: all 0.3s ease;
    }

    .header.past-hero .btn-donate-header {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    /* Card Fixes */
    .video-card,
    .quote-card {
        height: 360px;
        /* Slightly shorter on mobile */
    }

    .video-play-btn {
        width: 56px;
        height: 56px;
    }

    .video-play-btn svg {
        width: 24px;
        height: 24px;
    }

    .video-title {
        font-size: 1.1rem;
    }

    .quote-overlay::before {
        font-size: 3rem;
    }

    /* Mobile Menu Styles - Full Screen */
    .nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #5144DC !important;
        padding: 100px var(--space-lg) var(--space-xl) !important;
        z-index: 9999 !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav[style*="display: block"] {
        display: flex !important;
    }

    .nav[style*="display: none"] {
        display: none !important;
    }

    .nav-close-btn {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        width: 48px !important;
        height: 48px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: none !important;
        border-radius: 50% !important;
        color: #FFFFFF !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
        z-index: 10000 !important;
    }

    .nav-close-btn:hover {
        background: rgba(255, 255, 255, 0.25) !important;
        transform: rotate(90deg) !important;
    }

    .nav-close-btn svg {
        width: 24px !important;
        height: 24px !important;
    }

    .nav-list {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: var(--space-sm) !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .nav-list li {
        opacity: 0;
        animation: fadeInUp 0.5s ease forwards;
        list-style: none !important;
    }

    .nav-list li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-list li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-list li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-list li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav-link {
        display: block !important;
        padding: 1rem 2rem !important;
        color: #FFFFFF !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        text-transform: none !important;
        /* Remove uppercase */
        letter-spacing: 0 !important;
        border-radius: 8px !important;
        transition: all 0.3s ease;
        text-align: center !important;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #FFFFFF !important;
    }

    .nav-donate-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        margin-top: var(--space-xl) !important;
        padding: 1rem 2.5rem !important;
        background: var(--accent-teal) !important;
        color: #FFFFFF !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        border: none !important;
        border-radius: 50px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 15px rgba(14, 165, 165, 0.4) !important;
    }

    .nav-donate-btn:hover {
        background: var(--accent-teal-dark) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(14, 165, 165, 0.5) !important;
    }

    .nav-donate-btn svg {
        width: 20px !important;
        height: 20px !important;
    }

    @keyframes slideInMenu {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ================================
       Section Spacing Mobile
       ================================ */
    .section {
        padding: var(--space-2xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-xl);
        padding: 0 var(--space-sm);
    }

    .section-label {
        font-size: 0.85rem;
        letter-spacing: 0.15em;
        margin-bottom: var(--space-sm);
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        text-align: center;
        padding: 0 var(--space-sm);
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 var(--space-xs);
    }

    /* ================================
       Hero Mobile - Clean & Focused
       ================================ */
    .hero {
        padding: calc(70px + var(--space-lg)) var(--space-md) var(--space-2xl);
        min-height: 85vh;
        align-items: flex-end;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.2;
        margin-bottom: var(--space-sm);
    }

    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: var(--space-lg);
        line-height: 1.5;
    }

    .hero-cta {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--space-md);
        flex-wrap: nowrap;
    }

    .btn-hero-outline {
        width: auto;
        min-width: auto;
        max-width: none;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }

    /* Show ghost button on mobile */
    .btn-hero-ghost {
        display: inline-flex;
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .btn-hero-ghost .play-icon {
        width: 36px;
        height: 36px;
    }

    .btn-hero-ghost .play-icon svg {
        width: 14px;
        height: 14px;
    }

    /* Mobile-friendly slider dots */
    .hero-slider-dots {
        display: flex;
        bottom: 40px;
        gap: 10px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    /* ================================
       Impact Section Mobile
       ================================ */
    .impact {
        padding: var(--space-2xl) 0;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .impact-card {
        padding: var(--space-md);
    }

    .impact-icon {
        width: 48px;
        height: 48px;
    }

    .impact-icon svg {
        width: 24px;
        height: 24px;
    }

    .impact-number {
        font-size: 1.75rem;
    }

    .impact-suffix {
        font-size: 1.25rem;
    }

    .impact-label {
        font-size: 0.875rem;
    }

    /* Impact Quote Gallery Mobile */
    .impact-gallery {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        margin-top: var(--space-xl);
    }

    .quote-card {
        height: 320px;
    }

    .quote-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* ================================
       Video Section Mobile
       ================================ */
    .videos {
        padding: var(--space-2xl) 0;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .video-info {
        padding: var(--space-md);
    }

    .video-description {
        font-size: 0.875rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* ================================
       About Section Mobile
       ================================ */
    .about {
        padding: var(--space-2xl) 0;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        margin-bottom: var(--space-2xl);
    }

    .about-intro-content {
        order: 1;
        text-align: center;
    }

    .about-intro-images {
        order: 2;
    }

    .about-intro-content .section-label {
        text-align: center;
        display: block;
    }

    .about-intro-content .section-title {
        text-align: center;
    }

    .about-text {
        font-size: 1rem;
        text-align: center;
    }

    .about-image-wrapper {
        position: relative;
        height: 380px;
        margin-bottom: var(--space-lg);
    }

    .about-image-main {
        position: absolute;
        width: 75%;
        height: 280px;
        top: 0;
        left: 0;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-md);
        z-index: 1;
    }

    .about-image-secondary {
        position: absolute;
        width: 55%;
        height: 200px;
        bottom: 0;
        right: 0;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        border: 6px solid var(--bg-light);
        z-index: 2;
    }

    .about-stat-card {
        position: absolute;
        top: 40px;
        right: 0;
        z-index: 3;
        margin: 0;
        max-width: none;
    }

    .modules-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .module-card {
        padding: var(--space-md);
    }

    .leadership-purpose-section {
        padding: var(--space-xl) 0;
        margin-bottom: var(--space-2xl);
    }

    .founder-vision-wrapper {
        gap: var(--space-lg);
    }

    .founder-card-enhanced {
        padding: var(--space-lg);
    }

    .founder-image {
        width: 56px;
        height: 56px;
    }

    .founder-quote {
        font-size: 1rem;
        line-height: 1.6;
    }

    .vision-mission-grid {
        gap: var(--space-md);
    }

    .vision-card-new,
    .mission-card {
        padding: var(--space-xl) var(--space-md);
        min-height: 200px;
    }

    .vision-text-new,
    .mission-text {
        font-size: 1rem;
    }

    /* ================================
       Testimonials Mobile
       ================================ */
    .stories {
        padding: var(--space-xl) 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        margin-top: var(--space-lg);
    }

    .testimonial-image {
        height: 160px;
    }

    .testimonial-content {
        padding: var(--space-sm) var(--space-md);
    }

    .quote-mark {
        width: 36px;
        height: 36px;
        margin-bottom: var(--space-sm);
    }

    .quote-mark svg {
        width: 18px;
        height: 18px;
    }

    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: var(--space-md);
    }

    .author-avatar {
        width: 36px;
        height: 36px;
    }

    .author-avatar svg {
        width: 18px;
        height: 18px;
    }

    .author-name {
        font-size: 0.9rem;
    }

    .author-location {
        font-size: 0.75rem;
    }

    /* ================================
       CTA Section Mobile
       ================================ */
    .cta {
        padding: var(--space-2xl) var(--space-md);
    }

    .cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .cta-subtitle {
        font-size: 0.9rem;
    }

    /* ================================
       Footer Mobile
       ================================ */
    .footer {
        padding: var(--space-xl) 0;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-description {
        max-width: 100%;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-list {
        align-items: center;
    }

    .footer-list li {
        justify-content: center;
    }

    /* Newsletter section centered */
    .footer-newsletter {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .footer-newsletter .footer-heading {
        text-align: center;
    }

    .newsletter-text {
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input {
        border-radius: var(--radius-full);
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
    }

    .newsletter-btn {
        border-radius: var(--radius-full);
        width: 100%;
        padding: 0.75rem;
        margin-top: var(--space-xs);
    }

    .footer-bottom {
        color: #FFFFFF !important;
        text-align: center;
    }

    .footer-bottom p {
        color: #FFFFFF !important;
    }


    /* ================================
       Scroll Top Button Mobile
       ================================ */
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}





.about-text:first-of-type {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .founder-card-enhanced {
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .nav-link {
        padding: 12px 16px;
        display: block;
        min-height: 48px;
        line-height: 24px;
    }
}

/* ================================
   Mobile Layout Alignment Fixes (Final Polish)
   ================================ */
@media (max-width: 768px) {

    /* Force single column for Leadership/Founder section */
    .leadership-purpose-section {
        grid-template-columns: 1fr !important;
        gap: var(--space-xl);
        width: 100%;
    }

    /* Founder Card Mobile */
    .founder-card-enhanced {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    /* Modules Mobile */
    .modules-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg);
    }

    .module-card {
        text-align: center;
        align-items: center;
    }

    /* Impact Grid - Force 1 column for perfect alignment */
    .impact-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg);
        max-width: 320px;
        margin: 0 auto;
    }

    .impact-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    /* Hero Height Extension for Mobile */
    .hero {
        min-height: 105vh;
        max-height: 105vh;
    }

    /* Hero Center Alignment & Cleanup */
    .hero-content {
        text-align: center;
        align-items: center;
        padding-left: var(--space-md);
        padding-right: var(--space-md);
        /* Push content down to reveal more image */
        padding-top: 15vh;
        padding-bottom: var(--space-2xl);
    }

    .hero-title {
        align-items: center;
        /* Slightly reduce size for better fit */
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    /* Staggered Animations Mobile - One by One */
    .hero-line-1 {
        animation-delay: 0.2s;
    }

    .hero-line-2 {
        animation-delay: 1.2s;
    }

    .hero-line-3 {
        animation-delay: 2.2s;
    }

    .hero-line-4 {
        animation-delay: 3.2s;
    }

    /* Subtitle */

    /* Mobile Hero CTA - Show donate button side by side */
    .hero-cta {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--space-sm);
        padding-top: var(--space-md);
        flex-wrap: nowrap;
    }

    .btn-hero-outline {
        width: auto;
        min-width: auto;
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }

    .btn-hero-ghost {
        display: inline-flex;
    }
}