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

:root {
    /* Psychology-Optimized Children's Foundation Color Palette */

    /* Primary Colors - Trust & Hope */
    --trust-blue: #4A90E2;           /* Reliability, security, calmness */
    --ocean-blue: #5DADE2;           /* Depth, stability */
    --sky-blue: #85C1E9;             /* Freedom, openness */

    /* Warm Colors - Joy & Energy */
    --sunshine-yellow: #FFD93D;      /* Happiness, optimism, attention */
    --bright-orange: #FF8C42;        /* Enthusiasm, success, encouragement */
    --coral-warm: #FF6B6B;           /* Compassion, warmth, care */

    /* Growth Colors - Hope & Life */
    --fresh-green: #6BCF7F;          /* Growth, renewal, vitality */
    --lime-bright: #A8E063;          /* Energy, freshness, youth */
    --mint-soft: #95E1D3;            /* Healing, harmony, peace */

    /* Creative Colors - Imagination */
    --purple-play: #9B59B6;          /* Creativity, magic, wonder */
    --lavender-soft: #C39BD3;        /* Gentleness, kindness */
    --pink-gentle: #F8B4D9;          /* Love, nurturing, sweetness */

    /* Neutrals - Balance & Clarity */
    --warm-white: #FFF9F0;           /* Clean, pure, safe */
    --cream-soft: #FFF4E0;           /* Comfort, warmth */
    --grey-light: #ECF0F1;           /* Neutral, balanced */
    --grey-medium: #95A5A6;          /* Sophisticated, calm */
    --charcoal-deep: #2C3E50;        /* Professional, strong */
    --white: #FFFFFF;

    /* Primary Palette for Foundation */
    --primary-color: var(--trust-blue);
    --primary-dark: var(--ocean-blue);
    --primary-light: var(--sky-blue);
    --secondary-color: var(--sunshine-yellow);
    --secondary-dark: var(--bright-orange);
    --secondary-light: var(--cream-soft);
    --accent-color: var(--coral-warm);
    --accent-light: var(--pink-gentle);
    --success-color: var(--fresh-green);
    --creative-color: var(--purple-play);

    /* Text Colors */
    --text-primary: var(--charcoal-deep);
    --text-secondary: var(--grey-medium);
    --text-light: #7F8C8D;
    --text-on-dark: var(--warm-white);

    /* Joyful Gradients - Optimized for Positive Emotions */
    --gradient-hero: linear-gradient(135deg,
        var(--bright-orange) 0%,
        var(--sunshine-yellow) 50%,
        var(--lime-bright) 100%);

    --gradient-trust: linear-gradient(135deg,
        var(--trust-blue) 0%,
        var(--ocean-blue) 50%,
        var(--sky-blue) 100%);

    --gradient-warmth: linear-gradient(135deg,
        var(--coral-warm) 0%,
        var(--bright-orange) 50%,
        var(--sunshine-yellow) 100%);

    --gradient-growth: linear-gradient(135deg,
        var(--lime-bright) 0%,
        var(--fresh-green) 50%,
        var(--mint-soft) 100%);

    --gradient-magic: linear-gradient(135deg,
        var(--purple-play) 0%,
        var(--lavender-soft) 50%,
        var(--pink-gentle) 100%);

    --gradient-rainbow: linear-gradient(135deg,
        var(--coral-warm) 0%,
        var(--sunshine-yellow) 20%,
        var(--lime-bright) 40%,
        var(--mint-soft) 60%,
        var(--sky-blue) 80%,
        var(--lavender-soft) 100%);

    /* Page-Specific Hero Gradients - Premium Design */
    --gradient-about: linear-gradient(135deg,
        #2E5C8A 0%,
        var(--trust-blue) 35%,
        var(--ocean-blue) 70%,
        var(--sky-blue) 100%);

    --gradient-contact: linear-gradient(135deg,
        #4CAF50 0%,
        var(--fresh-green) 35%,
        var(--lime-bright) 70%,
        var(--mint-soft) 100%);

    --gradient-gallery: linear-gradient(135deg,
        #7B2D8E 0%,
        var(--purple-play) 30%,
        var(--lavender-soft) 65%,
        #F8B4D9 100%);

    --gradient-donate: linear-gradient(135deg,
        var(--coral-warm) 0%,
        var(--bright-orange) 40%,
        var(--sunshine-yellow) 80%,
        #FFE17B 100%);

    /* Soft Overlay Gradients */
    --gradient-overlay: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(44, 62, 80, 0.7) 100%);

    /* Premium Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;

    /* Typography Scale */
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-lg: 1.125rem;    /* 18px */
    --font-size-xl: 1.25rem;     /* 20px */
    --font-size-2xl: 1.5rem;     /* 24px */
    --font-size-3xl: 1.875rem;   /* 30px */
    --font-size-4xl: 2.25rem;    /* 36px */
    --font-size-5xl: 3rem;       /* 48px */
    --font-size-6xl: 3.75rem;    /* 60px */

    /* Spacing System (8px base) */
    --space-1: 0.5rem;   /* 8px */
    --space-2: 1rem;     /* 16px */
    --space-3: 1.5rem;   /* 24px */
    --space-4: 2rem;     /* 32px */
    --space-5: 2.5rem;   /* 40px */
    --space-6: 3rem;     /* 48px */
    --space-8: 4rem;     /* 64px */
    --space-10: 5rem;    /* 80px */
    --space-12: 6rem;    /* 96px */
    --space-16: 8rem;    /* 128px */

    /* Section Padding */
    --section-padding: var(--space-10) 0;
    --container-padding: 0 var(--space-4);
    --container-max-width: 1280px;

    /* Border Radius - Extra Rounded for Child-Friendly Feel */
    --radius-sm: 0.75rem;    /* 12px */
    --radius-md: 1rem;       /* 16px */
    --radius-lg: 1.25rem;    /* 20px */
    --radius-xl: 1.75rem;    /* 28px */
    --radius-2xl: 2.5rem;    /* 40px */
    --radius-3xl: 3rem;      /* 48px */
    --radius-full: 9999px;

    /* Shadows - Soft, Colorful, Friendly */
    --shadow-xs: 0 2px 4px 0 rgba(74, 144, 226, 0.08);
    --shadow-sm: 0 2px 8px 0 rgba(74, 144, 226, 0.12);
    --shadow-md: 0 4px 12px -2px rgba(74, 144, 226, 0.15);
    --shadow-lg: 0 8px 20px -4px rgba(74, 144, 226, 0.18);
    --shadow-xl: 0 12px 28px -8px rgba(74, 144, 226, 0.22);
    --shadow-2xl: 0 20px 40px -12px rgba(74, 144, 226, 0.28);
    --shadow-warm: 0 8px 24px -4px rgba(255, 140, 66, 0.25);
    --shadow-success: 0 8px 24px -4px rgba(107, 207, 127, 0.25);
    --shadow-glow: 0 0 20px rgba(255, 217, 61, 0.4);

    /* Transitions */
    --transition-fast: all 0.15s ease;
    --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);

    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: var(--font-size-base);
    overflow-x: hidden;
    background: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Joyful Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 217, 61, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(107, 207, 127, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 20% 75%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 85%, rgba(248, 180, 217, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(255, 140, 66, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 30s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

body > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
    line-height: 1.8;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    z-index: 2000;
    transition: var(--transition);
}

.skip-link:focus {
    left: 10px;
    outline: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

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

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

ul {
    list-style: none;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.impact .section-intro {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.text-muted {
    color: var(--text-light);
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.card-link:hover {
    color: var(--secondary-color);
}

/* ============================================
   Header & Navigation - Playful & Welcoming
   ============================================ */
.header {
    background: linear-gradient(to right, var(--warm-white) 0%, var(--white) 50%, var(--cream-soft) 100%);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    border-image: var(--gradient-rainbow) 1;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-rainbow);
    opacity: 0.5;
}

.header.scrolled {
    box-shadow: var(--shadow-2xl);
}

.navbar {
    padding: var(--space-2) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream-soft) 100%);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-xl);
    box-shadow:
        0 4px 20px rgba(74, 144, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    border: 2px solid transparent;
    background-image:
        linear-gradient(135deg, var(--white) 0%, var(--cream-soft) 100%),
        var(--gradient-rainbow);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.logo:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(74, 144, 226, 0.3),
        0 0 20px rgba(255, 217, 61, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.logo a {
    display: flex;
    align-items: center;
    line-height: 0;
    transition: var(--transition);
}

.logo a:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter:
        brightness(1.05)
        saturate(1.3)
        drop-shadow(0 2px 8px rgba(74, 144, 226, 0.15))
        drop-shadow(0 4px 15px rgba(255, 217, 61, 0.1));
    position: relative;
}

.logo:hover .logo-image {
    filter:
        brightness(1.1)
        saturate(1.4)
        drop-shadow(0 4px 12px rgba(74, 144, 226, 0.25))
        drop-shadow(0 6px 20px rgba(255, 217, 61, 0.2));
    transform: scale(1.05);
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    background: var(--gradient-warmth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    margin: 0;
    margin-left: var(--space-2);
    letter-spacing: -0.02em;
    position: relative;
}

.logo h1::after {
    content: '✨';
    position: absolute;
    right: -28px;
    top: -8px;
    font-size: 1.2rem;
    animation: sparkleFloat 3s ease-in-out infinite;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-3px) rotate(15deg) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translateY(-6px) rotate(0deg) scale(1.2);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-3px) rotate(-15deg) scale(1.1);
        opacity: 1;
    }
}

.nav-menu {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 700;
    font-size: var(--font-size-sm);
    position: relative;
    padding: var(--space-1) 0;
    letter-spacing: 0.01em;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--bright-orange);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-warmth);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-donate {
    background: var(--gradient-warmth) !important;
    color: var(--white) !important;
    padding: var(--space-2) var(--space-4) !important;
    border-radius: var(--radius-full);
    font-weight: 800;
    box-shadow: var(--shadow-warm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.btn-donate::before {
    content: '❤️';
    position: absolute;
    left: 8px;
    font-size: 1rem;
    animation: heartbeat 2s ease-in-out infinite;
}

.btn-donate::after {
    display: none;
}

.btn-donate:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    animation: buttonPulse 1.5s ease-in-out infinite;
}

.language-selector {
    position: relative;
}

.language-selector::before {
    content: '🌍';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.language-selector select {
    padding: var(--space-1) var(--space-2) var(--space-1) var(--space-6);
    border: 2px solid var(--grey-light);
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--text-primary);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    box-shadow: var(--shadow-sm);
    appearance: none;
    padding-right: var(--space-4);
}

.language-selector select:hover {
    border-color: var(--trust-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--trust-blue);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: var(--gradient-warmth);
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle span {
    width: 30px;
    height: 4px;
    background: var(--white);
    margin: 3px 0;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

/* ============================================
   Hero Section - Joyful, Warm & Emotionally Engaging
   ============================================ */
.hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: var(--space-16) 0;
    min-height: 650px;
    display: flex;
    align-items: center;
}

/* Playful Floating Shapes - Representing Children's Joy */
.hero::before {
    content: '🎨';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 8rem;
    opacity: 0.15;
    animation: floatDream 25s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '📚';
    position: absolute;
    bottom: 15%;
    right: 8%;
    font-size: 7rem;
    opacity: 0.15;
    animation: floatDream 22s ease-in-out infinite reverse;
    z-index: 0;
}

/* Additional Floating Decorative Elements */
.hero .container::before {
    content: '✨';
    position: absolute;
    top: 25%;
    right: 15%;
    font-size: 5rem;
    opacity: 0.2;
    animation: twinkle 3s ease-in-out infinite;
    z-index: 0;
}

.hero .container::after {
    content: '❤️';
    position: absolute;
    bottom: 30%;
    left: 10%;
    font-size: 6rem;
    opacity: 0.12;
    animation: heartbeat 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.4;
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.15);
    }
}

@keyframes floatDream {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        transform: translate(30px, -50px) rotate(5deg) scale(1.05);
        border-radius: 50% 50% 40% 60% / 50% 60% 40% 50%;
    }
    50% {
        transform: translate(-20px, -30px) rotate(-3deg) scale(0.98);
        border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%;
    }
    75% {
        transform: translate(15px, -40px) rotate(3deg) scale(1.02);
        border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translate(-30px, 40px) rotate(10deg);
        opacity: 1;
    }
}

@keyframes floatGentle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -25px) scale(1.1);
    }
    66% {
        transform: translate(-15px, 15px) scale(0.95);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-6xl);
    font-weight: 900;
    margin-bottom: var(--space-4);
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
    text-shadow:
        2px 2px 0px rgba(155, 89, 182, 0.4),
        4px 4px 0px rgba(74, 144, 226, 0.3),
        2px 2px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1), titleFloat 6s ease-in-out infinite;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-4);
    color: var(--white);
    font-weight: 600;
    text-shadow:
        1px 1px 0px rgba(255, 217, 61, 0.6),
        2px 2px 20px rgba(255, 217, 61, 0.4);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s backwards;
}

