@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --green: #2E7D32;
    --green-dark: #1B5E20;
    --amber: #F57F17;
    --teal: #00695C;
    --text: #1a2332;
    --muted: #5c6b7a;
    --bg: #f4f7f5;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(30, 60, 40, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
}

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

a { color: var(--green); }

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

/* Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(46, 125, 50, 0.12);
    backdrop-filter: blur(10px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

.logo img { height: 52px; width: auto; }

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active { color: var(--green); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
    background: var(--amber);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(245, 127, 23, 0.3);
}

.btn--primary:hover { transform: translateY(-2px); }

.btn--green {
    background: var(--green);
    color: #fff !important;
}

.btn--outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.btn--outline-dark {
    background: transparent;
    color: var(--green) !important;
    border: 2px solid var(--green);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--green-dark);
}

/* Hero */
.hero {
    position: relative;
    min-height: min(88vh, 720px);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(27, 94, 32, 0.93) 0%, rgba(46, 125, 50, 0.82) 45%, rgba(0, 105, 92, 0.75) 100%);
}

.hero .container { position: relative; z-index: 1; padding: 6rem 0 4rem; }

.hero__tagline {
    color: var(--amber);
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 800;
    line-height: 1.1;
    max-width: 16ch;
    margin: 0 0 1rem;
}

.hero__lead {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    max-width: 36rem;
    opacity: 0.95;
    margin-bottom: 1.75rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Page hero */
.page-hero {
    background: linear-gradient(135deg, var(--green-dark), var(--teal));
    color: #fff;
    padding: 6.5rem 0 3rem;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: #fff;
}

.page-hero p {
    max-width: 36rem;
    margin: 0 auto;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-bottom: 0.75rem;
}

.breadcrumb a { color: #fff; }

/* Impact */
.impact-strip {
    margin-top: -2.5rem;
    position: relative;
    z-index: 2;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.impact-item {
    padding: 1.5rem 1rem;
    text-align: center;
    border-right: 1px solid rgba(46, 125, 50, 0.08);
}

.impact-item:last-child { border-right: none; }

.impact-item strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--green);
    font-weight: 800;
}

.impact-item span {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section--alt { background: var(--bg); }

.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.section h2 {
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--green-dark);
    margin: 0 0 0.75rem;
}

.lead {
    color: var(--muted);
    max-width: 42rem;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

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

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split__img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.split__img img {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: transform 0.25s;
}

.card:hover { transform: translateY(-4px); }

.card__img { height: 180px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }

.card__body { padding: 1.5rem; }

.card__pillar {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 0.35rem;
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    color: var(--green-dark);
}

.card p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.value-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    border-top: 4px solid var(--green);
    box-shadow: var(--shadow);
}

.value-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: var(--green-dark);
}

.value-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Programs page */
.pillar {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pillar-num {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.subprogram {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(46, 125, 50, 0.08);
    height: 100%;
}

.subprogram h4 {
    margin: 0 0 0.5rem;
    color: var(--green-dark);
    font-size: 1rem;
}

.subprogram ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.cta-block {
    background: linear-gradient(135deg, var(--green), var(--teal));
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    color: #fff;
    margin-top: 1.5rem;
}

.cta-block p {
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.cta-block .btn { margin: 0.25rem; }

/* Volunteer table */
.table-wrap { overflow-x: auto; }

.vol-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.vol-table th {
    background: var(--green-dark);
    color: #fff;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.85rem;
}

.vol-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(46, 125, 50, 0.08);
    background: #fff;
    font-size: 0.92rem;
}

.vol-table td:first-child { font-weight: 600; color: var(--green-dark); white-space: nowrap; }

/* Involve cards */
.involve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.involve-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid rgba(46, 125, 50, 0.08);
}

.involve-card__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.involve-card h3 { color: var(--green-dark); margin-bottom: 0.75rem; }

.involve-card p, .involve-card ul {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: left;
}

.involve-card ul { padding-left: 1.2rem; }

/* Donate gifts */
.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.gift-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.gift-card strong {
    display: block;
    font-size: 1.6rem;
    color: var(--amber);
    margin-bottom: 0.35rem;
}

.gift-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--green-dark), var(--teal));
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
}

.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }

.cta-band p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 36rem;
    margin: 0 auto 1.5rem;
}

.cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

.contact-info {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
}

.contact-info h3 { color: var(--green-dark); margin-top: 0; }

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1rem 0;
}

.contact-card {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.contact-card strong {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--teal);
    margin-bottom: 0.25rem;
}

/* Footer */
.site-footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

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

.footer-grid h4 {
    color: #fff;
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid li { margin-bottom: 0.4rem; }

.footer-grid a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-grid a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
    font-size: 0.82rem;
    opacity: 0.75;
    text-align: center;
}

@media (max-width: 900px) {
    .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        border-bottom: 1px solid rgba(46, 125, 50, 0.12);
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .site-header .container { position: relative; }
}
