:root {
    --primary-color: #1a4f32; /* Deep Forest Green */
    --primary-light: #2c7a4d;
    --accent-color: #f1c40f; /* Sun/Gold */
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f9fdfa; /* Very pale green/white */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }
.relative-z { position: relative; z-index: 2; }
.mt-5 { margin-top: 3rem; }

/* ---- Nature Animations (Particles) ---- */
#particles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.particle {
    position: absolute;
    top: -10vh;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: drift linear infinite;
}

.particle.leaf {
    width: 15px; height: 15px;
    border-radius: 0 50% 0 50%; /* Leaf shape */
    background: #4caf50;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2);
    animation: leaf-fall linear infinite, leaf-sway 3s ease-in-out infinite alternate;
}

.particle.spore {
    width: 4px; height: 4px;
    background: var(--accent-color);
    box-shadow: 0 0 10px 2px rgba(241, 196, 15, 0.6);
    border-radius: 50%;
    animation: float-up linear infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes leaf-fall {
    0% { top: -10%; opacity: 0; transform: rotate(0deg); }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 110%; opacity: 0; transform: rotate(360deg); }
}

@keyframes leaf-sway {
    0% { margin-left: 0px; }
    100% { margin-left: 50px; }
}

@keyframes float-up {
    0% { transform: translateY(110vh) scale(0); opacity: 0; }
    20% { opacity: 0.8; scale: 1; }
    80% { opacity: 0.6; scale: 1; }
    100% { transform: translateY(-10vh) scale(0); opacity: 0; }
}

/* ---- Navbar (Glassmorphism) ---- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--white);
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.navbar.scrolled .logo { color: var(--primary-color); text-shadow: none; }

.logo-accent { color: var(--accent-color); }

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.navbar.scrolled .nav-links a { color: var(--text-color); text-shadow: none; }
.navbar.scrolled .nav-links a:hover { color: var(--primary-light); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0%; height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Dropdown styling */
.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle::before {
    content: "▾";
    margin-right: 6px;
    font-size: 0.8rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
    margin-top: 10px;
}

.dropdown-content a {
    color: var(--text-color) !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-shadow: none !important;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-content a::after {
    display: none; /* remove underline effect for dropdown links */
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color) !important;
    padding-left: 20px; /* little indent effect */
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.btn-primary, .btn-secondary {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--primary-color);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000 !important;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

/* ---- Hero Section ---- */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('../images/hero-bg.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(26, 79, 50, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

/* ---- Sections ---- */
section { padding: 100px 0; }

.accent-line {
    width: 60px; height: 4px;
    background: var(--accent-color);
    margin: 15px 0 30px;
    border-radius: 2px;
}
.accent-line.center { margin: 15px auto 30px; }

/* ---- About Section ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text h2 { font-size: 3rem; color: var(--primary-color); }
.about-text p { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--text-light); }

.stat-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-light);
    position: relative;
    overflow: hidden;
}

.stat-card::before {    content: '';    position: absolute;    top: -50%;    left: -50%;    width: 200%;    height: 200%;    background: radial-gradient(circle, rgba(76,175,80,0.05) 0%, rgba(255,255,255,0) 70%);    z-index: 0;    pointer-events: none;}
.stat-icon { font-size: 3rem; margin-bottom: 1rem; position: relative; z-index: 1;}
.stat-card h3 { color: var(--primary-color); margin-bottom: 1rem; font-size: 1.8rem; position: relative; z-index: 1;}
.stat-card p { color: var(--text-light); position: relative; z-index: 1;}

/* ---- Impact Section ---- */
.impact {
    background: url('../images/hero-bg.png') center/cover no-repeat fixed;
    position: relative;
    color: var(--white);
}

.impact-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(26, 79, 50, 0.85); /* Deep green overlay */
    backdrop-filter: blur(5px);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.impact-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.15); }
.impact-number { font-size: 4rem; font-weight: 800; color: var(--accent-color); font-family: var(--font-heading); margin-bottom: 10px; }
.impact-card h4 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 600; }
.impact-card p { opacity: 0.8; }

