:root {
    --primary: #65A30D; /* Vibrant Plant Green from Logo */
    --primary-hover: #4D7C0F;
    --secondary: #14532D; /* Deep Forest Green for Trust/Headings */
    --earth-green: #F59E0B; /* Golden Yellow accent from Logo */
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--bg-light); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; color: var(--secondary); margin-bottom: 0.5rem; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative;}
.text-center { text-align: center; }
.justify-center { justify-content: center; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 30px; border-radius: 50px; font-weight: 700; font-family: var(--font-heading);
    text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; text-transform: uppercase;
}
.btn-donate { background: var(--primary); color: var(--white); box-shadow: 0 4px 15px rgba(241, 90, 36, 0.4); }
.btn-donate:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(241, 90, 36, 0.5); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: var(--white); color: var(--secondary); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--bg-light); transform: translateY(-3px); }
.btn-lg { font-size: 1.1rem; padding: 16px 40px; }

.text-highlight { color: var(--primary); }
.sub-heading { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }
.header-line { width: 60px; height: 5px; background: var(--primary); border-radius: 4px; margin: 15px auto 0; }

.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 15px 0; transition: all 0.4s ease; background: rgba(255, 255, 255, 0.98); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 60px; mix-blend-mode: multiply; transition: 0.3s; max-width: 100%; object-fit: contain; }
.navbar.scrolled .logo-img { height: 45px; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a:not(.btn) { color: var(--secondary); text-decoration: none; font-weight: 700; font-size: 1.05rem; transition: color 0.3s; }
.nav-links a:not(.btn):hover { color: var(--primary); }
.mobile-toggle { display: none; background: transparent; border: none; color: var(--secondary); font-size: 1.8rem; cursor: pointer; transition: 0.4s; flex-shrink: 0;}

.hero-slider-section { position: relative; height: 100vh; overflow: hidden; background: #000; }
.heroSwiper { width: 100%; height: 100vh; position: absolute; top:0; left:0; }
.heroSwiper .slide-bg { position: absolute; width: 100%; height: 100%; background-size: cover; background-repeat: no-repeat; background-position: center top; transition: transform 8s linear; transform: scale(1); z-index: -2; }
.heroSwiper .swiper-slide-active .slide-bg { transform: scale(1.1); }
.hero-overlay { position: absolute; top:0; left:0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(10,37,64,0.9) 0%, rgba(10,37,64,0.2) 50%, rgba(10,37,64,0.6) 100%); z-index: -1; }
.hero-content { display: flex; align-items: center; justify-content: center; height: 100%; position: relative; z-index: 2; }
.hero-text-box { max-width: 800px; padding: 30px; border-radius: 20px; transition: 0.3s; }
.badge-warning { background: var(--primary); color: white; padding: 8px 18px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; margin-bottom: 24px; display: inline-block; text-transform: uppercase; border: 2px solid rgba(255,255,255,0.2); }
.hero-title { font-size: 5rem; line-height: 1.1; margin-bottom: 24px; color: var(--white); }
.hero-subtitle { font-size: 1.35rem; margin-bottom: 40px; color: #E2E8F0; line-height: 1.6; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.swiper-button-next, .swiper-button-prev { color: var(--white) !important; opacity: 0.5; transition: 0.3s; transform: scale(0.8); }
.swiper-button-next:hover, .swiper-button-prev:hover { opacity: 1; transform: scale(1); }
.swiper-pagination-bullet { background: var(--white) !important; opacity: 0.5 !important; width: 12px !important; height: 12px !important;}
.swiper-pagination-bullet-active { background: var(--primary) !important; opacity: 1 !important; transform: scale(1.3); }

.hero-shape { position: absolute; bottom: -2px; left: 0; width: 100%; z-index: 10; line-height: 0; pointer-events: none; }
.waves { position: relative; width: 100%; height: 12vh; margin-bottom: -7px; min-height: 100px; max-height: 150px; }
.parallax > use { animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite; }
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
@keyframes move-forever { 0% { transform: translate3d(-90px,0,0); } 100% { transform: translate3d(85px,0,0); } }

.stats { padding: 40px 0 60px; background: var(--bg-light); position: relative; z-index: 11; }
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-icon-wrapper { display: flex; justify-content: center; align-items: center; margin-bottom: 10px;}
.vector-icon { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.stat-item:hover .vector-icon { transform: translateY(-10px) scale(1.1); }
.stat-number { font-size: 3.8rem; color: var(--secondary); margin-bottom: 0; line-height: 1; }
.stat-item p { color: var(--text-light); font-weight: 700; text-transform: uppercase; font-size: 0.95rem; margin-top: 10px;}

.about-section { padding: 40px 0 120px; background: var(--bg-light); position: relative; }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content-left p { color: var(--text-light); font-size: 1.15rem; line-height: 1.8; margin-bottom: 20px; }
.about-quote { border-left: 5px solid var(--primary); margin: 30px 0; font-family: var(--font-heading); font-size: 1.25rem; font-style: italic; color: var(--secondary); background: rgba(101, 163, 13, 0.04); padding: 25px 25px 25px 30px; border-radius: 0 20px 20px 0; line-height: 1.6;}
.about-image-wrapper { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); border: 8px solid var(--white); }
.about-img { width: 100%; height: auto; display: block; transition: transform 0.7s ease;}
.about-image-wrapper:hover .about-img { transform: scale(1.05); }

.initiatives { padding: 120px 0; background: #FFFFFF; position: relative; overflow: hidden; }
.vector-blob { position: absolute; filter: blur(60px); border-radius: 50%; z-index: 0; opacity: 0.4; }
.blob-1 { width: 400px; height: 400px; background: rgba(241, 90, 36, 0.2); top: -100px; left: -100px; animation: float 10s ease-in-out infinite; }
.blob-2 { width: 500px; height: 500px; background: rgba(34, 197, 94, 0.15); bottom: -150px; right: -150px; animation: float 12s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(30px); } }

.relative-z { position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 3.2rem; }

.cardsSwiper { padding: 20px 10px !important; overflow: visible !important; }
.impact-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.03); height: auto; transition: 0.3s;}
.impact-card:hover { transform: translateY(-15px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); }
.card-img { height: 260px; background-size: cover; background-position: center; position: relative; }
.category-tag { position: absolute; top: 20px; left: 20px; background: var(--earth-green); color: white; padding: 6px 16px; border-radius: 50px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }
.tag-orange { background: var(--primary); }
.tag-blue { background: #3B82F6; }
.tag-red { background: #EF4444; }

.card-content { padding: 35px 30px; flex-grow: 1; display: flex; flex-direction: column; background: var(--white); }
.card-content h3 { font-size: 1.6rem; margin-bottom: 15px; }
.card-content p { color: var(--text-light); margin-bottom: 25px; line-height: 1.7; font-size: 1.05rem; }
.read-more { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; text-decoration: none; text-transform: uppercase; transition: gap 0.3s; }
.read-more:hover { gap: 15px; color: var(--primary-hover); }

.cards-pagination { position: relative !important; margin-top: 40px !important; }

.support-cta { padding: 120px 0; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: white; position: relative; overflow: hidden; }
.support-cta::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 40%); pointer-events: none; }
.support-cta .container { position: relative; z-index: 2;}
.support-cta h2 { color: white; font-size: 3.5rem; margin-bottom: 20px; }
.support-cta p { font-size: 1.3rem; margin-bottom: 40px; opacity: 0.9; }