.hero-description {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-8);
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-5px) rotateX(2deg);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow:
            2px 2px 4px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(255, 215, 0, 0.4);
    }
    50% {
        text-shadow:
            2px 2px 4px rgba(0, 0, 0, 0.2),
            0 0 40px rgba(255, 215, 0, 0.6),
            0 0 60px rgba(255, 127, 80, 0.3);
    }
}

.hero-buttons {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

.hero-buttons .btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-lg);
    font-weight: 700;
    min-width: 180px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Buttons - Playful & Inviting
   ============================================ */
.btn {
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-block {
    width: 100%;
    padding: var(--space-4) var(--space-5);
}

.btn-primary {
    background: var(--gradient-warmth);
    color: var(--white);
    box-shadow: var(--shadow-warm);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    animation: buttonPulse 1.5s ease-in-out infinite;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    border: 3px solid var(--white);
    color: var(--white);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: var(--shadow-2xl), var(--shadow-glow);
    }
    50% {
        box-shadow: var(--shadow-2xl), 0 0 30px rgba(255, 217, 61, 0.6);
    }
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-warmth);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-2xl);
    z-index: var(--z-fixed);
    border: 4px solid var(--white);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    animation: buttonPulse 1.5s ease-in-out infinite;
}

/* ============================================
   Welcome Section
   ============================================ */
