﻿/* ==========================================================================
   SEGA NGO WEBSITE - UPGRADED PREMIUM PARALLAX STYLESHEET
   Refined Typography (Bebas Neue + Crimson Pro), Alternating Overlays, Floating Tab
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
    --primary-green: #f5f8f7;       /* Deepest forest green */
    --secondary-green: #e8f3f0;     /* Dark jungle green */
    --accent-green: #1e5c3f;        /* Rich moss green */
    --bright-green: #2d8a5c;        /* Active leaf green */
    --accent-terracotta: #c0392b;   /* Brand Terracotta Red */
    --accent-terracotta-hover: #962d22;
    --accent-gold: #d4af37;         /* Warm metallic gold for highlights */
    --bg-cream: #ffffff;            
    --text-dark: #1a3a30;           
    --text-light: #ffffff;          
    --text-muted-light: rgba(255, 255, 255, 0.7);
    --white: #ffffff;
    --glass-bg: rgba(10, 31, 20, 0.15);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-backdrop: blur(15px);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius-sm: 6px;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-green); color: var(--text-dark);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

.text-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

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

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

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

.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4-col {
    grid-template-columns: repeat(4, 1fr);
}

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

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

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

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.code-font {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
}

.section-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 5rem 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--bright-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #38b276;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(45, 138, 92, 0.3);
}

.btn-accent {
    background-color: var(--accent-terracotta);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-terracotta-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(192, 57, 43, 0.35);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-green);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 0.95rem;
}

.btn-full {
    width: 100%;
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 5rem;
}

.section-pretitle {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.section-underline {
    height: 4px;
    width: 50px;
    background-color: var(--accent-terracotta);
    border-radius: 2px;
    margin-bottom: 2rem;
}

.section-underline.center {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    max-width: 650px;
    margin: 0 auto;
}

/* --- Floating Donate Tab (Rainforest Trust Style) --- */
.floating-donate-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background-color: var(--accent-terracotta);
    color: var(--white);
    padding: 0.85rem 1.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    border-radius: 8px 8px 0 0;
    z-index: 999;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.floating-donate-btn:hover {
    background-color: var(--accent-terracotta-hover);
    padding-bottom: 1.1rem; /* Extends tab slightly on hover */
}

/* --- Header / Navigation (Uneven & Wrapping Fix) --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 31, 20, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: var(--primary-green); color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 95px;
    transition: var(--transition);
    max-width: 1350px;
    padding: 0 1.5rem;
}

.main-header.scrolled .header-container {
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-img { height: 65px;
    width: auto;
    object-fit: contain;
    background-color: var(--white);
    border-radius: 50%;
    padding: 2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title { font-size: 2.4rem; /* Premium bold caps */
    color: var(--white);
    line-height: 0.95;
    letter-spacing: 1.5px;
}