.footer { background: var(--secondary); color: white; padding: 0 0 40px; position: relative; margin-top: -60px; }
.footer-shape { line-height: 0; margin-bottom: 60px; }
.support-cta + .footer .footer-shape svg path { fill: var(--primary-hover); }

.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 60px; margin-bottom: 60px; }
.footer-brand { flex: 2; min-width: 300px; }
.footer-brand h3 { color: white; font-size: 2.5rem; margin-bottom: 20px; }
.footer-links, .footer-newsletter { flex: 1; min-width: 200px; }
.footer-links a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; margin-bottom: 15px; font-size: 1.1rem; }
.newsletter-form { display: flex; background: rgba(255,255,255,0.1); border-radius: 50px; padding: 5px; border: 1px solid rgba(255,255,255,0.2); }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 12px 20px; color: white; outline: none; }
.newsletter-form button { background: var(--primary); color: white; border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; }

/* Contact Section */
.contact-section { padding: 100px 0; background: var(--bg-light); }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info p { color: var(--text-light); margin: 20px 0 30px; line-height: 1.6; font-size: 1.1rem; }
.contact-details { list-style: none; }
.contact-details li { margin-bottom: 20px; display: flex; align-items: center; gap: 15px; font-weight: 500; font-size: 1.1rem; color: var(--text-dark);}
.contact-details i { color: var(--primary); font-size: 1.3rem; width: 25px; text-align: center;}
.contact-form-wrapper { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--shadow-card); }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; border: 1px solid rgba(0,0,0,0.1); padding: 15px 20px; border-radius: 10px; font-family: var(--font-body); font-size: 1rem; background: var(--bg-light); outline: none; transition: 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); background: transparent; }

