/* =========================================
   TWAWEZA FOUNDATION - UNIFIED STYLESHEET
   ========================================= */

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Brand Colors */
    --primary-purple: #b721ff;
    --primary-red: #ff0039;
    --dark-blue: #1a2332;
    --medium-blue: #2c3e50;
    
    /* Neutrals */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border: #e1e8ed;
    --dark-gray: #1a1a1a;
    
    /* Gradients */
    --brand-gradient: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 10px 30px rgba(183, 33, 255, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--medium-blue);
    line-height: 1.7;
    background: linear-gradient(135deg, 
        rgba(247, 250, 252, 1) 0%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(252, 247, 253, 1) 100%
    );
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}



/* Subtle Pattern Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--primary-purple) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, var(--primary-red) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-blue);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}


/* =========================================
   2. UTILITIES & COMPONENTS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 6rem 0;
}

.relative {
    position: relative;
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub-heading {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-purple);
    display: block;
    margin-bottom: 1rem;
}

.sub-heading.light {
    color: rgba(255, 255, 255, 0.8);
}

.full-width {
    width: 100%;
}

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

.mb-large {
    margin-bottom: 3rem;
}

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

.text-white {
    color: white;
}

.text-white-dim {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}


/* =========================================
   3. BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(183, 33, 255, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 15px;
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
}


/* =========================================UNIFIED NAVIGATION STYLES
   Complete Header with Donation Button
   ========================================= */

/* Base Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 0.7rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation Container */
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo Styling */
.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(183, 33, 255, 0.03) 0%, rgba(255, 0, 57, 0.03) 100%);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, rgba(183, 33, 255, 0.08) 0%, rgba(255, 0, 57, 0.08) 100%);
    box-shadow: 0 4px 15px rgba(183, 33, 255, 0.1);
}

.logo svg {
    height: 60px;
    width: auto;
    max-width: 280px;
    transition: all 0.3s ease;
}

nav.scrolled .logo {
    padding: 0.3rem 0.8rem;
}

nav.scrolled .logo svg {
    height: 50px;
}

/* Desktop Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--medium-blue);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Donate Button - Always Visible */
.donate-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--brand-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(183, 33, 255, 0.35);
}

.donate-icon {
    font-size: 1.1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

nav.scrolled .donate-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: var(--primary-purple);
}

/* Mobile Menu Toggle Active State */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Mobile Menu Content */
.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: white;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 3rem;
    color: var(--dark-blue);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--primary-purple);
}

/* Mobile Navigation Links */
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 5rem 0 0 0;
}

.mobile-nav-links li {
    margin-bottom: 0;
}

.mobile-nav-links a {
    display: block;
    padding: 1.2rem 0;
    color: var(--dark-blue);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--primary-purple);
    padding-left: 1rem;
}

.mobile-donate-link {
    background: var(--brand-gradient);
    color: white !important;
    border-radius: 12px;
    margin-top: 1.5rem;
    text-align: center;
    border: none !important;
    padding: 1.5rem !important;
    font-size: 1.4rem !important;
}

.mobile-donate-link:hover {
    padding-left: 1.5rem !important;
    box-shadow: var(--shadow-glow);
}


/* =========================================
   OPTIONAL ENHANCEMENTS
   ========================================= */

/* Gradient line under header when scrolled */
nav.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-gradient);
    opacity: 0.3;
}

/* Accessibility: Focus states */
.nav-links a:focus,
.donate-btn:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus,
.mobile-nav-links a:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav {
        position: static;
        box-shadow: none;
    }
    
    .mobile-menu-toggle,
    .donate-btn {
        display: none;
    }
}

/* =========================================
   RESPONSIVE DESIGN (CONSOLIDATED)
   ========================================= */

