/* css/style.css */
:root {
    --primary: #1b4332;
    /* Deep Forest Green */
    --primary-light: #2d6a4f;
    --primary-dark: #081c15;
    --primary-accent: #52b788;
    --accent-gold: #d4a373;
    --bg-color: #f5f9f6;
    --text-dark: #1b262c;
    --text-light: #52616b;
    --white: #ffffff;

    /* Heavy White Glassmorphism Settings */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-bg-hover: rgba(255, 255, 255, 0.85);
    --glass-border: 1.5px solid rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 16px 40px 0 rgba(27, 67, 50, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03), inset 0 0 20px rgba(255, 255, 255, 0.65);
    --glass-shadow-hover: 0 24px 50px 0 rgba(27, 67, 50, 0.12), 0 8px 25px rgba(0, 0, 0, 0.05), inset 0 0 30px rgba(255, 255, 255, 0.9);
    --glass-blur: blur(25px) saturate(180%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: radial-gradient(at 10% 20%, rgba(216, 243, 220, 0.45) 0px, transparent 50%),
                radial-gradient(at 90% 10%, rgba(183, 228, 199, 0.35) 0px, transparent 50%),
                radial-gradient(at 50% 50%, rgba(255, 255, 255, 0.7) 0px, transparent 50%),
                radial-gradient(at 80% 80%, rgba(149, 213, 178, 0.35) 0px, transparent 50%),
                #f5f9f6;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Glowing Glass Orbs (Hardware Accelerated for Ultra-Smooth 60fps Scrolling) */
.ambient-glow-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    will-change: transform;
    transform: translateZ(0);
    animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #95d5b2 0%, #74c69d 70%, transparent 100%);
    top: -60px;
    left: -80px;
    animation-duration: 22s;
}

.orb-2 {
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, #b7e4c7 0%, #95d5b2 70%, transparent 100%);
    top: 35%;
    right: -100px;
    animation-duration: 26s;
    animation-delay: -5s;
}

.orb-3 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #d8f3dc 0%, #b7e4c7 70%, transparent 100%);
    bottom: -60px;
    left: 15%;
    animation-duration: 20s;
    animation-delay: -10s;
}

.orb-4 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #ffeaa7 0%, #d8f3dc 70%, transparent 100%);
    top: 70%;
    right: 20%;
    animation-duration: 24s;
    animation-delay: -7s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, 40px) scale(1.12);
    }
    100% {
        transform: translate(-40px, 70px) scale(0.95);
    }
}

/* ThreeJS Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(240, 244, 242, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
    background: transparent;
    padding: 20px;
    max-width: 90%;
}

.preloader-logo-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 230px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    animation: preloaderPulse 2.2s ease-in-out infinite alternate;
}

.preloader-spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3.5px solid rgba(27, 67, 50, 0.08);
    border-top: 3.5px solid var(--primary);
    border-right: 3.5px solid #a7c957;
    animation: preloaderSpin 1.4s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

.preloader-progress-bar {
    width: 280px;
    height: 5px;
    background: rgba(27, 67, 50, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.preloader-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #a7c957);
    border-radius: 10px;
    animation: preloaderProgress 1.6s ease-in-out forwards;
}

.preloader-text {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-dark);
    text-transform: uppercase;
    opacity: 0.85;
    animation: preloaderFade 1.5s ease-in-out infinite alternate;
}

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

@keyframes preloaderPulse {
    0% { transform: scale(0.95); }
    100% { transform: scale(1.05); }
}

@keyframes preloaderProgress {
    0% { width: 0%; }
    50% { width: 65%; }
    100% { width: 100%; }
}

@keyframes preloaderFade {
    0% { opacity: 0.55; }
    100% { opacity: 0.95; }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

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

.text-green {
    color: var(--primary);
}

.mt-5 {
    margin-top: 3rem;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    padding: 35px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(255, 255, 255, 1);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.04), inset 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: #2d6a4f;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.25);
}

.btn-primary:hover {
    background: #205e43;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(45, 106, 79, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.9);
    color: #2d6a4f;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(45, 106, 79, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.btn-glass:hover {
    background: #2d6a4f;
    color: #ffffff;
    border-color: #2d6a4f;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(45, 106, 79, 0.3);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #ffffff;
    color: #2d6a4f;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.badge-icon {
    font-size: 1.1rem;
    color: #2d6a4f;
    margin-bottom: 2px;
}

.badge-text {
    font-size: 0.72rem;
    line-height: 1.22;
    color: #2d6a4f;
    font-weight: 600;
    text-align: center;
}

.badge-text strong {
    font-weight: 800;
    color: #0b2b1e;
    font-size: 0.82rem;
    display: block;
    margin-top: 2px;
}

/* Keyframe Animations */
@keyframes floatCollage {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

@keyframes floatBadge {
    0% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 14px 35px rgba(27, 67, 50, 0.16), inset 0 0 12px rgba(216, 243, 220, 0.6);
    }
    50% {
        transform: translateY(-8px) rotate(2deg);
        box-shadow: 0 18px 40px rgba(27, 67, 50, 0.22), inset 0 0 18px rgba(183, 228, 199, 0.8);
    }
    100% {
        transform: translateY(-14px) rotate(-1.5deg);
        box-shadow: 0 22px 48px rgba(27, 67, 50, 0.26), inset 0 0 22px rgba(149, 213, 178, 0.9);
    }
}

