/* ========================================
   STEPS TO JANNAH - MODERN DESIGN SYSTEM 2025
   ======================================== */

/* Import responsive utilities for fluid typography and spacing */
@import url('responsive-utilities.css');

:root {
    /* STEPS TO JANNAH BRAND COLORS - High Contrast Palette for WCAG Compliance */
    /* Primary Evergreen - Growth, Renewal, Life (High Contrast) */
    --primary-evergreen: #264b32;
    --primary-evergreen-light: #3a6b4a;
    --primary-evergreen-lighter: #4e8b62;
    --primary-evergreen-dark: #1a3221;
    --primary-evergreen-darker: #0e1911;
    
    /* Primary Gold - Excellence, Wisdom, Warmth (Audit Recommended) */
    --primary-gold: #d2a642;
    --primary-gold-light: #e0b85a;
    --primary-gold-lighter: #edca72;
    --primary-gold-dark: #b8941c;
    --primary-gold-darker: #9a7d0f;
    
    /* Secondary Supporting Colors */
    --accent-warm: #d2a642;  /* Warm gold accent (audit spec) */
    --accent-sage: #7FA888;  /* Soft sage for highlights */
    --accent-deep: #264b32;  /* Deep evergreen for contrast */
    
    /* Background Colors (Audit Recommended) */
    --background-beige: #faf7f0;
    --background-cream: #fefcfa;
    --background-white: #ffffff;
    
    /* Modern Soft Neutrals - Adjusted for Better Contrast */
    --soft-gray-50: #FAFAF9;
    --soft-gray-100: #F5F5F4;
    --soft-gray-200: #E7E5E4;
    --soft-gray-300: #D6D3D1;
    --soft-gray-400: #A8A29E;
    --soft-gray-500: #78716C;
    --soft-gray-600: #57534E;
    --soft-gray-700: #44403C;
    --soft-gray-800: #292524;
    --soft-gray-900: #1C1917;
    
    /* Legacy Teal Variables - Map to Evergreen for Compatibility */
    --primary-teal: var(--primary-evergreen);
    --primary-teal-light: var(--primary-evergreen-light);
    --primary-teal-lighter: var(--primary-evergreen-lighter);
    --primary-teal-dark: var(--primary-evergreen-dark);
    --primary-teal-darker: var(--primary-evergreen-darker);
    
    /* Legacy Background Variables */
    --cream: var(--background-cream);
    --cream-light: var(--background-white);
    --warm-white: var(--background-beige);
    --warm-gray: #8B8680;
    --earth-tone: #B5A593;
    
    /* Brand Colors for Semantic Use */
    --brand-primary: var(--primary-gold);
    --brand-secondary: var(--primary-teal);
    --brand-accent: var(--accent-warm);
    
    /* Legacy aliases for compatibility */
    --gray-50: var(--soft-gray-50);
    --gray-100: var(--soft-gray-100);
    --gray-200: var(--soft-gray-200);
    --gray-300: var(--soft-gray-300);
    --gray-600: var(--soft-gray-600);
    --gray-700: var(--soft-gray-700);
    --gray-800: var(--soft-gray-800);
    --gray-900: var(--soft-gray-900);
    
    /* Pure Colors */
    --white: #FFFFFF;
    --black: #000000;
    
    /* Semantic Colors - Brand Aligned */
    --success: var(--primary-teal);
    --success-light: var(--primary-teal-light);
    --warning: var(--primary-gold);
    --warning-light: var(--primary-gold-light);
    --error: #D67B7B;
    --error-light: #E09898;
    
    /* Spacing System - 8px Grid */
    --space-1: 4px;   /* 0.25rem */
    --space-2: 8px;   /* 0.5rem */
    --space-3: 12px;  /* 0.75rem */
    --space-4: 16px;  /* 1rem */
    --space-6: 24px;  /* 1.5rem */
    --space-8: 32px;  /* 2rem */
    --space-10: 40px; /* 2.5rem */
    --space-12: 48px; /* 3rem */
    --space-16: 64px; /* 4rem */
    --space-20: 80px; /* 5rem */
    --space-24: 96px; /* 6rem */
    
    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-max: 1536px;
    
    /* Modern Design System 2025 */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 28px;
    --transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Simplified Shadow System for Performance */
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.18);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-gold: 0 4px 16px rgba(210, 166, 66, 0.2);
    --shadow-evergreen: 0 4px 16px rgba(38, 75, 50, 0.2);
    --shadow-teal: var(--shadow-evergreen); /* Legacy compatibility */
    
    /* Legacy shadow aliases */
    --box-shadow: var(--shadow-soft);
    --box-shadow-lg: var(--shadow-large);
    --box-shadow-xl: var(--shadow-xl);
    
    /* Premium Brand Gradient System - High Contrast */
    --gradient-primary: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-evergreen) 100%);
    --gradient-warm: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-warm) 100%);
    --gradient-cool: linear-gradient(135deg, var(--primary-evergreen) 0%, var(--primary-evergreen-dark) 100%);
    --gradient-subtle: linear-gradient(135deg, var(--background-beige) 0%, var(--background-cream) 100%);
    --gradient-hero: linear-gradient(135deg, 
        rgba(38, 75, 50, 0.95) 0%, 
        rgba(26, 50, 33, 0.98) 100%);
    --gradient-brand: linear-gradient(135deg, 
        var(--primary-gold) 0%, 
        var(--accent-warm) 35%,
        var(--primary-evergreen) 100%);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --backdrop-blur: blur(12px);
    
    /* Legacy Compatibility Variables - Map to Brand Colors */
    --primary-color: var(--primary-evergreen);  /* Deep green for active states */
    --primary-light: var(--primary-evergreen-light);
    --secondary-color: var(--soft-gray-200);  /* Light gray for inactive states */
    
    /* Premium Typography Gradients */
    --text-gradient-primary: linear-gradient(135deg, var(--primary-gold-dark), var(--primary-teal-dark));
    --text-gradient-brand: linear-gradient(135deg, var(--primary-gold), var(--primary-teal));
    --text-gradient-warm: linear-gradient(135deg, var(--primary-gold-dark), var(--accent-warm));
    --text-gradient-elegant: linear-gradient(135deg, var(--primary-teal-darker), var(--accent-deep));
}

/* ========================================
   BASE STYLES & RESET
   ======================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--soft-gray-800);
    background: var(--gradient-subtle);
    min-height: 100vh;
    font-size: var(--font-size-base, 1rem); /* Fluid base font size */
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Remove all section backgrounds for seamless flow */
section {
    background: transparent !important;
    background-color: transparent !important;
}

/* Premium watermark backdrop - GPU optimized */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 25%;
    transform: translate3d(-50%, -50%, 0) rotate(12deg); /* GPU accelerated */
    width: 100vmax; /* Reduced from 150vmax */
    height: 100vmax; /* Reduced from 150vmax */
    background-image: url('../stepstojannah-watermark.webp');
    background-size: 50%; /* Increased from 30% to 50% for better visibility */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08; /* Slightly increased from 0.06 for better visibility */
    z-index: -1;
    pointer-events: none;
    /* Removed mix-blend-mode for better performance */
    /* Using transform3d for GPU layer */
}