.logo-subtitle { font-size: 0.9rem; /* Elegant serif subtitle */
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.2px;
    margin-top: 2px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem; /* Tightened gap to prevent wrapping */
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.78rem; /* Compact size */
    text-transform: uppercase; /* ALL CAPS navigation */
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 0.4rem 0.25rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

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

.nav-btn {
    margin-left: 0.25rem;
    padding: 0.5rem 1.15rem; /* Sleek button */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 120px;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(45, 138, 92, 0.25);
    border: 1px solid rgba(45, 138, 92, 0.4);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    color: var(--accent-gold);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.hero-title .highlight-text {
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 650px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Floating Impact Stats Bar */
.stats-bar-wrapper {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.stats-container {
    background-color: var(--white);
    box-shadow: 0 20px 50px rgba(10, 31, 20, 0.15);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 5px solid var(--accent-gold);
}

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

.stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--secondary-green);
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 55px;
    background-color: rgba(10, 31, 20, 0.08);
}

/* --- Section Parallax & Alternating Overlays (Forest Green, Terracotta Red, Transparent) --- */
.about-section,
.mission-section,
.certifications-section,
.support-matters-section,
.projects-section,
.bbnda-collaboration-section,
.funding-section,
.donate-section,
.contact-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax */
    padding: 8rem 0;
    color: var(--white);
}

/* 1. Transparent Photo Sections (Highly visible photos with glass panels) */
.about-section {
    background-image: linear-gradient(rgba(10, 31, 20, 0.1), rgba(10, 31, 20, 0.1)), url('images/DSC05399.jpg');
    padding-top: 12rem;
}

.support-matters-section {
    background-image: linear-gradient(rgba(10, 31, 20, 0.1), rgba(10, 31, 20, 0.1)), url('images/DSC05406.jpg');
}

.projects-section {
    background-image: linear-gradient(rgba(10, 31, 20, 0.15), rgba(10, 31, 20, 0.15)), url('images/handakundi_4.jpg');
}

.contact-section {
    background-image: linear-gradient(rgba(10, 31, 20, 0.45), rgba(10, 31, 20, 0.45)), url('images/DSC05406.jpg');
}

/* 2. Terracotta Red Sections (Switched up with red brand gradients) */
.certifications-section {
    background-image: linear-gradient(rgba(139, 0, 0, 0.25), rgba(10, 31, 20, 0.95)), url('images/IMG_3794.jpg');
}

.bbnda-collaboration-section {
    background-image: linear-gradient(rgba(139, 0, 0, 0.3), rgba(10, 31, 20, 0.95)), url('images/handakundi_2.jpg');
}

.donate-section {
    background-image: linear-gradient(rgba(139, 0, 0, 0.3), rgba(10, 31, 20, 0.95)), url('images/neripul_5.JPG');
}

/* 3. Forest Green Sections */
.mission-section {
    background-image: linear-gradient(rgba(10, 31, 20, 0.3), rgba(10, 31, 20, 0.3)), url('images/gallery_1.jpg');
}

.funding-section {
    background-image: linear-gradient(rgba(10, 31, 20, 0.3), rgba(10, 31, 20, 0.3)), url('images/handakundi_3.jpg');
}

/* --- Glass Panels for Transparent Sections --- */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --- About Us Collage --- */
.about-collage {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 420px;
}

.collage-img {
    position: absolute;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.collage-img.img-1 {
    top: 0;
    left: 0;
    width: 75%;
    height: 75%;
    z-index: 1;
}

.collage-img.img-2 {
    bottom: 0;
    right: 0;
    width: 70%;
    height: 70%;
    z-index: 2;
}

.about-collage:hover .collage-img.img-1 {
    transform: scale(0.98) translate(-10px, -10px);
}

.about-collage:hover .collage-img.img-2 {
    transform: scale(1.02) translate(10px, 10px);
}

.collage-badge {
    position: absolute;
    bottom: 40px;
    left: 20px;
    background-color: var(--bright-green);
    color: var(--white);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
    border-bottom: 4px solid var(--accent-gold);
    z-index: 3;
}

.about-paragraph {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.about-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent-gold);
    border-left: 4px solid var(--accent-terracotta);
    padding-left: 1.5rem;
    margin: 2.25rem 0;
    font-weight: 600;
    line-height: 1.5;
}

/* --- Our Mission Section (Glassmorphic Cards) --- */
.mission-grid {
    margin-top: 4rem;
    gap: 2rem;
}

.mission-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-6px);
    background: rgba(10, 31, 20, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.mission-num-badge {
    width: 44px;
    height: 44px;
    background-color: var(--bright-green);
    color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.mission-num-badge::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--bright-green);
}

.mission-card-content h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.mission-card-content p {
    font-size: 0.88rem;
    color: var(--text-muted-light);
    line-height: 1.6;
}

/* --- Certifications Section (Glassmorphic Cards) --- */
.cert-grid {
    margin-top: 4rem;
}

