/*Base*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: georgia, serif;
    background-color: #fafafa;
    color: #1a1a1a;
    line-height: 1.6;
}

a { 
    text-decoration: none;
    color: inherit;
}

ul { 
    list-style: none;
}

/*Navbar*/
.navbar {
    background-color: #ffffff;
    border-bottom: 2px solid #1b5e20;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba (0,0,0,0.06);
}

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    color: #1b5e20;
}

.nav-logo span {
    color: #f57f17;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.nav-links a:hover {
    color: #1b5e20;
}

.nav-btn {
    background-color: #1b5e20;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.nav-btn:hover {
    background-color: #2e7d32;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
    color: #ffffff;
    padding: 90px 60px;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-block;
    background-color: rgba(245, 127, 23, 0.2);
    border: 1px solid rgba(245, 127, 23, 0.5);
    border-radius: 20px;
    padding: 6px 18px;
    font-family: sans-serif;
    font-size: 13px;
    color: #ffcc80;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #ffcc02;
}

.hero-desc {
    font-family: sans-serif;
    font-size: 17px;
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-volunteer {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.btn-donate {
    background-color: #f57f17;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.btn-partner {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.btn-volunteer:hover,
.btn-partner:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.btn-donate:hover {
    background-color: #e65100;
}

/*Section Label (reusable)*/
.section-label {
    color: #f57f17;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/*About Section */
.about {
    padding: 80px 60px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.about h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.25;
}

.about p {
    color: #555555;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.cert-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cert-list li {
    font-family: sans-serif;
    font-size: 14px;
    color: #2e7d32;
    background-color: #e8f5e9;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.about-quote {
    flex: 1;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #a5d6a7;
    text-align: center;
    min-width: 300px;
}

.quote-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.about-quote blockquote {
    font-style: italic;
    font-size: 18px;
    color: #2e7d32;
    line-height: 1.7;
    font-weight: 600;
}

.quote-author {
    margin-top: 16px;
    font-size: 14px;
    color: #666666;
    font-family: sans-serif;
}

/* Images */
.about-image {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.about-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    display: block;
}

/* Green border behind the image */
.about-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 3px solid #1b5e20;
    border-radius: 20px;
    z-index: -1;
}

/* Orange tag on top of image */
.about-image::after {
    content: '🤝 Our People';
    position: absolute;
    bottom: 16px;
    left: 16px;
    background-color: #1b5e20;
    color: #ffffff;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Project Srction */
.projects {
    background-color: #f5f5f5;
    padding: 80px 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.project-card {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.project-card:hover {
    background-color: #e8f5e9;
    border-color: #2e7d32;
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.project-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 14px;
}

.project-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 10px;
}

.project-card p {
    font-family: sans-serif;
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
}

/* Impact Section */
.impact {
    padding: 80px 60px;
    text-align: center;
    background-color: #ffffff;
}

.impact h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 52px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    padding: 40px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #1b5e20;
    background-color: #e8f5e9;
    transform: translateY(-4px);
}

.stat-card h3 {
    font-size: 40px;
    font-weight: 800;
    color: #1b5e20;
    margin-bottom: 8px;
}

.stat-card p {
    font-family: sans-serif;
    font-size: 14px;
    color: #666666;
}

/* Call to action */
.cta {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: #ffffff;
    padding: 80px 60px;
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-family: sans-serif;
    font-size: 17px;
    opacity: 0.85;
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-volunteer {
    background-color: #ffffff;
    color: #1b5e20;
    padding: 15px 36px;
    border-radius: 30px;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.cta .btn-donate {
    background-color: #f57f17;
    color: #ffffff;
    padding: 15px 36px;
    border-radius: 30px;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.cta .btn-partner {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 15px 36px;
    border-radius: 30px;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: #111111;
    color: #aaaaaa;
    padding: 40px 60px;
    text-align: center;
    font-family: sans-serif;
    font-size: 13px;
    line-height: 2;
}

.footer-logo {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-bottom {
    margin-top: 16px;
    color: #555555;
}

/* Animations */

/* Starting state: hidden and slightly below */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* When visible: fully shown */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered effect */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }


/* ── RESPONSIVE — TABLET (≤900px) ── */

@media (max-width: 900px) {

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 40px;
    }
}


/* RESPONSIVE MOBILE (≤600px) */

@media (max-width: 600px) {

    .navbar {
        padding: 0 16px;
        height: auto;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-volunteer,
    .btn-donate,
    .btn-partner {
        width: 80%;
        text-align: center;
    }

    .about {
        padding: 50px 20px;
    }

    .about-image img {
        height: 240px;
    }

    .projects {
        padding: 50px 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .impact {
        padding: 50px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-card h3 {
        font-size: 28px;
    }

    .cta {
        padding: 50px 20px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer {
        padding: 30px 20px;
    }
}