.welcome {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, var(--white) 0%, var(--cream-soft) 100%);
    position: relative;
    overflow: hidden;
}

.welcome::before {
    content: '🎈';
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 6rem;
    opacity: 0.08;
    animation: floatDream 15s ease-in-out infinite;
}

.welcome::after {
    content: '🌟';
    position: absolute;
    bottom: 10%;
    left: 5%;
    font-size: 5rem;
    opacity: 0.08;
    animation: twinkle 4s ease-in-out infinite;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.section-tag {
    display: inline-block;
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
    padding: var(--space-2) var(--space-5);
    background: var(--gradient-warmth);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-warm);
    animation: tagFloat 3s ease-in-out infinite;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    color: var(--text-primary);
    margin-top: var(--space-2);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    margin-bottom: var(--space-6);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: var(--gradient-rainbow);
    border-radius: var(--radius-full);
    animation: underlineGrow 2s ease-in-out infinite;
}

@keyframes underlineGrow {
    0%, 100% {
        width: 80px;
    }
    50% {
        width: 120px;
    }
}

.welcome-content {
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    gap: var(--space-10);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.welcome-logo-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-rainbow);
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(30px);
    animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.25;
        transform: scale(1.05);
    }
}

.welcome-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(74, 144, 226, 0.2));
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.welcome-logo:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 15px 40px rgba(74, 144, 226, 0.3));
}