@keyframes scrollPulse {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

@keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeInScale {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-collage-img,
    .floating-impact-badge,
    .scroll-dot,
    .hero-left-content,
    .hero-right-visual {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus Areas Bar (Rendered directly below Hero Section) */
.focus-bar-section {
    position: relative;
    width: 100%;
    padding: 28px 0;
    z-index: 10;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.04), inset 0 0 20px rgba(255, 255, 255, 0.6);
}

.focus-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.focus-carousel-track {
    display: flex;
    width: max-content;
    animation: continuousFocusMarquee 18s linear infinite;
    will-change: transform;
}

.focus-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes continuousFocusMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.focus-item {
    width: 340px;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 6px 20px;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    user-select: none;
    transition: transform 0.3s ease;
}

.focus-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 1);
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.focus-item:hover .focus-icon-wrap {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.3);
}

/* About Us Section */
.about-section {
    padding: 100px 0 90px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.about-header {
    max-width: 860px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(27, 67, 50, 0.08);
    border: 1px solid rgba(27, 67, 50, 0.15);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.about-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.75;
    font-weight: 450;
    opacity: 0.95;
}

/* Zig-Zag Layout */
.zigzag-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.zigzag-wrapper::before {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(27, 67, 50, 0.2) 15%, rgba(27, 67, 50, 0.2) 85%, transparent);
    transform: translateX(-50%);
    pointer-events: none;
}

.zigzag-row {
    display: flex;
    width: 100%;
    position: relative;
}

.zigzag-row.left-row {
    justify-content: flex-start;
}

.zigzag-row.right-row {
    justify-content: flex-end;
}

.zigzag-card {
    width: 48%;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px 35px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.35s ease,
                box-shadow 0.35s ease;
}

.left-row .zigzag-card {
    transform: translateX(-70px) scale(0.94);
}

.right-row .zigzag-card {
    transform: translateX(70px) scale(0.94);
}

/* Active Scroll In-View State */
.zigzag-card.in-view {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.zigzag-card.in-view:hover {
    transform: translateY(-6px) scale(1.02);
}

.zigzag-number {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(27, 67, 50, 0.08);
    font-family: 'Inter', sans-serif;
    user-select: none;
    line-height: 1;
}

.zigzag-icon-box {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 1);
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.zigzag-card:hover .zigzag-icon-box {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.3);
}

.zigzag-text h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.zigzag-text p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.55;
}

.stats-banner {
    display: flex;
    justify-content: space-around;
    padding: 35px;
    margin-top: 50px;
    border-radius: 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

/* Our Work */
.work-section {
    position: relative;
    padding: 100px 0;
}

.horizontal-scroll-wrapper {
    height: 400vh; /* Creates scroll space for horizontal tracking */
    position: relative;
    width: 100%;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-header {
    position: absolute;
    top: 10vh;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.horizontal-track {
    display: flex;
    gap: 8vw;
    padding: 0 50vw 0 10vw; /* padding to ensure last card reaches center */
    align-items: center;
    height: 100%;
    will-change: transform;
}

.horizontal-card {
    min-width: 65vw;
    height: 55vh;
    flex-shrink: 0;
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    margin-top: 5vh;
    padding: 0;
}

.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}

.horizontal-card:hover .card-bg-img {
    transform: scale(1.08);
}

.card-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    padding: 60px;
}

.horizontal-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.horizontal-card .icon-wrapper {
    width: 100px;
    height: 100px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.horizontal-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.horizontal-card p {
    font-size: 1.2rem;
    color: #f0f4f2;
    font-weight: 600;
    max-width: 80%;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* Projects Map Styling */

/* Header (Pill Floating Navbar) */
.glass-header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 50px;
    padding: 10px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06), 0 3px 10px rgba(27, 67, 50, 0.04);
    border: 1px solid rgba(27, 67, 50, 0.07);
    transition: all 0.3s ease;
}

.glass-header.scrolled .header-container {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(27, 67, 50, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 76px;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transform: scale(1.15);
    transform-origin: left center;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.05));
}