/* Removed body::after overlay - unnecessary performance hit */

/* Subtle background texture overlay - removed duplicate rule */

/* ========================================
   TYPOGRAPHY SYSTEM
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    background: var(--text-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
    position: relative;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    h1, h2, h3, h4, h5, h6 {
        color: var(--primary-teal-dark);
        background: none;
        -webkit-text-fill-color: initial;
    }
}

h1 {
    font-size: var(--font-size-5xl, clamp(42px, 5vw, 64px));
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg, var(--space-6));
    background: var(--text-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: var(--font-size-4xl, clamp(32px, 4vw, 44px));
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-lg, var(--space-6));
    position: relative;
    background: var(--text-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-warm);
    margin: var(--space-md, var(--space-4)) auto 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

h3 {
    font-size: var(--font-size-3xl, clamp(20px, 3vw, 28px));
    font-weight: 600;
    margin-bottom: var(--space-3);
}

h4 {
    font-size: var(--font-size-xl, 20px);
    font-weight: 500;
    margin-bottom: var(--space-sm, var(--space-3));
}

p {
    font-size: var(--font-size-base, 16px);
    line-height: 1.7;
    margin-bottom: var(--space-md, var(--space-4));
    color: var(--soft-gray-600);
    font-weight: 400;
}

.text-large {
    font-size: var(--font-size-lg, 18px);
    line-height: 1.7;
}

.text-small {
    font-size: var(--font-size-sm, 14px);
    line-height: 1.5;
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */

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

@media (min-width: 640px) {
    .container {
        padding: 0 var(--space-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-8);
    }
}

section {
    padding: var(--space-10) 0;
    position: relative;
    scroll-margin-top: 80px; /* Fixed header offset */
    contain: layout style paint; /* Performance isolation */
}

section:nth-child(even) {
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
}

section:nth-child(odd) {
    background: var(--white);
}

@media (max-width: 768px) {
    section {
        padding: var(--space-6) 0;
        scroll-margin-top: 80px; /* Fixed header offset */
    }
}

/* ========================================
   LINKS & INTERACTIONS
   ======================================== */

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

a:hover {
    color: var(--primary-teal-dark);
}

a:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========================================
   MODERN BUTTON SYSTEM
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md, var(--space-4)) var(--space-xl, var(--space-8));
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: var(--font-size-base, 16px);
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    gap: var(--space-sm, var(--space-2));
}

.btn:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Primary Button - Modern Call to Action */
.btn-primary {
    background: var(--primary-gold);
    color: var(--primary-evergreen-darker);
    border: 2px solid var(--primary-gold);
    box-shadow: var(--shadow-medium);
    position: relative;
    font-weight: 600;
    min-height: 44px;
    min-width: 120px;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--primary-gold-dark);
    border-color: var(--primary-gold-dark);
    color: var(--primary-evergreen-darker);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* Simplified for performance */
}

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

/* Secondary Button - Trust Building Alternative */
.btn-secondary {
    background: transparent;
    color: var(--primary-evergreen);
    border: 2px solid var(--primary-evergreen);
    backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-soft);
    font-weight: 600;
    min-height: 44px;
    min-width: 120px;
}

.btn-secondary:hover {
    background: var(--primary-evergreen);
    color: var(--white);
    border-color: var(--primary-evergreen-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-evergreen);
}

/* PayPal Button - Using site gold/evergreen colors */
.btn-paypal {
    background: var(--primary-gold) !important;
    color: var(--primary-evergreen-darker) !important;
    border: 2px solid var(--primary-gold) !important;
    box-shadow: var(--shadow-medium);
    font-weight: 600;
    min-height: 44px;
    min-width: 120px;
}

.btn-paypal:hover {
    background: var(--primary-gold-dark) !important;
    border-color: var(--primary-gold-dark) !important;
    color: var(--primary-evergreen-darker) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* Simplified for performance */
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: 14px;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 18px;
    font-weight: 600;
}

/* ========================================
   MODERN HEADER & NAVIGATION
   ======================================== */

header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    padding: var(--space-4) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

/* Header state when scrolled - enhanced drop shadow */
header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(38, 75, 50, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: var(--space-3) 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================
   LOGO INTEGRATION & BRANDING
   ======================================== */

.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: var(--space-2);
    border-radius: var(--border-radius);
}

.brand-logo:hover {
    transform: translateY(-1px);
    filter: drop-shadow(var(--shadow-soft));
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: var(--transition-fast);
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.15));
}

.brand-logo:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.25));
}

.brand-logo h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-evergreen);
    background: none;
    -webkit-text-fill-color: var(--primary-evergreen);
    -webkit-background-clip: border-box;
    background-clip: border-box;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Responsive Logo Adjustments */
@media (max-width: 768px) {
    .logo-image {
        width: 36px;
        height: 36px;
    }
    
    .brand-logo h1 {
        font-size: 1.3rem;
    }
    
    .brand-logo {
        gap: var(--space-2);
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 32px;
        height: 32px;
    }
    
    .brand-logo h1 {
        font-size: 1.2rem;
    }
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--primary-evergreen);
    background: none;
    -webkit-text-fill-color: var(--primary-evergreen);
    -webkit-background-clip: border-box;
    background-clip: border-box;
    letter-spacing: -0.02em;
}

/* Fallback for logo */
@supports not (-webkit-background-clip: text) {
    .logo h1 {
        color: var(--primary-evergreen);
        background: none;
        -webkit-text-fill-color: initial;
    }
}

.logo a {
    color: inherit;
}

.logo a:hover {
    color: var(--primary-gold-light);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    align-items: center;
}

nav ul li a {
    color: var(--soft-gray-700);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: var(--space-3) var(--space-4);
    transition: var(--transition);
    border-radius: var(--border-radius);
    text-decoration: none;
}

nav ul li a:hover {
    color: var(--primary-evergreen);
    background: rgba(38, 75, 50, 0.08);
}

/* Enhanced focus states for keyboard navigation */
nav ul li a:focus {
    outline: 3px solid var(--primary-gold);
    outline-offset: 3px;
    color: var(--primary-evergreen);
    background: rgba(210, 166, 66, 0.1);
    border-radius: var(--border-radius);
}

nav ul li a:focus:not(:focus-visible) {
    outline: none;
    background: transparent;
}

nav ul li a:focus-visible {
    outline: 3px solid var(--primary-gold);
    outline-offset: 3px;
    background: rgba(210, 166, 66, 0.1);
    border-radius: var(--border-radius);
}

/* Active page indicator - improved styling */
nav ul li a.active {
    color: var(--primary-evergreen);
    font-weight: 600;
    background: rgba(38, 75, 50, 0.08);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav ul li a:hover:after,
nav ul li a:focus:after {
    width: 30px;
}

nav ul li a.active:after {
    width: 30px;
    background: var(--primary-gold);
    height: 3px;
    box-shadow: 0 2px 4px rgba(210, 166, 66, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-3);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: transparent;
    border: none;
    position: relative;
}

.mobile-menu-toggle:hover {
    background-color: var(--gray-100);
}

/* Focus states for mobile toggle */
.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.mobile-menu-toggle:focus:not(:focus-visible) {
    outline: none;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--soft-gray-700);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ========================================
   MODERN HERO SECTION
   ======================================== */

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding: 140px 0 var(--space-20);
}