.welcome-text p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    line-height: 1.8;
}

.welcome-text .lead {
    font-size: var(--font-size-2xl);
    background: var(--gradient-trust);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.welcome-text .emphasis {
    background: var(--gradient-warmth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: var(--font-size-xl);
    padding: var(--space-4);
    border-left: 6px solid var(--sunshine-yellow);
    background-color: rgba(255, 217, 61, 0.05);
    border-radius: var(--radius-md);
    display: block;
    margin-top: var(--space-5);
}

.welcome-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(44, 95, 141, 0.2);
}

.image-placeholder svg {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    opacity: 0.9;
}

.image-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* ============================================
   Matching Campaign - Urgency & Scarcity
   ============================================ */
.matching-campaign {
    padding: var(--space-12) 0;
    background: linear-gradient(135deg, var(--sunshine-yellow) 0%, var(--bright-orange) 100%);
    position: relative;
    overflow: hidden;
}

.matching-campaign::before {
    content: '🎉';
    position: absolute;
    top: -5%;
    left: 5%;
    font-size: 12rem;
    opacity: 0.1;
    animation: floatDream 20s ease-in-out infinite;
}

.matching-campaign::after {
    content: '💝';
    position: absolute;
    bottom: -5%;
    right: 5%;
    font-size: 10rem;
    opacity: 0.1;
    animation: heartbeat 4s ease-in-out infinite;
}

.campaign-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.campaign-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bright-orange);
    font-weight: 900;
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-lg);
    letter-spacing: 0.1em;
    animation: badgePulse 2s ease-in-out infinite;
}

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

.campaign-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-4);
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
}

.campaign-text {
    font-size: var(--font-size-2xl);
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.campaign-progress {
    background: rgba(255, 255, 255, 0.3);
    padding: var(--space-5);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-4);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-growth);
    border-radius: var(--radius-full);
    box-shadow: 0 0 20px rgba(107, 207, 127, 0.6);
    transition: width 1s ease-out;
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(107, 207, 127, 0.6);
    }
    50% {
        box-shadow: 0 0 30px rgba(107, 207, 127, 0.9);
    }
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-lg);
    color: var(--white);
    font-weight: 600;
}

.btn-large {
    font-size: var(--font-size-2xl);
    padding: var(--space-5) var(--space-10);
    box-shadow: var(--shadow-2xl);
}

.campaign-note {
    margin-top: var(--space-4);
    font-size: var(--font-size-lg);
    color: var(--white);
    font-weight: 500;
}

/* ============================================
   Mission Section
   ============================================ */
.mission {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, var(--cream-soft) 0%, var(--white) 50%, var(--grey-light) 100%);
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '🎯';
    position: absolute;
    top: 8%;
    left: 3%;
    font-size: 7rem;
    opacity: 0.06;
    animation: floatDream 18s ease-in-out infinite;
}

.mission::after {
    content: '💫';
    position: absolute;
    bottom: 8%;
    right: 3%;
    font-size: 6rem;
    opacity: 0.06;
    animation: twinkle 5s ease-in-out infinite;
}

.mission .section-header {
    position: relative;
    z-index: 1;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
    position: relative;
    z-index: 1;
}

.mission-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-3xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    border: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-rainbow);
    opacity: 0.05;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.mission-card:hover::before {
    opacity: 0.12;
}

.mission-card:nth-child(1):hover {
    border-color: var(--trust-blue);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(74, 144, 226, 0.3);
}

.mission-card:nth-child(2):hover {
    border-color: var(--fresh-green);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(107, 207, 127, 0.3);
}

.mission-card:nth-child(3):hover {
    border-color: var(--coral-warm);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 107, 107, 0.3);
}

.mission-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.mission-card > * {
    position: relative;
    z-index: 1;
}

.mission-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card:nth-child(1) .mission-icon {
    background: var(--gradient-trust);
}

.mission-card:nth-child(2) .mission-icon {
    background: var(--gradient-growth);
}

.mission-card:nth-child(3) .mission-icon {
    background: var(--gradient-warmth);
}

.mission-card:hover .mission-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--shadow-2xl);
}

.mission-icon svg {
    width: 40px;
    height: 40px;
}

.mission-card h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    font-weight: 700;
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: var(--font-size-base);
}

/* ============================================
   Impact Section - Children's Statistics
   ============================================ */
.impact {
    padding: var(--space-16) 0;
    background: var(--gradient-trust);
    position: relative;
    overflow: hidden;
}

.impact::before {
    content: '🌟';
    position: absolute;
    top: 5%;
    right: 10%;
    font-size: 10rem;
    opacity: 0.1;
    animation: twinkle 4s ease-in-out infinite;
}

.impact::after {
    content: '🎯';
    position: absolute;
    bottom: 10%;
    left: 8%;
    font-size: 8rem;
    opacity: 0.1;
    animation: floatGentle 20s ease-in-out infinite;
}

.impact .section-header {
    position: relative;
    z-index: 1;
}

.impact .section-header h2,
.impact .section-header .section-tag {
    color: var(--white);
}