.main-nav .nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease;
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover {
    color: #2d6a4f;
}

.nav-links li.active a {
    color: #2d6a4f;
    font-weight: 600;
}

.nav-links li.active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: #2d6a4f;
    border-radius: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-nav-donate {
    background: #2d6a4f;
    color: #ffffff;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.25);
    transition: all 0.3s ease;
    border: none;
}

.btn-nav-donate i {
    font-size: 1.05rem;
}

.btn-nav-donate:hover {
    background: #205e43;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.4);
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1b4332;
    cursor: pointer;
}

/* Hero Section (Soft Mint / White Nature Theme) */
.hero-section {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    background: linear-gradient(135deg, #f7faf8 0%, #edf5f0 45%, #e2efe7 100%);
    position: relative;
    padding-top: 136px;
    padding-bottom: 20px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -5%;
    right: -5%;
    width: 65vw;
    height: 110%;
    background: radial-gradient(circle at 60% 40%, rgba(183, 228, 199, 0.42) 0%, rgba(216, 243, 220, 0.18) 55%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 1440px;
    width: 100%;
    height: calc(100vh - 110px);
    max-height: calc(100vh - 110px);
    margin: 0 auto;
    padding: 0 28px 0 36px;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Left Editorial Content Area */
.hero-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15px;
    text-align: left;
    max-width: 580px;
    width: 100%;
    height: 100%;
    z-index: 3;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(216, 243, 220, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(116, 198, 157, 0.65);
    border-radius: 50px;
    padding: 7px 18px;
    color: #1b4332;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.08);
}

.hero-label i {
    font-size: 1.1rem;
    color: #2d6a4f;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 3.1rem;
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: -1.2px;
}

.title-dark {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #0b2b1e;
    font-weight: 800;
    display: block;
    margin-bottom: 2px;
}

.title-green {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-style: italic;
    color: #2d6a4f;
    font-weight: 400;
    display: inline-block;
    position: relative;
    padding-right: 4px;
}

.title-underline {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 12px;
    pointer-events: none;
}

.hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    color: #4a5d52;
    line-height: 1.55;
    margin-bottom: 20px;
    font-weight: 500;
    max-width: 520px;
}

.hero-cta-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-hero-join {
    background: #2d6a4f;
    color: #ffffff;
    border-radius: 50px;
    padding: 14px 34px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.28);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-join i {
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.btn-hero-join:hover {
    background: #205e43;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(45, 106, 79, 0.42);
    color: #ffffff;
}

.btn-hero-join:hover i {
    transform: translateX(4px);
}

.btn-hero-donate {
    background: #ffffff;
    color: #0b2b1e;
    border: 1.8px solid #2d6a4f;
    border-radius: 50px;
    padding: 13px 30px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-donate i {
    font-size: 1.05rem;
    color: #2d6a4f;
    transition: color 0.3s ease;
}

.btn-hero-donate:hover {
    background: #2d6a4f;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(45, 106, 79, 0.35);
    border-color: #2d6a4f;
}

.btn-hero-donate:hover i {
    color: #ffffff;
}

/* Scroll Indicator (Centered at Bottom) */
.hero-scroll-link {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #52616b;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    z-index: 10;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-scroll-link:hover {
    color: #1b4332;
    transform: translateX(-50%) translateY(2px);
}

.scroll-mouse-pill {
    width: 20px;
    height: 30px;
    border: 2px solid #2d6a4f;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.scroll-dot {
    width: 3.5px;
    height: 7px;
    background: #2d6a4f;
    border-radius: 2px;
    animation: scrollPulse 1.8s infinite ease-in-out;
}

/* Right Side — Main WOW Visual (Organic Photo Collage) */
.hero-right-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    z-index: 2;
    margin-top: 77px;
    animation: heroFadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.collage-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    transform: scale(1.05);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-collage-img {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 128px);
    object-fit: contain;
    object-position: right top;
    filter: drop-shadow(0 15px 35px rgba(27, 67, 50, 0.14));
    animation: floatCollage 6s ease-in-out infinite alternate;
}

/* Animated Floating Circular Impact Badge (Small Actions. Big Impact.) */
.floating-impact-badge {
    position: absolute;
    right: 14%;
    top: 32%;
    background: #ffffff;
    border: 2px solid rgba(116, 198, 157, 0.65);
    border-radius: 50%;
    width: 124px;
    height: 124px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 14px 35px rgba(27, 67, 50, 0.16), inset 0 0 14px rgba(216, 243, 220, 0.7);
    z-index: 10;
    animation: floatBadge 4s ease-in-out infinite alternate;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    overflow: hidden;
}

.floating-impact-badge:hover {
    transform: scale(1.12) rotate(4deg) translateY(-6px);
    box-shadow: 0 20px 45px rgba(27, 67, 50, 0.25), inset 0 0 20px rgba(183, 228, 199, 0.9);
    border-color: #2d6a4f;
}/* Interactive Glowing Map */
.map-interactive-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    overflow: hidden; /* Hide panel when off-screen */
    padding: 20px;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    opacity: 0.85;
}

.india-map-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(27, 67, 50, 0.3));
}