@media (max-width: 1200px) {
    .logo svg {
        height: 55px;
        max-width: 240px;
    }
    
    nav.scrolled .logo svg {
        height: 45px;
    }
    
    .nav-links {
        gap: 2rem;
    }
    
    .donate-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 968px) {
    /* Hide desktop navigation */
    .nav-links {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Keep donate button visible but compact */
    .donate-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .donate-text {
        display: none;
    }
    
    .donate-icon {
        font-size: 1.3rem;
        margin: 0;
    }
    
    .logo svg {
        height: 50px;
        max-width: 200px;
    }
    
    nav.scrolled .logo svg {
        height: 42px;
    }
    
    nav.scrolled .donate-btn {
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.8rem 0;
    }
    
    nav.scrolled {
        padding: 0.6rem 0;
    }
    
    .logo {
        padding: 0.4rem 1rem;
    }
    
    .logo svg {
        height: 45px;
        max-width: 180px;
    }
    
    nav.scrolled .logo svg {
        height: 38px;
    }
    
    .nav-container {
        padding: 0 4%;
    }
    
    .donate-btn {
        padding: 8px 16px;
    }
    
    .mobile-menu-content {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .logo {
        padding: 0.3rem 0.8rem;
    }
    
    .logo svg {
        height: 40px;
        max-width: 160px;
    }
    
    nav.scrolled .logo svg {
        height: 35px;
    }
    
    .donate-btn {
        padding: 8px 14px;
    }
    
    .donate-icon {
        font-size: 1.2rem;
    }
    
    .mobile-menu-content {
        width: 100%;
        max-width: none;
    }
}
/* =========================================
   HERO SLIDER - ZERO SPACE VERSION
   Completely overhauled to sit flush with navbar
   ========================================= */

/* =========================================
   FIX: HERO SLIDER HALF DISPLAY ISSUE
   Problem: Slider only shows on left half
   ========================================= */

/* CRITICAL FIXES */

/* 1. Ensure Hero Takes Full Width */
.hero {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
    margin: 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* 2. Ensure Hero Slider Takes Full Width */
.hero-slider {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh;
    min-height: 700px;
    margin: 0;
    padding: 0;
}

/* 3. Ensure Each Slide Takes Full Width */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* 4. Ensure Background Takes Full Width */
.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: -1;
    overflow: hidden;
}

/* 5. Ensure Images Take Full Width */
.hero-slide-bg img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

/* 6. Fix Container Width Inside Hero */
.hero-slide .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* 7. Ensure Body/HTML Don't Cause Issues */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* 8. Remove Any Wrapper Constraints */
.hero-slider > * {
    max-width: none !important;
}

/* =========================================
   MOBILE SPECIFIC FIXES
   ========================================= */

@media (max-width: 768px) {
    .hero {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .hero-slider {
        width: 100vw !important;
        max-width: 100vw !important;
        min-height: 100vh;
    }
    
    .hero-slide {
        width: 100vw !important;
        max-width: 100vw !important;
    }
    
    .hero-slide-bg {
        width: 100vw !important;
        max-width: 100vw !important;
    }
    
    .hero-slide-bg img {
        width: 100vw !important;
        max-width: 100vw !important;
    }
    
    /* Ensure container doesn't overflow */
    .hero-slide .container {
        width: 100%;
        padding: 0 4%;
    }
}

/* =========================================
   DEBUGGING: REMOVE AFTER FIXING
   ========================================= */

/* Uncomment to see boundaries */
/*
.hero {
    border: 3px solid red !important;
}

.hero-slider {
    border: 3px solid blue !important;
}

.hero-slide {
    border: 3px solid green !important;
}

.hero-slide-bg {
    border: 3px solid yellow !important;
}
*/

/* Pill Tag */
.hero-content .pill-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-purple);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Heading */
.hero-content h1 {
    font-size: 3.8rem;
    margin: 0 0 1.5rem 0;
    padding: 0;
    line-height: 1.1;
    color: white;
    text-shadow: 0 3px 25px rgba(0, 0, 0, 0.6);
}

/* Gradient Text in Heading */
.hero-content .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

/* Hero Paragraph */
.hero-content p {
    font-size: 1.25rem;
    margin: 0 0 2.5rem 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Hero Actions Container */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

/* Donor Social Proof */
.donor-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.avatars {
    display: flex;
    margin: 0;
    padding: 0;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-gradient);
    border: 2px solid white;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.avatar:first-child {
    margin-left: 0;
}

.donor-text {
    color: white;
    font-size: 0.95rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    margin: 0;
    padding: 0;
}

.donor-text strong {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Dots Indicator */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    margin: 0;
    padding: 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    width: 40px;
    border-radius: 10px;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 968px) {
    .hero-slider {
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .slider-nav {
        width: 50px;
        height: 50px;
    }
    
    .slider-nav.prev {
        left: 15px;
    }
    
    .slider-nav.next {
        right: 15px;
    }
    
    /* Darker overlay for mobile */
    .hero-slide-bg::before {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 100%);
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 550px;
        height: auto;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .donor-social-proof {
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 20px;
        gap: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot.active {
        width: 30px;
    }
}

/* =========================================
   CRITICAL: Remove ALL Default Spacing
   ========================================= */

/* Ensure no browser defaults add space */
header.hero,
.hero-slider,
.hero-slide,
.hero-slide-bg {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure body has no margin that could create space */
body {
    margin: 0;
    padding: 0;
}

/* Ensure navbar doesn't have bottom margin */
nav {
    margin-bottom: 0 !important;
}

/* Hero must start at exact top edge */
.hero {
    position: relative;
    top: 0;
}



/* =========================================
   6. STATS BAR
   ========================================= */
.stats-bar {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.stat-item h3 {
    font-size: 2.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}


/* =========================================
   7. SECTIONS
   ========================================= */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}


/* =========================================
   8. CARDS (Causes)
   ========================================= */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}



/* =========================================
   10. CONTACT SECTION
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: var(--brand-gradient);
    padding: 3rem;
    color: white;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 3rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    transition: border 0.3s;
}

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

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


/* =========================================
   11. FORM SUBMISSION FEEDBACK
   ========================================= */
.loader {
    width: 18px;
    height: 18px;
    border: 2px solid var(--white);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    animation: rotation 1s linear infinite;
}

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

.success-content {
    text-align: center;
    padding: 30px;
    background: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.5s ease-out;
}

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

.checkmark-circle {
    width: 80px;
    height: 80px;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.checkmark-circle .background {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #4CAF50;
    position: absolute;
}

.checkmark:after {
    content: "";
    position: absolute;
    left: 22px;
    top: 42px;
    width: 18px;
    height: 35px;
    border: solid white;
    border-width: 0 5px 5px 0;
    transform: rotate(45deg);
    opacity: 0;
    animation: checkmark-draw 0.6s ease-in-out forwards;
    animation-delay: 0.2s;
}

@keyframes checkmark-draw {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }
    50% {
        height: 0;
        width: 18px;
        opacity: 1;
    }
    100% {
        height: 35px;
        width: 18px;
        opacity: 1;
    }
}


/* =========================================
   12. FOOTER
   ========================================= */
.main-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo svg {
    height: auto;
    max-width: 250px;
    margin-bottom: 15px;
}

.footer-logo-text {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo-text span {
    color: var(--primary-red);
}

.brand-desc {
    color: #cccccc;
    line-height: 1.6;
    max-width: 350px;
}

.footer-links h4 {
    color: var(--primary-purple);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ff5722;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}


/* =========================================
   13. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 968px) {
    .hero-grid,
    .impact-grid,
    .contact-wrapper,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

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

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
    }

    .brand-desc {
        margin: 0 auto;
    }

    .section-padding {
        padding: 4rem 0;
    }

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

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
}

/* =========================================
   DONATION POPUP STYLES
   ========================================= */

/* Popup Overlay */
.donation-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Popup Container */
.donation-popup {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.donation-popup-overlay.active .donation-popup {
    transform: scale(1);
}

/* Custom Scrollbar */
.donation-popup::-webkit-scrollbar {
    width: 8px;
}

.donation-popup::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.donation-popup::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 4px;
}

/* Close Button */
.donation-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.donation-popup-close:hover {
    background: rgba(183, 33, 255, 0.1);
    color: var(--primary-purple);
    transform: rotate(90deg);
}

/* Header */
.donation-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, rgba(183, 33, 255, 0.05) 0%, rgba(255, 0, 57, 0.05) 100%);
    border-radius: 20px 20px 0 0;
}

.donation-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.donation-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.donation-header p {
    color: var(--medium-blue);
    font-size: 1rem;
    opacity: 0.8;
}

/* Form */
.donation-form {
    padding: 30px;
}

.form-section {
    margin-bottom: 30px;
}

.section-label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

/* Amount Grid */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.amount-btn {
    padding: 15px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    border-color: var(--primary-purple);
    background: rgba(183, 33, 255, 0.05);
}

.amount-btn.active {
    border-color: var(--primary-purple);
    background: var(--brand-gradient);
    color: white;
}

/* Custom Amount */
.custom-amount-wrapper {
    margin-top: 15px;
    animation: slideDown 0.3s ease;
}

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

/* Selected Amount Display */
.selected-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(183, 33, 255, 0.1) 0%, rgba(255, 0, 57, 0.1) 100%);
    border-radius: 12px;
    margin-top: 15px;
}

.amount-label {
    font-weight: 600;
    color: var(--dark-blue);
}

.amount-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-method {
    cursor: pointer;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
}

.payment-method:hover .payment-card {
    border-color: var(--primary-purple);
    background: rgba(183, 33, 255, 0.02);
}

.payment-method input[type="radio"]:checked + .payment-card {
    border-color: var(--primary-purple);
    background: rgba(183, 33, 255, 0.05);
    box-shadow: 0 4px 15px rgba(183, 33, 255, 0.1);
}

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

.payment-info {
    display: flex;
    flex-direction: column;
}

.payment-info strong {
    color: var(--dark-blue);
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.payment-info span {
    color: var(--medium-blue);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Form Inputs */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(183, 33, 255, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

/* M-Pesa Instructions */
.mpesa-instructions {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.05) 0%, rgba(52, 168, 83, 0.1) 100%);
    border-left: 4px solid #34a853;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.instruction-box h4 {
    color: #34a853;
    font-size: 1rem;
    margin-bottom: 15px;
}

.instruction-box ol {
    margin-left: 20px;
    color: var(--dark-blue);
}

.instruction-box ol li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.instruction-box .note {
    margin-top: 15px;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--medium-blue);
}

/* Card Details */
.card-details {
    animation: slideDown 0.3s ease;
}

.security-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: rgba(52, 168, 83, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #34a853;
    margin-top: 15px;
}

/* Submit Button */
.btn-donate {
    width: 100%;
    padding: 18px;
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(183, 33, 255, 0.3);
    position: relative;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(183, 33, 255, 0.4);
}

.btn-donate:active {
    transform: translateY(0);
}

.btn-donate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.badge {
    font-size: 0.85rem;
    color: var(--medium-blue);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Success Message */
.donation-success {
    padding: 40px 30px;
    text-align: center;
}

.success-animation {
    animation: fadeIn 0.5s ease;
}

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

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #34a853;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.check-icon {
    font-size: 48px;
    color: white;
    font-weight: bold;
}

.donation-success h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.success-message {
    font-size: 1.1rem;
    color: var(--medium-blue);
    margin-bottom: 10px;
}

.success-detail {
    font-size: 0.95rem;
    color: var(--medium-blue);
    margin-bottom: 20px;
}

.impact-message {
    background: linear-gradient(135deg, rgba(183, 33, 255, 0.05) 0%, rgba(255, 0, 57, 0.05) 100%);
    padding: 20px;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--dark-blue);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-close-success {
    padding: 12px 40px;
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(183, 33, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-popup {
        margin: 10px;
        max-height: 95vh;
    }
    
    .donation-header {
        padding: 30px 20px 20px;
    }
    
    .donation-header h2 {
        font-size: 1.5rem;
    }
    
    .donation-form {
        padding: 20px;
    }
    
    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .donation-header h2 {
        font-size: 1.3rem;
    }
    
    .amount-value {
        font-size: 1.2rem;
    }
    
    .btn-donate {
        font-size: 1rem;
        padding: 15px;
    }
}
        :root {
            --primary-purple: #b721ff;
            --primary-red: #ff0039;
            --dark-blue: #1a2332;
            --medium-blue: #2c3e50;
            --light-gray: #f8f9fa;
            --medium-gray: #5a6c7d;
            --border-color: #e1e8ed;
            --white: #ffffff;
        }

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            color: var(--medium-blue);
            line-height: 1.7;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Playfair Display', Georgia, serif;
            font-weight: 700;
            letter-spacing: -0.02em;
        }




        .cta-button {
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            color: white;
            padding: 18px 40px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05rem;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 30px rgba(183, 33, 255, 0.3);
            letter-spacing: 0.02em;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(183, 33, 255, 0.4);
        }

        .cta-button::after {
            content: '→';
            font-size: 1.4rem;
            transition: transform 0.3s ease;
        }

        .cta-button:hover::after {
            transform: translateX(4px);
        }

        .donors-count {
            display: flex;
            align-items: center;
            gap: 1.2rem;
        }

        .donor-avatars {
            display: flex;
            margin-left: -10px;
        }

        .donor-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 3px solid var(--dark-blue);
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            margin-left: -15px;
            font-size: 0.9rem;
            transition: transform 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        }

        .donor-avatar:hover {
            transform: translateY(-5px);
            z-index: 10;
        }

        .donor-text {
            color: white;
        }

        .donor-number {
            font-size: 1.75rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 2px;
        }

        .donor-label {
            font-size: 0.9rem;
            opacity: 0.85;
            font-weight: 500;
        }

        .hero-image {
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4rem;
        }

        .hero-image-container {
            width: 100%;
            height: 650px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .hero-image-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(183, 33, 255, 0.15) 0%, rgba(255, 0, 57, 0.15) 100%);
            z-index: 1;
        }

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

        /* Trust Banner */
        .trust-banner {
            background: white;
            padding: 3rem 7%;
            border-bottom: 1px solid var(--border-color);
        }

        .trust-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            flex-wrap: wrap;
            gap: 3rem;
        }

        .trust-item {
            text-align: center;
            flex: 1;
            min-width: 200px;
        }

        .trust-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            filter: grayscale(0.3);
        }

        .trust-label {
            font-size: 0.85rem;
            color: var(--medium-gray);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: 600;
        }

        /* About Section */
        .about {
            padding: 8rem 7%;
            background: white;
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .section-tag {
            color: var(--primary-purple);
            font-weight: 700;
            margin-bottom: 1.5rem;
            font-size: 0.85rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
        }

        .section-title {
            font-size: 3.5rem;
            color: var(--dark-blue);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .section-description {
            color: var(--medium-gray);
            font-size: 1.2rem;
            line-height: 1.9;
            font-weight: 400;
        }

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

        .about-stat {
            text-align: center;
            padding: 2.5rem;
            background: var(--light-gray);
            border-radius: 15px;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .about-stat:hover {
            transform: translateY(-5px);
            border-color: var(--primary-purple);
            box-shadow: 0 15px 40px rgba(183, 33, 255, 0.1);
        }

        .about-stat-number {
            font-size: 3.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
        }

        .about-stat-label {
            color: var(--medium-gray);
            font-size: 1.1rem;
            font-weight: 600;
        }

        /* Causes Grid */
        .causes {
            padding: 8rem 7%;
            background: var(--light-gray);
        }

        .causes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .cause-card {
            background: white;
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .cause-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .cause-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
            border-color: transparent;
        }

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

        .cause-icon {
            font-size: 3.5rem;
            margin-bottom: 2rem;
            display: inline-block;
            transition: transform 0.3s ease;
        }

        .cause-card:hover .cause-icon {
            transform: scale(1.1);
        }

        .cause-card h3 {
            color: var(--dark-blue);
            margin-bottom: 1.2rem;
            font-size: 1.75rem;
            line-height: 1.3;
        }

        .cause-card p {
            color: var(--medium-gray);
            line-height: 1.9;
            font-size: 1.05rem;
        }

        /* Impact Section */
        .impact {
            padding: 8rem 7%;
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .impact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .impact .section-tag {
            color: rgba(255, 255, 255, 0.95);
        }

        .impact .section-title {
            color: white;
        }

        .impact .section-description {
            color: rgba(255, 255, 255, 0.9);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 4rem;
            margin-top: 5rem;
            position: relative;
            z-index: 1;
        }

        .stat-card {
            text-align: center;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.15);
        }

        .stat-number {
            font-size: 4.5rem;
            font-weight: 800;
            margin-bottom: 0.8rem;
            text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
            font-family: 'Inter', sans-serif;
        }

        .stat-label {
            font-size: 1.15rem;
            opacity: 0.95;
            font-weight: 500;
        }

        /* Testimonials Section */
        .testimonials {
            padding: 8rem 7%;
            background: white;
        }

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

        .testimonial-card {
            background: var(--light-gray);
            padding: 3rem;
            border-radius: 20px;
            position: relative;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        }

        .quote-icon {
            font-size: 4rem;
            color: var(--primary-purple);
            opacity: 0.2;
            line-height: 1;
            margin-bottom: 1rem;
        }

        .testimonial-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--medium-gray);
            margin-bottom: 2rem;
            font-style: italic;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.2rem;
        }

        .author-info h4 {
            color: var(--dark-blue);
            font-size: 1.1rem;
            margin-bottom: 0.2rem;
        }

        .author-info p {
            color: var(--medium-gray);
            font-size: 0.9rem;
        }

        /* Newsletter Section */
        .newsletter {
            padding: 6rem 7%;
            background: var(--dark-blue);
            color: white;
        }

        .newsletter-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .newsletter h2 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .newsletter p {
            font-size: 1.2rem;
            margin-bottom: 3rem;
            opacity: 0.9;
        }

        .newsletter-form {
            display: flex;
            gap: 1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .newsletter-input {
            flex: 1;
            padding: 18px 25px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1rem;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .newsletter-input:focus {
            outline: none;
            border-color: var(--primary-purple);
            background: rgba(255, 255, 255, 0.15);
        }

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

        .newsletter-btn {
            padding: 18px 35px;
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .newsletter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(183, 33, 255, 0.4);
        }

        /* Contact Section */
        .contact {
            padding: 8rem 7%;
            background: white;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            margin-top: 4rem;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        .contact-info-section h3 {
            font-size: 2rem;
            color: var(--dark-blue);
            margin-bottom: 2rem;
        }

        .contact-info-list {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
        }

        .contact-icon {
            width: 55px;
            height: 55px;
            min-width: 55px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .contact-details h4 {
            color: var(--dark-blue);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .contact-details p {
            color: var(--medium-gray);
            line-height: 1.7;
        }

        .contact-form-section {
            background: var(--light-gray);
            padding: 3rem;
            border-radius: 20px;
            border: 1px solid var(--border-color);
        }

        .contact-form-section h3 {
            font-size: 2rem;
            color: var(--dark-blue);
            margin-bottom: 2rem;
        }

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

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--medium-blue);
            font-weight: 600;
            font-size: 0.95rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px 20px;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            background: white;
            font-size: 1rem;
            font-family: 'Inter', sans-serif;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-purple);
            box-shadow: 0 0 0 3px rgba(183, 33, 255, 0.1);
        }

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

        .form-submit {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1.05rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .form-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(183, 33, 255, 0.3);
        }

        /* Footer */
        footer {
            background: var(--dark-blue);
            color: white;
            padding: 5rem 7% 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 4rem;
            margin-bottom: 4rem;
        }

        .footer-about h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .footer-about p {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .footer-logo svg {
            height: 80px;
            margin-bottom: 1.5rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 45px;
            height: 45px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 1.3rem;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            transform: translateY(-3px);
        }

        .footer-column h4 {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 1rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }

        .footer-bottom {
            padding-top: 3rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: rgba(255, 255, 255, 0.6);
        }

        .footer-bottom p {
            margin-bottom: 0.5rem;
        }

        /* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: var(--medium-blue);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .hero h1 {
                font-size: 3rem;
            }

            .section-title {
                font-size: 2.8rem;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 3rem;
            }
        }

        @media (max-width: 968px) {
            nav {
                padding: 1.2rem 5%;
            }

            .hero {
                grid-template-columns: 1fr;
                min-height: auto;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero-content {
                padding: 5%;
            }

            .hero-image {
                padding: 2rem 5%;
            }

            .hero-image-container {
                height: 400px;
            }

            .nav-links {
                display: none;
            }

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

            .section-title {
                font-size: 2.2rem;
            }

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

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

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

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }

            .trust-content {
                gap: 2rem;
            }

            .trust-item {
                min-width: 150px;
            }
        }

        /* Scroll Progress Bar */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-red) 100%);
            z-index: 9999;
            transform-origin: left;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }
    /* =========================================
   MODERN SOCIAL LINKS - CENTERED & STYLED
   ========================================= */

/* Social Links Container */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 0;
}