.impact .section-header h2 {
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

.impact .section-tag {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.impact-stat {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-3xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.impact-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--gradient-rainbow);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.impact-stat:hover::before {
    opacity: 1;
}

.impact-stat:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-warmth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-3);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    font-family: var(--font-heading);
}

.impact-stat p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   How You Can Help Section
   ============================================ */
.help-section {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, var(--white) 0%, var(--cream-soft) 100%);
    position: relative;
    overflow: hidden;
}

.help-section::before {
    content: '🙌';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 8rem;
    opacity: 0.05;
    animation: floatGentle 20s ease-in-out infinite;
}

.help-section::after {
    content: '🌺';
    position: absolute;
    bottom: 10%;
    left: 5%;
    font-size: 7rem;
    opacity: 0.05;
    animation: floatDream 22s ease-in-out infinite;
}

.help-section .section-header {
    position: relative;
    z-index: 1;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.help-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-3xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    border: 4px solid var(--grey-light);
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-rainbow);
    opacity: 0.03;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.help-card:hover::before {
    opacity: 0.1;
}

.help-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--bright-orange);
}

.help-card > * {
    position: relative;
    z-index: 1;
}

.help-icon {
    font-size: 5rem;
    margin-bottom: var(--space-4);
    display: inline-block;
    animation: iconBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.help-card:nth-child(1) .help-icon {
    animation-delay: 0s;
}

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

.help-card:nth-child(3) .help-icon {
    animation-delay: 0.4s;
}

.help-card:nth-child(4) .help-icon {
    animation-delay: 0.6s;
}

.help-card h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    font-weight: 700;
}

.help-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: var(--font-size-base);
    margin-bottom: var(--space-4);
}

.help-card .card-link {
    display: inline-block;
    margin-top: var(--space-2);
    color: var(--logo-deep-blue);
    font-weight: 700;
    font-size: var(--font-size-lg);
    transition: var(--transition);
}

.help-card:hover .card-link {
    color: var(--child-sunshine);
    transform: translateX(5px);
}

/* ============================================
   Testimonials & Social Proof
   ============================================ */
.testimonials {
    padding: var(--space-16) 0;
    background: linear-gradient(to bottom, var(--grey-light) 0%, var(--white) 50%, var(--cream-soft) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '💬';
    position: absolute;
    top: 5%;
    left: 3%;
    font-size: 8rem;
    opacity: 0.05;
    animation: floatGentle 18s ease-in-out infinite;
}

.testimonials::after {
    content: '⭐';
    position: absolute;
    bottom: 5%;
    right: 3%;
    font-size: 9rem;
    opacity: 0.05;
    animation: twinkle 4s ease-in-out infinite;
}

.testimonials .section-header {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
    margin-bottom: var(--space-12);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--grey-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 8rem;
    color: var(--grey-light);
    font-family: Georgia, serif;
    line-height: 0.8;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--sunshine-yellow);
}

.testimonial-image-placeholder {
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-magic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-md);
}

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

.stars {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
}

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

.testimonial-author {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.testimonial-tag {
    display: inline-block;
    background: var(--gradient-growth);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    padding: var(--space-8);
    background: var(--grey-light);
    border-radius: var(--radius-3xl);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-align: left;
}

.badge-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-warmth);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.badge-text strong {
    display: block;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.badge-text p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Newsletter / CTA Section
   ============================================ */
.newsletter {
    padding: var(--space-16) 0;
    background: var(--gradient-magic);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '✉️';
    position: absolute;
    top: 10%;
    left: 8%;
    font-size: 10rem;
    opacity: 0.1;
    animation: floatGentle 18s ease-in-out infinite;
    z-index: 0;
}

.newsletter::after {
    content: '🌈';
    position: absolute;
    bottom: 15%;
    right: 8%;
    font-size: 12rem;
    opacity: 0.1;
    animation: floatDream 22s ease-in-out infinite;
    z-index: 0;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-4);
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.newsletter-content p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-6);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.newsletter-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-family: var(--font-primary);
}

.newsletter-form input:focus {
    outline: 2px solid var(--secondary-color);
}

.newsletter-form button {
    border: none;
}

.newsletter-disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* ============================================
   Footer - Warm & Inviting
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1a252f 0%, #2C3E50 100%);
    color: var(--white);
    padding: var(--space-12) 0 var(--space-6);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '⭐';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 8rem;
    opacity: 0.05;
    animation: twinkle 4s ease-in-out infinite;
}