.map-pin {
    position: absolute;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
}

.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pin-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.map-pin:hover .pin-pulse {
    animation: none;
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(27, 67, 50, 0.4);
}

.map-pin:hover .pin-dot {
    transform: translate(-50%, -50%) scale(1.3);
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

/* Side Panel */
.project-details-panel {
    position: absolute;
    top: 0;
    right: -420px; /* Hidden off-screen */
    width: 400px;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.5);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 10;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 30px;
    overflow-y: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.project-details-panel.show-panel {
    right: 20px;
}

.close-panel-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 11;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.close-panel-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.panel-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.project-details-panel h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.panel-location {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-desc {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.panel-stats {
    background: rgba(255,255,255,0.5);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}
.stat-row:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .project-details-panel {
        width: 100%;
        border-radius: 20px 20px 0 0;
        top: 100%;
        right: 0;
        height: 70vh;
        transition: top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .project-details-panel.show-panel {
        top: 30%; /* Slide up from bottom on mobile */
        right: 0;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 18px;
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    background: var(--glass-bg-hover);
    box-shadow: var(--glass-shadow-hover);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

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

/* Impact */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.impact-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

.impact-stat:hover {
    transform: translateY(-6px);
    background: var(--glass-bg-hover);
    box-shadow: var(--glass-shadow-hover);
}

.circle-glass {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    border: 2px solid rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    box-shadow: inset 0 2px 12px rgba(255, 255, 255, 0.9), 0 10px 25px rgba(27, 67, 50, 0.08);
    backdrop-filter: blur(20px);
}

.testimonial-card {
    text-align: center;
    padding: 55px 45px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 28px;
}

.testimonial-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-card blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 300;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: var(--primary-dark);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1542838132-92c53300491e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.2;
}

.cta-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 1);
    box-shadow: 0 20px 50px rgba(27, 67, 50, 0.15), inset 0 0 25px rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    color: #1b262c;
    max-width: 820px;
    margin: 0 auto;
    padding: 55px 40px;
}

.cta-card h2 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0b2b1e;
}

.cta-card p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    color: #3a4f44;
    font-weight: 500;
}

.cta-card .btn-outline {
    background: #ffffff;
    color: #2d6a4f;
    border: 2px solid #2d6a4f;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.cta-card .btn-outline:hover {
    background: #2d6a4f;
    color: #ffffff;
    border-color: #2d6a4f;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(45, 106, 79, 0.35);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    padding: 35px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, opacity 0.4s ease;
}

.extra-news-card {
    display: none;
    opacity: 0;
    transform: translateY(25px);
}

.extra-news-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-8px);
    background: var(--glass-bg-hover);
    box-shadow: var(--glass-shadow-hover);
}