/* Donate Modal Glassmorphism */
.modal-overlay { position: fixed; inset: 0; background: rgba(10, 37, 64, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.4s ease; padding: 20px;}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--white); width: 100%; max-width: 900px; border-radius: 24px; position: relative; transform: translateY(50px) scale(0.95); transition: 0.4s ease; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.3); }
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 20px; right: 20px; background: rgba(0,0,0,0.05); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10; color: var(--text-dark); transition: 0.3s;}
.modal-close:hover { background: #fee2e2; color: #ef4444; transform: rotate(90deg); }

.modal-split { display: flex; flex-wrap: wrap; }
.modal-left { flex: 1; padding: 40px; background: linear-gradient(135deg, rgba(101,163,13,0.05), rgba(101,163,13,0.15)); min-width: 300px;}
.modal-right { flex: 1; padding: 40px; min-width: 300px; }
.modal-subtitle { color: var(--text-light); margin-bottom: 25px; font-size: 0.95rem; }
.bank-card { background: var(--white); padding: 20px; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); margin-bottom: 25px; border-left: 4px solid var(--primary); }
.bank-card p { margin-bottom: 8px; font-size: 0.95rem; display: flex; justify-content: space-between;}
.bank-card p strong { color: var(--secondary); }
.qr-placeholder { border: 2px dashed rgba(0,0,0,0.1); padding: 30px; text-align: center; border-radius: 12px; background: rgba(255,255,255,0.5); }
.qr-placeholder i { font-size: 4rem; color: var(--primary); margin-bottom: 15px; opacity: 0.5;}

/* Ambient Flowing Leaves */
#leaves-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999; overflow: hidden; }
.leaf { position: absolute; width: 30px; height: 30px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%2365a30d" d="M272 512c-11.8 0-22.6-6.4-28.5-16.9L166.7 360C92.2 360 48 316.3 48 244.6c0-67.6 30-131.7 82.5-175.7 32.7-27.4 75-45 119.5-56.1C260 9.8 274.6 0 293.7 0H352c35.3 0 64 28.7 64 64v58.3c0 19.1-9.8 33.7-28.8 43.7-11.1 44.5-28.7 86.8-56.1 119.5C287.7 338 223.6 368 156 368l87.5 127.1c5.9 10.5 5.9 23.3 0 33.8s-16.7 16.9-28.5 16.9z"/></svg>'); background-size: contain; background-repeat: no-repeat; animation: fall 10s linear infinite, sway 3s ease-in-out infinite alternate; opacity: 0.6; filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));}
@keyframes fall {
    0% { top: -10%; }
    100% { top: 110%; }
}
@keyframes sway {
    0% { transform: translateX(0px) rotate(0deg); }
    100% { transform: translateX(80px) rotate(60deg); }
}

/* Gallery True Masonry */
.gallery-section { padding: 100px 0; background: var(--white); }
.masonry-grid { column-count: 3; column-gap: 20px; }
.masonry-item { break-inside: avoid; margin-bottom: 20px; border-radius: 15px; overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow-card); }
.masonry-item img { width: 100%; display: block; height: auto; transition: transform 0.5s ease-in-out; }
.masonry-item:hover img { transform: scale(1.05); }

/* Scroll to Top */
.scroll-to-top { position: fixed; bottom: 30px; right: 30px; background: var(--primary); color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1000; box-shadow: var(--shadow-card); }
.scroll-to-top.show { opacity: 1; visibility: visible; }
.scroll-to-top:hover { transform: translateY(-5px); background: var(--secondary); color: white;}