.cert-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    padding: 2.75rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.cert-card:hover {
    transform: translateY(-6px);
    background: rgba(10, 31, 20, 0.25);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.cert-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.cert-card:hover .cert-icon-wrapper {
    background-color: var(--accent-terracotta);
    color: var(--white);
    transform: scale(1.05);
}

.cert-card h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cert-card p {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    line-height: 1.6;
}

/* --- Why Your Support Matters Section --- */
.support-quote-box {
    border-left: 3px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

.support-points-col {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.support-point-block {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    padding: 1.15rem 1.5rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 1.15rem;
    font-weight: 600;
    color: var(--white);
    font-size: 0.92rem;
    transition: var(--transition);
}

.support-point-block:hover {
    background-color: var(--bright-green);
    border-color: var(--bright-green);
    transform: translateX(8px);
}

.support-point-icon {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.support-point-block:hover .support-point-icon {
    color: var(--white);
}

/* --- Our Projects Section (Reverted side-by-side thumbnail layout) --- */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 3.5rem;
}

.project-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.project-card.reverse {
    grid-template-columns: 1fr 1.1fr;
}

.project-card.reverse .project-image-gallery {
    grid-column: 2;
}

.project-card.reverse .project-details {
    grid-column: 1;
    grid-row: 1;
}

.main-project-img-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 360px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.main-project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.project-thumbnails img.thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.1);
    opacity: 0.5;
    transition: var(--transition);
}

.project-thumbnails img.thumb:hover, .project-thumbnails img.thumb.active {
    opacity: 1;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.project-details {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-details h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.project-spec-list {
    list-style: none;
    margin: 1.5rem 0;
}

.project-spec-list li {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.9);
}

.project-spec-list li i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.project-actions {
    margin-top: 1.5rem;
}

.btn-map-link {
    font-size: 0.8rem;
    padding: 0.65rem 1.25rem;
}

/* --- BBNDA Collaboration Section --- */
.bbnda-text-col {
    padding-left: 2rem;
}

.bbnda-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.bbnda-doc-img {
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 6px solid rgba(255, 255, 255, 0.1);
    max-height: 450px;
    object-fit: cover;
}

.bbnda-mandate-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    padding: 2.25rem;
    border-radius: var(--border-radius);
}

.bbnda-mandate-box h4 {
    font-size: 1.15rem;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
}

.bbnda-list {
    list-style: none;
}

.bbnda-list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.bbnda-list li:last-child {
    margin-bottom: 0;
}

.bbnda-list li i {
    color: var(--accent-gold);
    margin-top: 3px;
    font-size: 1.1rem;
}

/* --- Funding Section (Scope Table) --- */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: 3.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    border-radius: var(--border-radius);
}

.funding-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.funding-table th {
    background-color: rgba(10, 31, 20, 0.2);
    color: var(--white);
    padding: 1.25rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.funding-table td {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
    color: rgba(255, 255, 255, 0.9);
}

.funding-table td ul {
    list-style: none;
}

.funding-table td ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.88rem;
    color: var(--text-muted-light);
}

.funding-table td ul li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    top: -2px;
}

.price-col {
    font-size: 1.15rem;
    color: var(--accent-gold);
    white-space: nowrap;
}

.recurring-label {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 500;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.total-row {
    background-color: rgba(255, 255, 255, 0.04);
}

.total-row td {
    font-size: 1.1rem;
    color: var(--white);
    border-bottom: none;
    padding: 2rem;
}

.total-row .price-col {
    font-size: 1.35rem;
    color: var(--accent-gold);
}

/* --- General Photo Gallery Section --- */
.general-gallery-section {
    padding: 8rem 0;
    background-color: var(--primary-green); color: var(--text-dark);
}

.gallery-masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3.5rem;
}

.gallery-photo-card {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    height: 250px;
    border: 3px solid rgba(255,255,255,0.06);
}

.gallery-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-photo-card:hover img {
    transform: scale(1.05);
}

/* --- Donate Section --- */
.donate-info {
    padding-right: 3rem;
}

.donate-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.tax-benefit-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    padding: 1.75rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.tax-benefit-box i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-top: 2px;
}

.tax-benefit-box p {
    font-size: 0.95rem;
    color: var(--text-muted-light);
    line-height: 1.5;
}

/* Donation Card & Methods */
.donate-card {
    background: rgba(10, 31, 20, 0.2);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-top: 5px solid var(--accent-terracotta);
}

.donate-card-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--white);
}