.news-date {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.news-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 10px;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-features .feature i {
    font-size: 1.5rem;
    color: #a7c957;
    /* Soft lime green accent */
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #a7c957;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo i {
    color: #a7c957;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.contact-col p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-col p i {
    margin-top: 4px;
    color: #a7c957;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-section {
        padding-top: 160px;
    }

    .hero-right-visual {
        margin-top: 54px;
    }

    .hero-container {
        padding: 0 24px;
        gap: 15px;
    }

    .hero-title {
        font-size: clamp(2rem, 4.2vh, 3.2rem);
    }

    .hero-subtitle {
        font-size: clamp(0.88rem, 1.6vh, 1.05rem);
        margin-bottom: clamp(10px, 2vh, 20px);
    }

    .collage-wrapper {
        max-width: min(700px, 52vw);
    }

    .floating-impact-badge {
        right: 10%;
        top: 32%;
    }
}

@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
        max-height: none;
        overflow: visible;
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .hero-container {
        max-height: none;
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

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

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

    .title-underline {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-right-visual {
        justify-content: center;
        width: 100%;
        margin-top: 26px;
    }

    .collage-wrapper {
        max-width: 540px;
        margin: 0 auto;
    }

    .floating-impact-badge {
        right: 8%;
        top: 30%;
    }

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

@media (max-width: 768px) {
    .glass-header {
        top: 10px;
        padding: 0 10px;
    }

    .header-container {
        height: 64px;
        padding: 8px 16px;
        border-radius: 40px;
    }

    .nav-logo-img {
        height: 42px;
    }

    .btn-nav-donate {
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-radius: 20px;
        margin-top: 10px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(27, 67, 50, 0.08);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .nav-links {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

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

    .hero-section {
        padding-top: 130px;
        padding-bottom: 40px;
    }

    .hero-label {
        font-size: 0.74rem;
        letter-spacing: 0.8px;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 28px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 14px;
    }

    .btn-hero-join,
    .btn-hero-donate {
        width: 100%;
        justify-content: center;
    }

    .collage-wrapper {
        max-width: 100%;
    }

    .floating-impact-badge {
        width: 92px;
        height: 92px;
        right: 6%;
        top: 25%;
    }

    .badge-icon {
        font-size: 1rem;
    }

    .badge-text {
        font-size: 0.65rem;
    }

    .hero-scroll-link {
        margin-top: 10px;
    }

    .stats-banner {
        flex-direction: column;
        gap: 30px;
    }

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

    /* About Us Responsive */
    .about-header h2 {
        font-size: 2.2rem;
    }
    
    .zigzag-wrapper::before {
        display: none;
    }
    
    .zigzag-row.left-row, 
    .zigzag-row.right-row {
        justify-content: center;
    }
    
    .zigzag-card {
        width: 100%;
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .left-row .zigzag-card,
    .right-row .zigzag-card {
        transform: translateY(40px) scale(0.95);
    }
    
    .zigzag-card.in-view {
        transform: translateY(0) scale(1);
    }
    
    .zigzag-card:hover {
        transform: translateY(-4px) scale(1.02);
    }

    .zigzag-icon-box {
        margin: 0 auto 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-label {
        font-size: 0.7rem;
    }

    .floating-impact-badge {
        width: 82px;
        height: 82px;
        right: 2%;
        top: 20%;
    }

    .badge-text {
        font-size: 0.6rem;
    }

    .hero-scroll-link {
        display: none;
    }
}

/* Donate Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 43, 30, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

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

.modal-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(255, 255, 255, 1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    border-radius: 28px;
    max-width: 480px;
    width: 100%;
    padding: 40px 32px;
    position: relative;
    transform: scale(0.88) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(45, 106, 79, 0.1);
    border: none;
    font-size: 1.8rem;
    color: #2d6a4f;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: #2d6a4f;
    color: #ffffff;
}

.modal-heart-icon {
    width: 58px;
    height: 58px;
    background: rgba(216, 243, 220, 0.7);
    color: #2d6a4f;
    font-size: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.modal-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    color: #0b2b1e;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.95rem;
    color: #4a5d52;
    margin-bottom: 24px;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.amount-btn {
    padding: 12px 6px;
    background: #f0f7f2;
    border: 1.5px solid rgba(45, 106, 79, 0.2);
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #2d6a4f;
    cursor: pointer;
    transition: all 0.25s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: #2d6a4f;
    color: #ffffff;
    border-color: #2d6a4f;
    box-shadow: 0 6px 18px rgba(45, 106, 79, 0.25);
}

.custom-amount-wrap input {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid rgba(45, 106, 79, 0.25);
    border-radius: 14px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.custom-amount-wrap input:focus {
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.btn-block {
    width: 100%;
    display: block;
}