/* Hero background with full-bleed image */
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1596878433175-af65b7d17d89?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Hero section no longer needs its own backdrop - using site-wide backdrop */
/* Removed hero::before pseudo-element to prevent duplicate logos */

/* Semi-transparent overlay for text legibility */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 50, 33, 0.8) 0%,
        rgba(38, 75, 50, 0.85) 50%,
        rgba(26, 50, 33, 0.9) 100%
    );
    z-index: 3;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-down::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll-down 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes scroll-down {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 20px); }
}

#hero .container {
    position: relative;
    z-index: 4;
}

.hero-content {
    max-width: 600px;
    margin-bottom: var(--space-8);
    text-align: center;
}

.hero-content h2 {
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
    color: var(--white);
    text-align: center;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: var(--white);
    background-clip: initial;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-content h2:after {
    display: none; /* Remove the line for hero */
}

.hero-content p {
    font-size: 22px;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: var(--space-10);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-8);
}

/* Hide any orphaned toggle controls */
.hero-cta > *:not(.btn) {
    display: none !important;
}

/* Global section scroll offset fix */
section[id] {
    scroll-margin-top: 80px;
}

/* Tighter section spacing */
section {
    padding: var(--space-12) 0;
}

/* Specific adjustments for sections that need it */
#hero {
    padding: var(--space-8) 0;
}

#testimonials {
    padding: var(--space-6) 0;
}

/* Skip to content link - Accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: var(--space-3) var(--space-4);
    background: var(--primary-evergreen);
    color: var(--white);
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* Enhanced focus states for better accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--primary-gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(210, 166, 66, 0.1);
}

/* Remove default focus outlines */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
}

/* Hero button overrides */
#hero .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

#hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Video */
.hero-video {
    margin-top: var(--space-8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-xl);
    background: var(--gray-900);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
}

/* Responsive Design */
@media (min-width: 768px) {
    #hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: var(--space-8);
    }
    
    .hero-video {
        margin-top: var(--space-8);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: var(--space-8) 0 var(--space-6);
    }
    
    /* Hero backdrop removed - using site-wide backdrop */
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ========================================
   MISSION/ABOUT SECTION
   ======================================== */

#about {
    padding: var(--space-8) 0; /* Reduced from space-16 */
    background: var(--warm-white);
    position: relative;
    scroll-margin-top: 80px;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(143, 180, 163, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(232, 180, 184, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
}

.about-text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: var(--space-6);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-image {
    position: relative;
}

/* Hide image container if empty */
.about-image:empty,
.about-image:not(:has(img)) {
    display: none;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: var(--box-shadow-xl);
}

/* Stats Integration in Mission */
.mission-stats {
    background: var(--white);
    padding: var(--space-10);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin-top: var(--space-8);
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-16);
    }
    
    /* If there's an image, use two columns */
    .about-content:has(.about-image img) {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-text {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
}

/* ========================================
   IMPACT STATISTICS SECTION
   ======================================== */

#impact {
    padding: var(--space-8) 0; /* Reduced from space-16 */
    background: var(--white);
    scroll-margin-top: 80px;
}

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

.stat-item {
    text-align: center;
    padding: var(--space-12) var(--space-8);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(38, 75, 50, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Stat icon styling */
.stat-icon {
    font-size: 48px;
    color: var(--primary-gold);
    margin-bottom: var(--space-4);
    opacity: 0.8;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    opacity: 1;
    transform: scale(1.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(143, 180, 163, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-gold-light);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-number {
    font-size: 52px;
    font-weight: 700;
    color: var(--primary-evergreen-dark);  /* High contrast color */
    margin-bottom: var(--space-3);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    position: relative;
    z-index: 2;
    opacity: 1;  /* Ensure full opacity for WCAG compliance */
}

/* Fallback for stat numbers */
@supports not (-webkit-background-clip: text) {
    .stat-number {
        color: var(--primary-evergreen-dark);
        background: none;
        -webkit-text-fill-color: initial;
    }
}

.stat-label {
    font-size: 18px;
    color: var(--soft-gray-700);  /* Darker color for better contrast */
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 16px;
    }
}

/* ========================================
   PROJECTS SECTION
   ======================================== */

#projects,
#completed-projects-section {
    padding: var(--space-8) 0; /* Reduced from space-16 */
    background: var(--warm-white); /* Changed to match Our Mission section */
    scroll-margin-top: 80px;
}

.projects-wrapper {
    position: relative;
    padding: var(--space-8) 0;
}

.project-carousel {
    position: relative;
}

.carousel-wrapper {
    position: relative;
    margin: 0 var(--space-10);
}

.carousel-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: var(--space-6);
}

/* Modern Project Cards */
.project-card {
    flex: 0 0 calc(33.333% - var(--space-4));
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(143, 180, 163, 0.1);
    transition: var(--transition);
    position: relative;
    height: 450px; /* Fixed height for all cards */
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-gold-light);
}

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

/* Project Media */
.project-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.project-media img,
.project-media iframe,
.project-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

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

.project-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    color: var(--primary-teal);
}

.placeholder-icon svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
    margin-bottom: var(--space-2);
}

/* Project Content */
.project-content {
    padding: 1.5rem 1.5rem 1rem;
    height: 250px; /* Fixed height: 450px total - 200px media = 250px */
    position: relative;
}

.project-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    /* Limit title to 1 line */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
    /* Allow up to 4 lines of text */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    max-height: 6.4em; /* 4 lines * 1.6 line-height */
}

/* Project Actions */
.project-actions {
    display: flex;
    gap: 0.75rem;
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
}

.project-actions .btn {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    font-size: 14px;
    text-align: center;
}

.project-cta {
    background: var(--primary-teal);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    font-size: 14px;
}

.project-cta:hover {
    background: var(--primary-teal-dark);
    color: var(--white);
    transform: translateY(-1px);
}

/* ========================================
   MODERN DONATION SECTION
   ======================================== */

#donate {
    padding: var(--space-8) 0; /* Reduced from space-16 */
    background: var(--gradient-trust);
    color: var(--white);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}

#donate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-trust);
    z-index: 1;
}

#donate::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(232, 180, 184, 0.06) 0%, transparent 50%);
    z-index: 1;
}

#donate .container {
    position: relative;
    z-index: 2;
}

#donate h2 {
    color: var(--white);
    margin-bottom: var(--space-8);
}

#donate h2:after {
    background-color: var(--accent-orange);
}

.simple-donation-container {
    max-width: 600px;
    margin: 0 auto;
}