.donate-method-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.35rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.donate-method-btn {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.donate-method-btn.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.donate-method-content {
    display: none;
}

.donate-method-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.method-desc {
    font-size: 0.9rem;
    color: var(--text-muted-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Presets */
.amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.amount-preset-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.amount-preset-btn:hover, .amount-preset-btn.active {
    background-color: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
    color: var(--white);
}

/* Custom Input */
.custom-amount-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.currency-symbol {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

#customAmountInput {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

#customAmountInput:focus {
    border-color: var(--bright-green);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Bank Details Box */
.bank-details-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-label {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

.bank-value {
    font-size: 0.95rem;
    color: var(--white);
    text-align: right;
    word-break: break-all;
    max-width: 70%;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--accent-gold);
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.copy-btn:hover {
    color: var(--white);
    transform: scale(1.15);
}

/* --- Contact Section --- */
.contact-info-column {
    padding-right: 3rem;
}

.contact-intro-text {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    margin-bottom: 3rem;
}

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

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

.contact-icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.06);
}

.contact-detail-text h5 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.contact-detail-text p {
    font-size: 0.95rem;
    color: var(--text-muted-light);
    line-height: 1.5;
}

.contact-detail-text a:hover {
    color: var(--accent-gold);
}

/* Contact Form */
.contact-form {
    background: rgba(10, 31, 20, 0.2);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition);
}

.form-group textarea {
    resize: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--bright-green);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group textarea ~ label {
    top: 2rem;
}

/* Floating labels */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    left: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-gold);
    background-color: #0c2b1c;
    padding: 0 0.5rem;
}

.form-feedback {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}

.form-feedback.success {
    color: #2d8a5c;
}

.form-feedback.error {
    color: var(--accent-terracotta);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-green);
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    background-color: var(--white);
    border-radius: 50%;
    padding: 2px;
}

.footer-about-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.social-link:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    transform: translateY(-3px);
}

.footer-top h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-top h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

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

.footer-top ul li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-top ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.legal-info {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--accent-gold);
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    padding-left: 1rem;
    margin-top: 1.5rem;
    line-height: 1.4;
}

.footer-bottom {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

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

/* --- Responsive Media Queries --- */
@media (max-width: 1250px) {
    .nav-menu {
        gap: 0.65rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.15rem;
    }
}

@media (max-width: 991px) {
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-section {
        padding: 10rem 0 5rem;
    }
    
    .about-text-container {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .project-card, .project-card.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card.reverse .project-image-gallery {
        grid-column: 1;
    }
    
    .about-section,
    .mission-section,
    .certifications-section,
    .support-matters-section,
    .projects-section,
    .bbnda-collaboration-section,
    .funding-section,
    .donate-section,
    .contact-section {
        background-attachment: scroll; /* Disable parallax on mobile */
    }
    
    .floating-donate-btn {
        display: none; /* Hide floating button on mobile */
    }
}

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-nav-toggle {
        display: block;
        z-index: 1100;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-green); color: var(--text-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        padding: 2rem;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.75rem;
    }
    
    .stat-divider {
        width: 80%;
        height: 1px;
    }
    
    .bbnda-text-col {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .donate-info {
        padding-right: 0;
    }
    
    .contact-info-column {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .grid-3-col, .grid-4-col, .gallery-masonry-grid {
        grid-template-columns: 1fr;
    }
    
    .about-collage {
        height: 350px;
    }
    
    .collage-badge {
        bottom: 20px;
        left: 10px;
    }
    
    .amount-presets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donate-card {
        padding: 2rem 1.5rem;
    }
}

/* Future Projects Section */
.future-projects-section { padding: 8rem 0; background-color: var(--primary-green); }
.future-grid { margin-top: 4rem; gap: 2rem; }
.future-project-card { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: var(--glass-backdrop); padding: 2.5rem 2rem; border-radius: var(--border-radius); text-align: center; transition: var(--transition); height: 100%; }
.future-project-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.future-icon { width: 70px; height: 70px; background-color: var(--accent-terracotta); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 2rem; transition: var(--transition); }
.future-project-card:hover .future-icon { transform: scale(1.1); }
.future-project-card h4 { font-size: 1.25rem; color: var(--white); margin-bottom: 0.75rem; }
.future-project-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); line-height: 1.6; }

.lightbox { animation: fadeIn 0.3s ease; }
.gallery-photo-card { cursor: pointer; }