.footer::after {
    content: '🌙';
    position: absolute;
    bottom: 10%;
    left: 5%;
    font-size: 7rem;
    opacity: 0.05;
    animation: floatGentle 20s ease-in-out infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-family: var(--font-heading);
    background: var(--gradient-warmth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
    font-size: var(--font-size-2xl);
    font-weight: 900;
}

.footer-section h4 {
    color: #FFD93D;
    margin-bottom: var(--space-4);
    font-size: var(--font-size-xl);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section p {
    line-height: 1.8;
    color: #FFFFFF;
    margin-bottom: var(--space-3);
    font-size: var(--font-size-base);
}

.footer-section a {
    color: #FFFFFF;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--sunshine-yellow);
    transform: translateX(5px);
}

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

.footer-links a {
    transition: var(--transition);
    padding: var(--space-1) 0;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--space-6);
    text-align: center;
    color: #FFFFFF;
    font-size: var(--font-size-base);
    position: relative;
    z-index: 1;
}

.footer-links-bottom {
    margin-top: var(--space-4);
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: #FFFFFF;
    transition: var(--transition);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
}

.footer-links-bottom a:hover {
    color: #FFD93D;
    background: rgba(255, 217, 61, 0.15);
}

.footer-links-bottom span {
    color: rgba(255, 255, 255, 0.5);
}

/* Resources Page Footer - Beige Theme */
.resources-page .footer {
    background: linear-gradient(135deg, #F5F5DC 0%, #FFF8DC 100%);
}

.resources-page .footer-section h3 {
    background: linear-gradient(135deg, #4A4A4A 0%, #2C2C2C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.resources-page .footer-section h4 {
    color: #3D3D3D;
    text-shadow: none;
}

.resources-page .footer-section p {
    color: #4A4A4A;
}

.resources-page .footer-section a {
    color: #4A4A4A;
}

.resources-page .footer-section a:hover {
    color: #1684C9;
}

.resources-page .footer-bottom {
    border-top: 2px solid rgba(74, 74, 74, 0.2);
    color: #4A4A4A;
}

.resources-page .footer-links-bottom a {
    color: #4A4A4A;
}

.resources-page .footer-links-bottom a:hover {
    color: #1684C9;
    background: rgba(22, 132, 201, 0.1);
}

.resources-page .footer-links-bottom span {
    color: rgba(74, 74, 74, 0.5);
}

/* Hide decorative emojis on resources page footer */
.resources-page .footer::before,
.resources-page .footer::after {
    display: none;
}

/* ============================================
   Page-Specific Styles
   ============================================ */

/* About Page */
.about-hero {
    background: var(--gradient-about);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -2px 40px rgba(0, 0, 0, 0.15);
}

.about-hero::before {
    content: '🤝';
    position: absolute;
    top: 30px;
    left: 10%;
    font-size: 4rem;
    opacity: 0.15;
    animation: floatDream 8s ease-in-out infinite;
}

.about-hero::after {
    content: '✨';
    position: absolute;
    bottom: 40px;
    right: 15%;
    font-size: 3.5rem;
    opacity: 0.2;
    animation: twinkle 4s ease-in-out infinite;
}

.about-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.25);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.about-hero p {
    color: var(--sunshine-yellow);
    font-size: 1.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page Hero - Welcoming Green */
.contact-hero {
    background: var(--gradient-contact);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -2px 40px rgba(0, 0, 0, 0.12);
}

.contact-hero::before {
    content: '📧';
    position: absolute;
    top: 40px;
    right: 12%;
    font-size: 4rem;
    opacity: 0.15;
    animation: floatDream 7s ease-in-out infinite;
}

.contact-hero::after {
    content: '💬';
    position: absolute;
    bottom: 50px;
    left: 10%;
    font-size: 3.5rem;
    opacity: 0.18;
    animation: iconBounce 5s ease-in-out infinite;
}

.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.contact-hero p {
    color: var(--cream-soft);
    font-size: 1.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
}

/* Gallery Page Hero - Creative Purple-Pink */
.gallery-hero {
    background: var(--gradient-gallery);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -2px 40px rgba(0, 0, 0, 0.2);
}

.gallery-hero::before {
    content: '🎨';
    position: absolute;
    top: 35px;
    left: 8%;
    font-size: 4.5rem;
    opacity: 0.15;
    animation: iconBounce 6s ease-in-out infinite;
}

.gallery-hero::after {
    content: '📸';
    position: absolute;
    bottom: 45px;
    right: 10%;
    font-size: 4rem;
    opacity: 0.18;
    animation: floatDream 8s ease-in-out infinite;
}

.gallery-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.gallery-hero p {
    color: var(--sunshine-yellow);
    font-size: 1.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.about-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Contact Page */
.contact-section {
    padding: var(--section-padding);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-wrapper,
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.contact-form-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-info-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.contact-info-cta p {
    margin-bottom: 1rem;
}

.section-alt {
    background: var(--light-color);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-group-label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.donation-amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.donate-amount-btn {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    background: var(--white);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.donate-amount-btn:hover,
.donate-amount-btn:focus {
    border-color: var(--primary-color);
}

.donate-amount-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(44, 95, 141, 0.2);
}

.custom-amount-group {
    display: none;
}

.custom-amount-group.is-visible {
    display: block;
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.form-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.bank-transfer-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    max-width: 700px;
    margin: 2rem auto;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.gallery-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.7;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.location-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
    margin-top: 2rem;
}

.location-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
}

.location-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.location-description {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.location-address {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Donate Page */
/* Donate Page Hero - Energetic Warm Gradient */
.donate-hero {
    background: var(--gradient-donate);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -2px 40px rgba(0, 0, 0, 0.15);
}

.donate-hero::before {
    content: '❤️';
    position: absolute;
    top: 40px;
    left: 12%;
    font-size: 4.5rem;
    opacity: 0.2;
    animation: heartbeat 3s ease-in-out infinite;
}

.donate-hero::after {
    content: '🎁';
    position: absolute;
    bottom: 50px;
    right: 15%;
    font-size: 4rem;
    opacity: 0.18;
    animation: iconBounce 5s ease-in-out infinite;
}

.donate-hero .container {
    position: relative;
    z-index: 1;
}

.donate-hero h1 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.donate-hero p {
    color: var(--white);
    font-size: 1.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.donate-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.donate-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.donate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.donate-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.donate-card .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Smooth scroll for all browsers */
html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    :root {
        --font-size-6xl: 2.5rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --space-16: 4rem;
        --space-12: 3rem;
    }

    .logo {
        padding: var(--space-1) var(--space-2);
    }

    .logo h1 {
        font-size: var(--font-size-base);
    }

    .logo h1::after {
        right: -22px;
        font-size: 1rem;
    }

    .logo-image {
        height: 40px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background: linear-gradient(to bottom, var(--white) 0%, var(--cream-soft) 100%);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-2xl);
        padding: var(--space-6) 0;
        gap: var(--space-4);
        z-index: var(--z-dropdown);
        border-top: 4px solid transparent;
        border-image: var(--gradient-rainbow) 1;
    }

    .nav-menu.active {
        left: 0;
    }

    .btn-donate::before {
        display: none;
    }

    .language-selector::before {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .language-selector select {
        text-align: center;
    }

    .hero {
        padding: var(--space-12) 0;
        min-height: 500px;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    .welcome-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .section-header h2 {
        font-size: var(--font-size-3xl);
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-content h2 {
        font-size: var(--font-size-4xl);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

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

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

    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--space-4);
    }

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

    .campaign-title {
        font-size: 2.5rem;
    }

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

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

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

@media (max-width: 480px) {
    :root {
        --font-size-6xl: 2rem;
        --font-size-5xl: 1.75rem;
        --font-size-4xl: 1.5rem;
        --font-size-3xl: 1.25rem;
        --font-size-2xl: 1.125rem;
        --space-16: 3rem;
        --space-12: 2rem;
        --space-10: 2rem;
    }

    .container {
        padding: 0 var(--space-3);
    }

    .logo {
        padding: 4px 8px;
    }

    .logo h1 {
        font-size: var(--font-size-sm);
        margin-left: var(--space-1);
    }

    .logo h1::after {
        right: -18px;
        top: -6px;
        font-size: 0.85rem;
    }

    .logo-image {
        height: 35px;
    }

    .hero {
        padding: var(--space-10) 0;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .section-header h2 {
        font-size: var(--font-size-2xl);
    }

    .mission-card {
        padding: var(--space-5);
    }

    .btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-size-sm);
    }

    .btn-large {
        font-size: var(--font-size-lg);
        padding: var(--space-4) var(--space-6);
    }

    .campaign-title {
        font-size: 2rem;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }

    .welcome-logo-wrapper::before {
        filter: blur(20px);
    }
}

/* ============================================
   Gallery Lightbox
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    font-weight: 300;
    transition: var(--transition);
    z-index: 10000;
    line-height: 1;
    user-select: none;
}

.lightbox-close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--white);
    padding: 40px 20px 20px;
    text-align: center;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.lightbox-caption p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .lightbox-image {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 2.5rem;
    }

    .lightbox-caption {
        padding: 30px 15px 15px;
    }

    .lightbox-caption h3 {
        font-size: 1.2rem;
    }

    .lightbox-caption p {
        font-size: 0.9rem;
    }
}

/* ============================================
   Donation Modal
   ============================================ */
.donation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.donation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 999998;
}

.donation-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.donation-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000000;
}

.donation-modal-close:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.3);
}

.donation-modal-body {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 30px;
    padding: 40px 35px 35px;
}

.donation-impact-visual {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.donation-modal-form {
    display: flex;
    flex-direction: column;
}

/* Responsive modal */
@media (max-width: 968px) {
    .donation-modal-body {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px 25px 30px;
    }

    .donation-impact-visual {
        order: -1;
    }

    .donation-modal-content {
        max-height: 90vh;
    }

    .donation-modal-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .donation-modal {
        padding: 10px;
    }

    .donation-modal-body {
        padding: 40px 20px 25px;
        gap: 20px;
    }

    .donation-modal-content {
        max-height: 92vh;
    }
}

/* ============================================
   Book Purchase Section
   ============================================ */
.book-showcase {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.book-cover-container {
    position: relative;
}

.book-cover {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    aspect-ratio: 2/3;
}

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

.book-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4A90E2 0%, #5DADE2 100%);
}

.book-cover-placeholder svg {
    width: 100%;
    height: 100%;
}

.book-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #FFD93D 0%, #FF8C42 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-badge svg {
    width: 16px;
    height: 16px;
}

.book-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.book-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.book-publisher {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.book-price-section {
    background: linear-gradient(135deg, #E8F5FF 0%, #F0F8FF 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.book-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.book-description {
    color: var(--text-primary);
    line-height: 1.8;
}

.book-description p {
    margin-bottom: 15px;
}

.book-features {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.book-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.book-features .feature svg {
    color: var(--success-color);
    flex-shrink: 0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.book-notice {
    background: #FFF4E0;
    border-left: 4px solid #FFD93D;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Book Action Buttons */
.book-action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.book-action-buttons .btn-secondary {
    background: linear-gradient(135deg, #6B5B4E 0%, #8B7355 100%);
    border: none;
}

.book-action-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 91, 78, 0.3);
}

/* ============================================
   Book Preview Modal
   ============================================ */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    padding: 20px;
}

.preview-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.preview-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.preview-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.preview-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.preview-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.preview-info {
    background: linear-gradient(135deg, #E8F5FF 0%, #F0F8FF 100%);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.preview-info p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.preview-pdf-container {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.preview-pdf-container iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    display: block;
}

.preview-fallback {
    padding: 40px;
    text-align: center;
    background: white;
    border: 2px dashed #ddd;
    border-radius: 8px;
}

.preview-fallback p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.preview-fallback a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.preview-cta {
    background: linear-gradient(135deg, #FFF4E0 0%, #FFF8E8 100%);
    border-left: 4px solid #FFD93D;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.preview-cta p {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.preview-cta .btn-primary {
    max-width: 300px;
    margin: 0 auto;
}

/* ============================================
   Social Proof Stats
   ============================================ */
.social-proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #e8e8e8;
}

.social-proof-stats .stat {
    text-align: center;
    padding: 15px;
}

.social-proof-stats .stat h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-weight: 700;
}

.social-proof-stats .stat p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 100%);
    border-radius: 12px;
    border-left: 4px solid #FFD93D;
}

.testimonials-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0 0 30px 0;
}

.testimonial {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    color: #FFD93D;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial .quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin: 0 0 15px 0;
}

.testimonial .author {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

/* ============================================
   Urgency Banner
   ============================================ */
.urgency-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 30px;
    margin: 30px 0;
    background: linear-gradient(135deg, #FFF4E0 0%, #FFE8CC 100%);
    border: 2px solid #FFD93D;
    border-radius: 12px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 217, 61, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 217, 61, 0.5);
    }
}

.urgency-icon {
    font-size: 2rem;
}

.urgency-banner p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================================
   Social Share Section
   ============================================ */
.social-share-section {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #E8F5FF 0%, #F0F8FF 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    text-align: center;
}

.share-title {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.social-share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.linkedin {
    background: #0A66C2;
}

.share-btn.email {
    background: #EA4335;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    margin: 40px 0;
    padding: 40px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
}

.faq-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0 0 30px 0;
}

.faq-item {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

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

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   Authentication Modal
   ============================================ */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.auth-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.auth-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    color: var(--text-primary);
}

.auth-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-btn {
    color: #333;
}

.facebook-btn {
    color: #1877F2;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    color: #999;
    font-size: 0.9rem;
}

.auth-form {
    margin-bottom: 20px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.auth-form small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.auth-switch {
    text-align: center;
    margin: 20px 0 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-footer-text {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    line-height: 1.5;
    margin-top: 25px;
}

/* ============================================
   Responsive Design for Book Section
   ============================================ */
@media (max-width: 968px) {
    .book-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .book-cover-container {
        max-width: 300px;
        margin: 0 auto;
    }

    .book-title {
        font-size: 1.75rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .book-action-buttons {
        flex-direction: column;
    }

    .book-action-buttons .btn-secondary,
    .book-action-buttons .btn-primary {
        width: 100%;
    }

    .preview-modal {
        padding: 10px;
    }

    .preview-modal-content {
        max-height: 98vh;
        border-radius: 12px;
    }

    .preview-modal-header {
        padding: 20px;
    }

    .preview-modal-header h3 {
        font-size: 1.2rem;
    }

    .preview-modal-body {
        padding: 20px;
    }

    .preview-pdf-container iframe {
        min-height: 400px;
    }

    .preview-cta .btn-primary {
        width: 100%;
        max-width: none;
    }

    /* Responsive: Social Proof Stats */
    .social-proof-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    /* Responsive: Testimonials */
    .testimonials-section {
        padding: 25px;
    }

    .testimonials-section h3 {
        font-size: 1.5rem;
    }

    /* Responsive: Urgency Banner */
    .urgency-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    /* Responsive: Social Share */
    .social-share-buttons {
        flex-direction: column;
    }

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

    /* Responsive: FAQ */
    .faq-section {
        padding: 25px;
    }

    .faq-section h3 {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .auth-modal-content {
        padding: 30px 20px;
    }

    .book-title {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .preview-modal-header {
        padding: 15px;
    }

    .preview-modal-header h3 {
        font-size: 1.05rem;
    }

    .preview-modal-body {
        padding: 15px;
    }

    .preview-info,
    .preview-cta {
        padding: 15px;
    }

    .preview-pdf-container iframe {
        min-height: 300px;
    }

    /* Responsive 480px: Social Proof Stats */
    .social-proof-stats {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .social-proof-stats .stat h4 {
        font-size: 2rem;
    }

    /* Responsive 480px: Testimonials */
    .testimonials-section {
        padding: 20px 15px;
    }

    .testimonials-section h3 {
        font-size: 1.3rem;
    }

    .testimonial {
        padding: 20px;
    }

    /* Responsive 480px: Urgency */
    .urgency-banner {
        padding: 15px;
    }

    .urgency-banner p {
        font-size: 0.95rem;
    }

    /* Responsive 480px: FAQ */
    .faq-section {
        padding: 20px 15px;
    }

    .faq-section h3 {
        font-size: 1.3rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 12px;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}