/* PayPal Branding Header */
.donation-form-container .paypal-header {
    text-align: center;
    margin-bottom: var(--space-8);
    padding: var(--space-6);
    background: linear-gradient(135deg, #264b32 0%, #1a3221 100%);
    border-radius: var(--border-radius-lg);
    color: var(--white);
}

.donation-form-container .paypal-header h3 {
    margin: 0 0 var(--space-2) 0;
    font-size: 24px;
    font-weight: 600;
    /* Override gradient effect - solid gold color */
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: var(--primary-gold-light) !important;
    background-clip: initial !important;
    color: var(--primary-gold-light) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.donation-form-container .paypal-header p {
    margin: 0;
    font-size: 16px;
    /* Use gold color for better visibility and consistency */
    color: var(--primary-gold-light) !important;
    opacity: 1;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Modern Donation Form */
.donation-form-container {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    color: var(--soft-gray-800);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: var(--backdrop-blur);
    position: relative;
}

.donation-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

/* ========================================
   MODERN FORM SYSTEM
   ======================================== */

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label,
.form-group legend {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.form-group .optional-label {
    font-weight: 400;
    font-size: 0.85em;
    color: var(--gray-500);
}

/* Remove default fieldset styling */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.form-input,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-4) var(--space-4);
    border: 2px solid var(--soft-gray-200);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: var(--white);
    color: var(--soft-gray-800);
    box-shadow: var(--shadow-inner);
}

.form-input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 3px solid var(--primary-gold);
    outline-offset: 0;
    border-color: var(--primary-evergreen);
    box-shadow: 
        var(--shadow-inner),
        0 0 0 4px rgba(210, 166, 66, 0.15);
    background: var(--cream-light);
}

/* Form validation states */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--error);
    background-color: rgba(214, 123, 123, 0.05);
}

.form-group input.success,
.form-group textarea.success {
    border-color: var(--success);
    background-color: rgba(38, 75, 50, 0.05);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    outline-color: var(--error);
    box-shadow: 0 0 0 4px rgba(214, 123, 123, 0.15);
}

.form-group input.success:focus,
.form-group textarea.success:focus {
    outline-color: var(--success);
    box-shadow: 0 0 0 4px rgba(38, 75, 50, 0.15);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right var(--space-3) center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: var(--space-10);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

/* Donation Amount Selection */
.donation-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.amount-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.amount-label {
    display: block;
    padding: 16px 20px;
    text-align: center;
    border: 2px solid var(--soft-gray-200);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-evergreen);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.amount-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(210, 166, 66, 0.1), transparent);
    transition: left 0.5s ease;
}

.amount-label:hover {
    border-color: var(--primary-gold);
    background: rgba(210, 166, 66, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.amount-label:hover::before {
    left: 100%;
}

.amount-radio:checked + .amount-label {
    background: var(--primary-gold);
    color: var(--primary-evergreen-darker);
    border-color: var(--primary-gold);
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.amount-radio:focus + .amount-label {
    outline: 3px solid var(--primary-gold);
    outline-offset: 3px;
}

.custom-amount-wrapper {
    margin-top: 12px;
}

.custom-amount-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-evergreen);
    transition: border-color 0.2s ease;
}

.custom-amount-input:focus {
    outline: none;
    border-color: var(--primary-evergreen);
    box-shadow: 0 0 0 3px rgba(38, 75, 50, 0.1);
}

/* Mobile responsive styles for donation amounts */
@media (max-width: 640px) {
    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .amount-label {
        padding: 14px 12px;
        font-size: 15px;
    }
}

/* Enhanced sticky donation form on mobile */
@media (max-width: 768px) {
    .donation-form-container {
        position: static;
        top: auto;
        z-index: auto;
        max-height: none;
        overflow: visible;
        /* keep visual style */
        background: var(--white);
        border-radius: var(--border-radius-lg);
        border: 1px solid var(--soft-gray-200);
        box-shadow: var(--shadow-xl);
    }

    /* Remove custom inner scrollbars */
    .donation-form-container::-webkit-scrollbar,
    .donation-form-container::-webkit-scrollbar-track,
    .donation-form-container::-webkit-scrollbar-thumb {
        display: none;
    }

    #donate {
        padding-bottom: var(--space-20);
    }
}