/* Individual Social Link */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Individual Platform Colors on Hover */
.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-link.tiktok:hover {
    background: #000000;
    border-color: #69c9d0;
}

/* Ripple Effect on Click */
.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-link:active::before {
    width: 100px;
    height: 100px;
}

/* Icon Styling (if using SVG icons) */
.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* For Light Background */
.social-links.light .social-link {
    background: white;
    border-color: var(--border);
    color: var(--dark-blue);
}

.social-links.light .social-link:hover {
    color: white;
}

/* Brand Gradient Version */
.social-links.gradient .social-link {
    background: var(--brand-gradient);
    border: none;
    color: white;
}

.social-links.gradient .social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Large Size Variant */
.social-links.large .social-link {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
}

/* Small Size Variant */
.social-links.small .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

/* Vertical Layout */
.social-links.vertical {
    flex-direction: column;
    gap: 0.8rem;
}

/* With Labels */
.social-link-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.social-link-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links.light .social-link-label {
    color: var(--medium-blue);
}

/* Animated Underline (for labeled version) */
.social-link-wrapper:hover .social-link-label {
    color: white;
}

.social-links.light .social-link-wrapper:hover .social-link-label {
    color: var(--primary-purple);
}

/* Footer Social Links */
footer .social-links {
    margin: 1.5rem 0;
}

footer .social-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

footer .social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .social-links.large .social-link {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 0.6rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Accessibility */
.social-link:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Print */
@media print {
    .social-links {
        display: none;
    }
}