.pledge-box {
    background: rgba(255,255,255,0.05);
    border-left: 4px solid var(--accent-color);
    padding: 30px;
    border-radius: 0 15px 15px 0;
    font-size: 1.2rem;
    font-style: italic;
    max-width: 800px;
    margin-left: auto; margin-right: auto;
}

/* ---- Strategic Section ---- */
.strategic-grid {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.strategic-content h2 { font-size: 2.5rem; color: var(--primary-color); }
.feature-list { list-style: none; margin-top: 30px; }
.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    color: var(--text-light);
}
.check { margin-right: 15px; font-size: 1.2rem; }

/* ---- Footer ---- */
.footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo { font-size: 2rem; color: white; margin-bottom: 20px; }
.footer-col h4 { color: white; font-size: 1.2rem; margin-bottom: 20px; }
.footer-col a { display: block; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* ---- Reveal Animations ---- */
.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Inner Page specific styles ---- */
.inner-page-header {
    background: url('../images/hero-bg.png') center/cover no-repeat;
    height: 40vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}
.inner-page-header::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to bottom, rgba(26,79,50,0.8), rgba(26,79,50,0.95));
}
.inner-page-header h1 { font-size: 3.5rem; text-shadow: 0 4px 10px rgba(0,0,0,0.3); margin-bottom: 10px; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1.5rem; }
.pt-5 { padding-top: 3rem; }
.pb-5 { padding-bottom: 3rem; }
.text-primary { color: var(--primary-color); }

/* ---- Topics Grid ---- */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.topic-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.topic-icon {
    font-size: 2.5rem;
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.topic-card h4 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.2rem; }
.topic-card p { font-size: 0.95rem; color: var(--text-light); }


/* ---- Responsive ---- */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 3rem; }
    .nav-container { align-items: flex-start; }
    .nav-links {
        display: none;
        position: absolute;
        top: 74px;
        left: 5%;
        right: 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.97);
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        z-index: 1002;
    }
    .nav-links.active { display: flex; }
    .nav-links > a,
    .nav-links .dropdown > a {
        color: var(--text-color);
        text-shadow: none;
        padding: 8px 4px;
    }
    .mobile-menu-btn { display: flex; margin-top: 8px; }
    .dropdown {
        flex-direction: column;
        align-items: stretch;
    }
    .dropdown-content {
        position: static;
        display: none;
        margin-top: 0;
        min-width: 100%;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        background: #fafafa;
    }
    .dropdown.open .dropdown-content { display: block; }
    .dropdown:hover .dropdown-content { display: none; }
    .dropdown.open:hover .dropdown-content { display: block; }
    .dropdown-toggle::before {
        content: "+";
        font-weight: 700;
        width: 14px;
        display: inline-block;
    }
    .dropdown.open .dropdown-toggle::before { content: "−"; }
}

@media (max-width: 600px) {
    .hero-actions { flex-direction: column; }
    .footer-container { grid-template-columns: 1fr; }
    .inner-page-header h1 { font-size: 2.4rem; }
}

/* ---- Elephant Walk Animation ---- */
#elephant-walker {
    position: absolute;
    bottom: 20px;
    left: -100px;
    font-size: 4rem;
    filter: invert(1) opacity(0.2); /* Ghostly white silhouette */
    animation: walk-across 35s linear infinite;
    z-index: 10;
    pointer-events: none;
}

.elephant-body {
    display: inline-block;
    animation: bob 0.8s ease-in-out infinite alternate;
}

@keyframes walk-across {
    0% { left: -100px; transform: scaleX(-1); }
    49.9% { left: 110vw; transform: scaleX(-1); }
    50% { left: 110vw; transform: scaleX(1); }
    100% { left: -100px; transform: scaleX(1); }
}

@keyframes bob {
    0% { transform: translateY(0) rotate(-2deg); }
    100% { transform: translateY(-5px) rotate(2deg); }
}