/* Testimonials Section */
.testimonials-section { padding: 100px 0; background: var(--bg-light); position: relative; }
.testimonial-card {
    background: white; padding: 40px 30px; border-radius: 20px; box-shadow: var(--shadow-card);
    transition: var(--transition); height: 100%; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(0,0,0,0.03);
}
.testimonial-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); transform: translateY(-10px); }
.quote-icon { font-size: 3rem; color: var(--primary); opacity: 0.2; margin-bottom: 20px; }
.testimonial-text { font-size: 1.15rem; line-height: 1.7; color: var(--text-light); margin-bottom: 30px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 15px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 20px; }
.author-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.author-info h4 { margin: 0; font-size: 1.1rem; color: var(--text-dark); font-weight: 700; }
.author-info span { font-size: 0.9rem; color: var(--primary); font-weight: 600;}
.testimonial-pagination { position: relative !important; margin-top: 40px !important; }

/* Lightbox Modal */
.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90%; max-height: 90vh; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: scale(0.9); transition: transform 0.3s ease; }
.lightbox-overlay.active .lightbox-img { transform: scale(1); }
.lightbox-close { position: absolute; top: 30px; right: 40px; background: transparent; border: none; color: white; font-size: 2.5rem; cursor: pointer; transition: 0.3s; }
.lightbox-close:hover { color: var(--primary); transform: scale(1.1); }

@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; } 
    .footer-shape, .hero-shape { display: none; }
    .hero-slider-section { height: 85vh; min-height: 600px; }
    .heroSwiper { position: absolute; height: 100%; }
    .masonry-grid { column-count: 2; }
}
@media (max-width: 992px) {
    .about-container, .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .modal-split { flex-direction: column; }
}
@media (max-width: 768px) {
    .logo-img { height: auto; max-width: 70vw; }
    .navbar.scrolled .logo-img { height: auto; max-width: 60vw; }
    .nav-links { 
        display: flex; 
        visibility: hidden;
        opacity: 0;
        transform: translateY(-15px);
        pointer-events: none;
        transition: all 0.3s ease-out;
        position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 15px 0 25px; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.15); border-top: 1px solid rgba(0,0,0,0.05); gap: 0;
    }
    .nav-links.active { 
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-links a:not(.btn) { width: 100%; padding: 16px 20px; font-size: 1.2rem; border-bottom: 1px solid rgba(0,0,0,0.04); }
    .nav-links .btn { margin: 25px auto 10px; width: calc(100% - 40px); }
    .mobile-toggle { display: block; }
    .stat-number { font-size: 2.8rem; }
    .hero-title { font-size: 3rem; }
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .modal-left, .modal-right { padding: 20px; min-width: 0; }
    .modal-overlay { padding: 20px 15px; overflow-y: auto; align-items: flex-start; }
    .modal-content { margin: 20px auto; max-height: none; }
    .contact-form-wrapper { padding: 20px; }
    .bank-card p { flex-direction: column; align-items: flex-start; margin-bottom: 12px; gap: 5px; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 10px; }
}

/* Micro-Mobile Strict Overrides */
@media (max-width: 576px) {
    .container { padding: 0 15px; }
    
    /* Typography Shrinking */
    .stat-number { font-size: 2.5rem; }
    .hero-title { font-size: 2.3rem; margin-bottom: 15px; }
    .hero-subtitle { font-size: 1.1rem; margin-bottom: 30px; }
    .hero-text-box { background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); padding: 25px 20px; }
    .section-header h2 { font-size: 2.2rem; }
    .support-cta h2 { font-size: 2.2rem; }
    .about-quote { font-size: 1.1rem; padding: 20px; }
    
    /* Layout Stacking */
    .hero-actions { flex-direction: column; width: 100%; gap: 15px; }
    .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
    .stats-container { grid-template-columns: 1fr; gap: 30px; }
    .masonry-grid { column-count: 1; }
    
    /* Un-restrict Footer Constraints */
    .footer-brand, .footer-links, .footer-newsletter { min-width: 100%; }
    .footer-brand h3 { font-size: 2.2rem; }
    .footer-grid { gap: 40px; margin-bottom: 40px; }
}
/* Custom Justify for Bio Text */
.bio-text {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    letter-spacing: 0.2px;
}