/* Donation Button - Site colors */
.btn-donate {
    width: 100%;
    background: var(--primary-gold) !important;
    color: var(--primary-evergreen-darker) !important;
    padding: 18px var(--space-6);
    border: 2px solid var(--primary-gold) !important;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.btn-donate:hover {
    background: var(--primary-gold-dark) !important;
    border-color: var(--primary-gold-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* Simplified for performance */
}

/* Success feedback animation */
.donation-success {
    display: none;
    animation: slideInUp 0.5s ease;
}

@media (max-width: 768px) {
    #donation-success.mobile-redirect-active {
        padding: 0;
    }

    .mobile-redirect-card {
        display: grid;
        grid-template-rows: auto auto;
        background: linear-gradient(135deg, #264b32 0%, #1a3221 100%);
        border-radius: 16px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        color: #ffffff;
        box-shadow: 0 12px 24px rgba(15, 35, 22, 0.25);
        overflow: hidden;
    }

    .mobile-redirect-card__content {
        padding: clamp(1rem, 4vw, 1.4rem);
        display: grid;
        gap: clamp(0.6rem, 3vw, 1rem);
        text-align: center;
    }

    .mobile-redirect-card__actions {
        display: grid;
        gap: 0.5rem;
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px)) 1rem;
        background: rgba(12, 26, 17, 0.75);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-redirect-card__icon {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        color: #f3d36b;
        filter: drop-shadow(0 4px 10px rgba(243, 211, 107, 0.35));
    }

    .mobile-redirect-card__title {
        margin: 0;
        font-size: clamp(1.2rem, 5vw, 1.45rem);
        font-family: 'Poppins', sans-serif;
        color: #ffd95a;
        letter-spacing: 0.015em;
        font-weight: 600;
        outline: none;
    }

    .mobile-redirect-card__body {
        margin: 0;
        font-size: clamp(0.92rem, 4vw, 1.05rem);
        line-height: 1.45;
        color: rgba(255, 255, 255, 0.88);
    }

    .mobile-redirect-card__details {
        display: grid;
        gap: 0.55rem;
        text-align: left;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 12px;
        padding: 0.75rem 0.85rem;
    }

    .mobile-redirect-card__details span {
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.8rem;
        font-weight: 500;
    }

    .mobile-redirect-card__details strong {
        font-size: clamp(0.95rem, 4.2vw, 1.05rem);
        font-weight: 600;
        word-break: break-word;
    }

    .mobile-redirect-card__status {
        min-height: 1.75rem;
        font-size: 0.9rem;
        text-align: left;
        padding: 0.65rem 0.75rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-redirect-card__status[data-tone="warning"] {
        background: rgba(255, 199, 92, 0.18);
        border-color: rgba(255, 199, 92, 0.35);
        color: #ffe2a2;
    }

    .mobile-redirect-card__status[data-tone="success"] {
        background: rgba(168, 213, 176, 0.16);
        border-color: rgba(168, 213, 176, 0.38);
        color: #def6e4;
    }

    .mobile-redirect-card__primary,
    .mobile-redirect-card__secondary {
        width: 100%;
        border-radius: 10px;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
    }

    .mobile-redirect-card__primary {
        background: #ffffff;
        color: #1a3221;
        border: none;
        box-shadow: 0 8px 20px rgba(14, 32, 20, 0.25);
    }

    .mobile-redirect-card__secondary {
        background: transparent;
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.35);
    }

    .mobile-redirect-card__link {
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: underline;
        font-size: 0.9rem;
        padding: 0.3rem;
    }
}

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

/* Success message styles */
.simple-redirect-message {
    animation: fadeInScale 0.4s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading state for form */
.donation-form-container.loading {
    position: relative;
    pointer-events: none;
}

.donation-form-container.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
}

/* Error message animation */
.donation-error {
    display: none;
    animation: shakeError 0.5s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* PayPal Benefits Section */
.paypal-benefits {
    text-align: center;
    margin-top: var(--space-10);
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.paypal-benefits h4 {
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    font-size: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
}

.benefit-item .icon {
    color: var(--primary-evergreen);
    font-size: 24px;
    margin-bottom: var(--space-2);
}

.benefit-item strong {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.benefit-item p {
    margin: 0;
    font-size: 14px;
    color: var(--gray-600);
}

.amount-options {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.amount-option {
    background-color: var(--soft-gray-100);
    border: 2px solid var(--soft-gray-300);
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--soft-gray-800);
    font-weight: 500;
}

.amount-option:hover:not(.active) {
    background-color: var(--soft-gray-200);
    border-color: var(--soft-gray-400);
    transform: translateY(-1px);
}

.amount-option.active {
    background-color: var(--primary-evergreen);
    color: var(--white);
    border-color: var(--primary-evergreen-dark);
    box-shadow: var(--shadow-soft);
}

.amount-option:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.btn-donate {
    width: 100%;
}

/* PayPal-themed donation button - Site colors */
.btn-donate-paypal {
    background: var(--primary-gold) !important;
    border-color: var(--primary-gold) !important;
    color: var(--primary-evergreen-darker) !important;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-donate-paypal:hover {
    background: var(--primary-gold-dark) !important;
    border-color: var(--primary-gold-dark) !important;
    color: var(--primary-evergreen-darker) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* Simplified for performance */
}

.donation-success,
.donation-error {
    display: none;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
}

.donation-success {
    background-color: rgba(67, 160, 71, 0.1);
    border: 1px solid var(--success);
}

.donation-error {
    background-color: rgba(229, 57, 53, 0.1);
    border: 1px solid var(--error);
}

/* Payment Method Selector - PayPal Only */
.payment-method-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-option label {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid var(--primary-evergreen);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9f5;
}

.payment-option input[type="radio"]:checked + label {
    border-color: var(--primary-evergreen);
    background-color: #f8f9f5;
    box-shadow: 0 0 0 2px rgba(26, 50, 33, 0.2);
}

.payment-option input[type="radio"]:disabled + label {
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.payment-option .payment-icon {
    font-size: 24px;
    margin-right: 15px;
}

.payment-option strong {
    display: block;
    margin-bottom: 2px;
    color: var(--primary-evergreen);
    font-weight: 600;
}

.payment-option small {
    color: #666;
    font-size: 12px;
}

@media (min-width: 768px) {
    .donation-container {
        flex-direction: row;
    }
    
    .progress-container,
    .donation-form-container {
        flex: 1;
    }
}

/* Enhanced Donation Flow Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pre-donation thank you styles */
.pre-donation-thank-you {
    position: relative;
    overflow: hidden;
}

.pre-donation-thank-you::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Button hover effects for enhanced donation flow */
.pre-donation-thank-you button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Mobile responsiveness for pre-donation thank you */
@media (max-width: 768px) {
    .pre-donation-thank-you {
        padding: 2rem 1rem !important;
    }
    
    .pre-donation-thank-you h2 {
        font-size: 2rem !important;
    }
    
    .pre-donation-thank-you .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .pre-donation-thank-you div[style*="display: flex"] {
        flex-direction: column !important;
    }
}

/* Updates Section */
.updates-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.update-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.update-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.update-title {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.update-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.update-content {
    padding: 1.5rem;
}

.update-media {
    margin-top: 1rem;
}

.update-content .update-description {
    white-space: pre-wrap;
    margin: 0;
}

.update-image img {
    border-radius: 8px;
    width: 100%;
}

.update-video {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.update-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.update-loader {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* ========================================
   PAYPAL GIVING FUND (PPGF) STYLE OVERRIDES
   Ensures PPGF interface matches site design
   ======================================== */

/* Override PPGF container fonts globally */
.ppgf-donation-widget,
.paypal-donation-container,
#paypal-donation-widget,
.paypal-giving-fund-widget,
iframe[src*="paypal"],
iframe[title*="PayPal"],
[class*="paypal-"],
[class*="ppgf-"] {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: var(--soft-gray-800) !important;
}

/* Override PayPal's green header with our evergreen */
.ppgf-header,
.paypal-header,
[class*="donate-header"],
.ppgf-donation-widget header,
.paypal-giving-fund-widget header {
    background: linear-gradient(135deg, var(--primary-evergreen), var(--primary-evergreen-dark)) !important;
    color: white !important;
    padding: 24px !important;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 2px 8px rgba(38, 75, 50, 0.15) !important;
}

/* PPGF Primary Buttons - Override PayPal's green with evergreen */
.ppgf-donate-button,
.paypal-donate-button,
.ppgf-donation-widget button[type="submit"],
.paypal-giving-fund-widget button[type="submit"],
.donate-button,
[class*="donate-btn"],
[class*="donation-submit"],
button.primary,
.btn-donate-ppgf {
    background: linear-gradient(135deg, var(--primary-evergreen), var(--primary-evergreen-dark)) !important;
    color: white !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(38, 75, 50, 0.2) !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    min-height: 48px !important;
}

.ppgf-donate-button:hover,
.paypal-donate-button:hover,
.ppgf-donation-widget button[type="submit"]:hover,
.donate-button:hover {
    background: linear-gradient(135deg, var(--primary-evergreen-light), var(--primary-evergreen)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(38, 75, 50, 0.3) !important;
}

/* PPGF Secondary Buttons - Continue as Guest */
.ppgf-button-secondary,
.guest-button,
.continue-as-guest,
[class*="guest-checkout"],
button.secondary,
.btn-guest {
    background: white !important;
    color: var(--primary-evergreen) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    padding: 12px 28px !important;
    border: 2px solid var(--primary-evergreen) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-height: 44px !important;
}

.ppgf-button-secondary:hover,
.guest-button:hover,
button.secondary:hover {
    background: var(--primary-evergreen) !important;
    color: white !important;
    border-color: var(--primary-evergreen) !important;
}

/* PPGF Input Fields */
.ppgf-donation-widget input[type="text"],
.ppgf-donation-widget input[type="email"],
.ppgf-donation-widget input[type="tel"],
.ppgf-donation-widget input[type="number"],
.ppgf-donation-widget select,
.ppgf-donation-widget textarea,
.paypal-donation-widget input,
.paypal-donation-widget select,
.paypal-giving-fund-widget input,
.paypal-giving-fund-widget select {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    color: var(--soft-gray-800) !important;
    background: white !important;
    border: 2px solid var(--soft-gray-200) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.ppgf-donation-widget input:focus,
.ppgf-donation-widget select:focus,
.paypal-donation-widget input:focus {
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 0 3px rgba(210, 166, 66, 0.1) !important;
}

/* PPGF Amount Selection Buttons */
.ppgf-amount-button,
.paypal-amount-option,
.donation-amount-button,
[class*="amount-option"],
[class*="amount-preset"] {
    background: white !important;
    color: var(--soft-gray-700) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    border: 2px solid var(--soft-gray-300) !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    margin: 4px !important;
}

.ppgf-amount-button:hover,
.paypal-amount-option:hover {
    border-color: var(--primary-gold) !important;
    background: var(--primary-gold-lighter) !important;
    color: var(--primary-gold-darker) !important;
}

.ppgf-amount-button.selected,
.paypal-amount-option.selected,
[class*="amount-option"].active,
[class*="amount-option"].selected {
    background: var(--primary-gold) !important;
    color: white !important;
    border-color: var(--primary-gold) !important;
    font-weight: 600 !important;
}

/* PPGF Headers and Text */
.ppgf-donation-widget h1,
.ppgf-donation-widget h2,
.ppgf-donation-widget h3,
.paypal-donation-widget h1,
.paypal-donation-widget h2,
.paypal-giving-fund-widget h1,
.paypal-giving-fund-widget h2,
.paypal-giving-fund-widget h3 {
    font-family: 'Poppins', sans-serif !important;
    color: var(--soft-gray-900) !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
}

.ppgf-donation-widget p,
.ppgf-donation-widget label,
.paypal-donation-widget p,
.paypal-donation-widget label,
.paypal-giving-fund-widget p,
.paypal-giving-fund-widget label {
    font-family: 'Inter', sans-serif !important;
    color: var(--soft-gray-700) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* PPGF Labels */
.ppgf-label,
.paypal-label,
.ppgf-donation-widget label,
.paypal-donation-widget label {
    font-weight: 600 !important;
    color: var(--soft-gray-800) !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* PPGF Links */
.ppgf-donation-widget a,
.paypal-donation-widget a,
.paypal-giving-fund-widget a {
    color: var(--primary-evergreen) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.ppgf-donation-widget a:hover,
.paypal-donation-widget a:hover {
    color: var(--primary-evergreen-light) !important;
    text-decoration: underline !important;
}

/* PPGF Error Messages */
.ppgf-error,
.paypal-error-message,
.ppgf-donation-widget [class*="error"],
.paypal-donation-widget [class*="error"] {
    background: #FEE2E2 !important;
    color: #991B1B !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid #FCA5A5 !important;
    font-weight: 500 !important;
}

/* PPGF Success Messages */
.ppgf-success,
.paypal-success-message,
.ppgf-donation-widget [class*="success"],
.paypal-donation-widget [class*="success"] {
    background: #D1FAE5 !important;
    color: #065F46 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid #10B981 !important;
    font-weight: 500 !important;
}

/* PPGF Checkboxes and Radio Buttons */
.ppgf-donation-widget input[type="checkbox"],
.ppgf-donation-widget input[type="radio"],
.paypal-donation-widget input[type="checkbox"],
.paypal-donation-widget input[type="radio"],
.paypal-giving-fund-widget input[type="checkbox"],
.paypal-giving-fund-widget input[type="radio"] {
    accent-color: var(--primary-evergreen) !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
    cursor: pointer !important;
}

/* PPGF Map/Location Section */
.ppgf-map,
.paypal-map,
[class*="location-map"],
[class*="map-container"] {
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 2px solid var(--soft-gray-200) !important;
    margin: 16px 0 !important;
}

/* PPGF Footer/Legal Text */
.ppgf-footer,
.paypal-footer,
[class*="legal-text"],
[class*="disclaimer"] {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: var(--soft-gray-600) !important;
    line-height: 1.5 !important;
    padding: 16px !important;
    background: var(--soft-gray-50) !important;
    border-top: 1px solid var(--soft-gray-200) !important;
}

/* PPGF Loading States */
.ppgf-loading,
.paypal-loading,
[class*="loading-overlay"] {
    background: rgba(255, 255, 255, 0.95) !important;
}

.ppgf-spinner,
.paypal-spinner,
[class*="loading-spinner"] {
    border: 3px solid var(--soft-gray-300) !important;
    border-top-color: var(--primary-evergreen) !important;
}

/* PPGF Modal Overlays */
.ppgf-modal,
.paypal-modal,
[class*="modal-dialog"] {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    font-family: 'Poppins', sans-serif !important;
}

/* PPGF Progress Bars */
.ppgf-progress,
.paypal-progress,
[class*="progress-bar"] {
    background: var(--soft-gray-200) !important;
    border-radius: 4px !important;
    height: 8px !important;
}

.ppgf-progress-fill,
.paypal-progress-fill,
[class*="progress-bar"] .fill {
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-light)) !important;
    height: 100% !important;
    transition: width 0.3s ease !important;
}

/* PPGF Focus States for Accessibility */
.ppgf-donation-widget *:focus-visible,
.paypal-donation-widget *:focus-visible,
.paypal-giving-fund-widget *:focus-visible {
    outline: 3px solid var(--primary-gold) !important;
    outline-offset: 2px !important;
}

/* Override inline styles with higher specificity */
[style*="color: green"] {
    color: var(--primary-evergreen) !important;
}

[style*="background: green"],
[style*="background-color: green"],
[style*="background:#00AB44"],
[style*="background: #00AB44"] {
    background: var(--primary-evergreen) !important;
}

/* Override PayPal's specific green colors */
[style*="background:#019CDE"],
[style*="background: #019CDE"] {
    background: var(--primary-evergreen-light) !important;
}

/* Ensure text readability */
.ppgf-donation-widget *,
.paypal-donation-widget *,
.paypal-giving-fund-widget * {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Override PayPal logo if needed */
.paypal-logo svg path {
    fill: var(--primary-evergreen) !important;
}

/* Mobile PPGF Adjustments */
@media (max-width: 768px) {
    .ppgf-donate-button,
    .paypal-donate-button,
    .ppgf-donation-widget button[type="submit"] {
        width: 100% !important;
        font-size: 18px !important;
        padding: 16px !important;
    }
    
    .ppgf-donation-widget input,
    .paypal-donation-widget input {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .ppgf-donation-widget input,
    .paypal-donation-widget input {
        border-width: 3px !important;
    }
    
    .ppgf-donate-button,
    .paypal-donate-button {
        background: var(--primary-evergreen-darker) !important;
    }
}

/* ========================================
   MODERN TESTIMONIALS SECTION
   ======================================== */

#testimonials {
    padding: var(--space-10) 0;
    background: var(--white);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-8);
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

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

.testimonial-content {
    background: var(--gray-50);
    padding: var(--space-12);
    border-radius: var(--border-radius-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--gray-200);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 72px;
    color: var(--accent-orange);
    position: absolute;
    top: -20px;
    left: var(--space-6);
    font-family: serif;
    line-height: 1;
    opacity: 0.7;
}

.testimonial-quote {
    font-size: 24px;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.5;
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 2;
}

.testimonial-author {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-teal);
}

/* Testimonial Navigation */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-10);
}

.prev-slide,
.next-slide {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 18px;
}

.prev-slide:hover,
.next-slide:hover {
    background: var(--primary-teal-dark);
    transform: scale(1.1);
}

.prev-slide,
.next-slide {
    background-color: var(--primary-evergreen);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.prev-slide:hover,
.next-slide:hover {
    background-color: var(--primary-dark);
}

/* Before & After Section */
.before-after-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.before-after-item {
    position: relative;
}

.before-image,
.after-image {
    position: relative;
    margin-bottom: 1rem;
}

.image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.before-after-caption {
    text-align: center;
    font-weight: 500;
}

/* ========================================
   MODERN CONTACT SECTION
   ======================================== */

#contact {
    padding: var(--space-8) 0; /* Reduced from space-16 */
    background: var(--warm-white);
    position: relative;
    scroll-margin-top: 80px;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(143, 180, 163, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(232, 180, 184, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

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

.contact-info {
    background: var(--white);
    padding: var(--space-10);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--gray-50);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-large);
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.contact-details p {
    color: var(--gray-600);
    margin: 0;
    font-size: 16px;
}

.contact-details a {
    color: var(--primary-teal);
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-teal-dark);
}

.contact-form-container {
    background: var(--white);
    padding: var(--space-10);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

/* ========================================
   MODERN FOOTER SECTION WITH BRAND INTEGRATION
   ======================================== */

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
}

.footer-logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.1));
}

.footer-logo h2,
.footer-brand-name {
    margin: 0;
    color: var(--primary-evergreen);
    background: none;
    -webkit-text-fill-color: var(--primary-evergreen);
    -webkit-background-clip: border-box;
    background-clip: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    display: inline-block;
}

/* ========================================
   MODERN FOOTER SECTION
   ======================================== */

footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-8) 0 var(--space-4);
}

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

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-6);
    color: var(--primary-evergreen);
    background: none;
    -webkit-text-fill-color: var(--primary-evergreen);
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

.footer-section p {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.footer-logo h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-evergreen);
    background: none;
    -webkit-text-fill-color: var(--primary-evergreen);
    -webkit-background-clip: border-box;
    background-clip: border-box;
    text-align: left;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-logo h2:after {
    display: none;
}

.footer-logo p {
    color: var(--gray-300);
    margin: 0;
    font-size: 16px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

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

/* Social Icons */
.social-icons {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

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

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--space-8);
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--gray-400);
    transition: var(--transition);
}

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

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Admin Page */
.admin-login-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.admin-dashboard {
    display: none;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-tab {
    padding: 10px 20px;
    background-color: var(--soft-gray-100);
    color: var(--soft-gray-700);
    border: 2px solid var(--soft-gray-200);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.admin-tab:hover:not(.active) {
    background-color: var(--soft-gray-200);
    border-color: var(--soft-gray-300);
    color: var(--soft-gray-800);
}

.admin-tab.active {
    background-color: var(--primary-evergreen);
    color: var(--white);
    border-color: var(--primary-evergreen-dark);
    box-shadow: var(--shadow-soft);
}

.admin-tab:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.admin-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.admin-form-group {
    margin-bottom: 1.5rem;
}

.media-upload-preview {
    margin-top: 1rem;
    max-width: 300px;
}

.media-upload-preview img {
    max-width: 100%;
    border-radius: 4px;
}

.donations-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.donations-table th,
.donations-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.donations-table th {
    background-color: var(--primary-evergreen);
    font-weight: 600;
    color: var(--white);
}

.donations-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Enhanced Button Styles */
.btn-edit, .btn-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 0.5rem;
}

.btn-edit {
    background-color: #2196f3;
    color: white;
}

.btn-edit:hover {
    background-color: #1976d2;
    transform: translateY(-1px);
}

.btn-delete {
    background-color: #f44336;
    color: white;
}

.btn-delete:hover {
    background-color: #d32f2f;
    transform: translateY(-1px);
}

/* Success and Error Messages */
.donation-success, .donation-error {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.donation-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.donation-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

/* Form Improvements */
.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Progress Indicator - commented out for PayPal Giving Fund integration
.progress-cell {
    min-width: 100px;
} */

/* Category and Priority Styling */
.category-water { color: #2196f3; }
.category-education { color: #ff9800; }
.category-healthcare { color: #f44336; }
.category-infrastructure { color: #9c27b0; }
.category-general { color: #607d8b; }

.priority-urgent { color: #f44336; font-weight: bold; }
.priority-high { color: #ff5722; }
.priority-normal { color: #9e9e9e; }
.priority-low { color: #b0bec5; }

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .project-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .amount-options {
        gap: 5px;
    }
    
    .amount-option {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Project Carousel Styles */
.projects-wrapper {
    position: relative;
    padding: 2rem 0;
}

.project-carousel {
    position: relative;
}

.carousel-wrapper {
    position: relative;
    margin: 0 40px;
}

.carousel-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
}

/* Note: Main .project-card styles defined earlier in file */

.project-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.project-media img,
.project-media iframe,
.project-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.project-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video Thumbnail with Play Button */
.project-video-thumbnail {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--soft-gray-100);
}

.project-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.project-video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-video-thumbnail:hover img {
    transform: scale(1.05);
}

.project-video-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(38, 75, 50, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-video-thumbnail:hover .play-button {
    background: var(--primary-gold);
    transform: translate(-50%, -50%) scale(1.1);
}

.project-video-thumbnail .play-button svg {
    width: 24px;
    height: 24px;
    color: var(--white);
    margin-left: 3px;
}

.project-video-thumbnail.playing iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Skeleton Loaders */
.project-card.skeleton {
    background: var(--soft-gray-50);
    cursor: default;
}

.skeleton-media {
    height: 200px;
    background: linear-gradient(90deg, var(--soft-gray-100) 25%, var(--soft-gray-200) 50%, var(--soft-gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-content {
    padding: var(--space-6);
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, var(--soft-gray-100) 25%, var(--soft-gray-200) 50%, var(--soft-gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    margin-bottom: var(--space-3);
    border-radius: 4px;
}

.skeleton-title {
    height: 24px;
    width: 70%;
}

.skeleton-line:nth-child(2) {
    width: 100%;
}

.skeleton-line:nth-child(3) {
    width: 85%;
}

.skeleton-buttons {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.skeleton-button {
    height: 40px;
    width: 100px;
    background: linear-gradient(90deg, var(--soft-gray-100) 25%, var(--soft-gray-200) 50%, var(--soft-gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--border-radius);
}

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

.project-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f8e5d6 100%);
    color: var(--primary-color);
}

.placeholder-icon svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
    margin-bottom: 0.5rem;
}

/* Note: Main .project-content styles defined earlier in file */

/* Project progress styles commented out for PayPal Giving Fund integration
.project-progress {
    margin: 1rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transition: width 0.5s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}
*/

.raised {
    font-weight: 600;
    color: var(--primary-color);
}

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

/* Note: Main .project-actions styles defined earlier in file */

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    z-index: 10;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-nav:focus {
    outline: 3px solid var(--primary-gold);
    outline-offset: 3px;
    border-color: var(--primary-evergreen);
}

.carousel-nav:focus:not(:focus-visible) {
    outline: none;
    border-color: transparent;
}

.carousel-nav:focus-visible {
    outline: 3px solid var(--primary-gold);
    outline-offset: 3px;
    border-color: var(--primary-evergreen);
}

.carousel-nav:hover {
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
    fill: var(--text-dark);
}

.carousel-prev {
    left: -50px;
}

.carousel-next {
    right: -50px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.indicator.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--primary-color);
}

/* Before/After Toggle */
.before-after-toggle {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.toggle-before-after {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.toggle-before-after:hover {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-close:hover {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-header {
    height: 300px;
    overflow: hidden;
}

.modal-header img,
.modal-header iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 2rem;
}

.modal-body h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.full-description {
    margin: 1.5rem 0;
    line-height: 1.8;
    color: var(--text-light);
}

.before-after-section {
    margin: 2rem 0;
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.before, .after {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.before img, .after img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.before span, .after span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem;
    text-align: center;
    font-weight: 500;
}

.project-updates {
    margin: 2rem 0;
}

.update-item {
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.update-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.update-item small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive Design for Carousel */
@media (max-width: 1024px) {
    .project-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 640px) {
    .project-card {
        flex: 0 0 100%;
    }
    
    .carousel-nav {
        display: none;
    }
    
    /* Note: project-actions keeps horizontal layout on mobile */
    
    .before-after-container {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
}

/* Image Placeholder */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.image-placeholder .placeholder-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

/* Admin Panel Enhancements */
.before-after-uploads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.upload-group {
    display: flex;
    flex-direction: column;
}

.upload-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.media-upload-preview {
    margin-top: 0.5rem;
    max-width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.media-upload-preview img,
.media-upload-preview video {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.form-help {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Enhanced Admin Tables */
.donations-table th:nth-child(2),
.donations-table th:nth-child(3),
.donations-table th:nth-child(4) {
    text-align: center;
}

.donations-table td:nth-child(2),
.donations-table td:nth-child(3),
.donations-table td:nth-child(4) {
    text-align: center;
}

/* Status Badge Styles */
.donations-table td:nth-child(2) {
    font-weight: 500;
}

.donations-table td:nth-child(2):contains('completed') {
    color: var(--success);
}

.donations-table td:nth-child(2):contains('ongoing') {
    color: var(--primary-color);
}

.donations-table td:nth-child(2):contains('planning') {
    color: #3498db;
}

.donations-table td:nth-child(2):contains('paused') {
    color: #f39c12;
}

/* PayPal Giving Fund Specific Styles */
.paypal-info-box {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c8e6c9;
    margin-bottom: 15px;
    font-size: 14px;
    color: #1b5e20;
}

.paypal-info-box strong {
    color: #2e7d32;
}

.paypal-security-notice {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #4caf50;
}

.paypal-security-notice .fa-shield-alt {
    color: #2e7d32;
}

/* Enhanced donation success styles for PayPal flow */
.donation-success h3 {
    color: #1e7d32;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.donation-success .fa-heart {
    color: #e74c3c;
}

/* PayPal button styling improvements - Site colors */
.proceed-to-paypal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-gold) !important;
    color: var(--primary-evergreen-darker) !important;
    border: 2px solid var(--primary-gold) !important;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    text-decoration: none;
}

.proceed-to-paypal:hover {
    background: var(--primary-gold-dark) !important;
    border-color: var(--primary-gold-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* Simplified for performance */
    color: var(--primary-evergreen-darker) !important;
}

.proceed-to-paypal .fab.fa-paypal {
    font-size: 1.2rem;
}

/* Amount information box styling */
.amount-info-box {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #c8e6c9;
    margin-bottom: 15px;
}

.amount-info-box p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #2e7d32;
}

.amount-info-box small {
    font-size: 14px;
    color: #1b5e20;
}

/* Loading state for forms */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading .btn-donate {
    position: relative;
}

.loading .btn-donate:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ======================================== */

/* Ensure touch targets are at least 48x48px for mobile accessibility */
@media (max-width: 768px) {
    .btn, button {
        min-height: 48px;
        padding: 12px 24px;
    }
    
    input, select, textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    /* Ensure clickable areas are large enough */
    a, .clickable {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    /* Better spacing for mobile */
    section {
        padding: 3rem 1rem;
    }
}

/* Enhanced Mobile Navigation */
@media (max-width: 767px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-4) 0;
        box-shadow: var(--box-shadow-lg);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: var(--space-2) 0;
    }
    
    nav ul li a {
        padding: var(--space-3) var(--space-4);
        display: block;
        border-radius: var(--border-radius);
        margin: 0 var(--space-4);
    }
    
    nav ul li a:hover {
        background: var(--gray-50);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Enhanced Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 10;
    color: var(--gray-600);
    font-size: 20px;
}

.carousel-nav:hover {
    background: var(--white);
    box-shadow: var(--box-shadow-lg);
    color: var(--primary-teal);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -60px;
}

.carousel-next {
    right: -60px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
}

.indicator {
    width: 8px;
    height: 8px;
    background: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent-orange);
}

/* Mobile Responsive Breakpoints */
@media (max-width: 1024px) {
    .project-card {
        flex: 0 0 calc(50% - var(--space-3));
    }
    
    .carousel-prev {
        left: -50px;
    }
    
    .carousel-next {
        right: -50px;
    }
}

@media (max-width: 768px) {
    /* Typography Scaling */
    h1 {
        font-size: clamp(32px, 5vw, 40px);
    }
    
    h2 {
        font-size: clamp(24px, 4vw, 28px);
    }
    
    /* Hero Mobile Optimizations */
    #hero {
        padding: var(--space-16) 0 var(--space-12);
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: clamp(28px, 6vw, 36px);
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    /* Navigation Mobile */
    .carousel-nav {
        display: none;
    }
    
    .carousel-wrapper {
        margin: 0;
    }
    
    /* Project Cards Mobile */
    .project-card {
        flex: 0 0 calc(100% - var(--space-4));
    }
    
    /* Note: project-actions keeps horizontal layout on mobile */
    
    /* Stats Mobile */
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    /* Donation Form Mobile */
    .donation-container {
        flex-direction: column;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 640px) {
    /* Ultra Mobile Optimizations */
    .container {
        padding: 0 var(--space-4);
    }
    
    /* Hero backdrop removed - using site-wide backdrop */
    
    section {
        padding: var(--space-12) 0;
    }
    
    /* Button Mobile */
    .btn {
        padding: var(--space-3) var(--space-6);
        font-size: 14px;
    }
    
    .btn-lg {
        padding: var(--space-4) var(--space-8);
        font-size: 16px;
    }
    
    /* Statistics Mobile */
    .impact-stats {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    /* Contact Mobile */
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    /* Form Mobile */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Skip Link - Improved Accessibility */
.skip-link {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: var(--primary-evergreen-darker);
    padding: var(--space-3) var(--space-6);
    text-decoration: none;
    z-index: 10000;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: top 0.3s ease;
    box-shadow: var(--shadow-large);
}

.skip-link:focus {
    top: 20px;
    outline: 3px solid var(--primary-evergreen);
    outline-offset: 3px;
}

/* Screen Reader Only */
.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;
}

/* Reduced Motion */
@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;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --box-shadow: 0 0 0 2px var(--gray-800);
        --box-shadow-lg: 0 0 0 3px var(--gray-800);
    }
    
    .btn {
        border: 2px solid;
    }
}

/* ========================================
   MODERN ANIMATIONS & MICRO-INTERACTIONS
   ======================================== */

/* Page Load Animation */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Interactive Elements */
.btn,
.card,
.stat-item {
    will-change: transform;
}

/* Loading States */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    header,
    .hero-video,
    .carousel-nav,
    .social-icons,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}
