:root {
    --primary-color: #2e6f40;
    --primary-dark: #1e4a2a;
    --secondary-color: #d9b48f;
    --bg-light: #f9f6f0;
    --text-dark: #2b2b2b;
    --text-light: #ffffff;
    --card-bg: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }

header { background-color: var(--primary-color); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; }
.logo { color: var(--text-light); font-size: 1.5rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; max-width: 180px; }
nav ul { display: flex; list-style: none; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
nav a { color: var(--text-light); text-decoration: none; font-weight: 600; transition: color 0.3s ease; font-size: 0.95rem; white-space: nowrap; }
nav a:hover { color: var(--secondary-color); }

.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--text-light); padding: 2rem;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; font-weight: 800; max-width: 800px; }
.hero blockquote { font-size: 1.5rem; font-style: italic; max-width: 600px; border-left: none; margin-top: 1.5rem; color: var(--secondary-color); }

section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-color); margin-bottom: 3rem; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--secondary-color); margin: 10px auto 0 auto; border-radius: 2px; }

.why-us-content { background-color: var(--card-bg); padding: 3rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-left: 5px solid var(--primary-color); }
.why-us-content p { margin-bottom: 1.5rem; font-size: 1.1rem; text-align: justify; }

.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.pillar-card { background-color: var(--card-bg); padding: 2.5rem 2rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s ease; border-top: 4px solid var(--primary-color); }
.pillar-card:hover { transform: translateY(-5px); }
.pillar-icon { font-size: 3rem; margin-bottom: 1rem; }
.pillar-card h3 { color: var(--primary-color); margin-bottom: 1rem; font-size: 1.4rem; }

.about-text { text-align: center; max-width: 900px; margin: 0 auto 4rem auto; font-size: 1.1rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
.team-card { background: var(--card-bg); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; padding: 2rem 1rem; }
.avatar-placeholder { width: 100px; height: 100px; background: linear-gradient(135deg, #a3cfbb, #e0e0e0); border-radius: 50%; margin: 0 auto 1.5rem auto; display: flex; align-items: center; justify-content: center; }
.team-card h4 { color: var(--text-dark); margin-bottom: 0.25rem; font-size: 1.2rem; }
.team-card p { color: var(--primary-color); font-size: 0.9rem; font-weight: 600; }

.be-with-us-content { background-color: var(--primary-color); color: var(--text-light); padding: 4rem 2rem; border-radius: 8px; text-align: center; max-width: 800px; margin: 0 auto; }
.be-with-us-content h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.be-with-us-content p { font-size: 1.1rem; margin-bottom: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.donate-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; align-items: center; }
.donate-info h3 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 1.5rem; }
.tier-list { list-style: none; margin-bottom: 2rem; }
.tier-list li { background: var(--card-bg); padding: 1rem; margin-bottom: 0.75rem; border-radius: 6px; border-left: 4px solid var(--secondary-color); font-weight: 600; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.bank-details { background: #f0e6db; padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; }
.tax-note { font-size: 0.85rem; font-style: italic; color: #555; }
.qr-wrapper { display: flex; justify-content: center; align-items: center; }
.qr-wrapper img { max-width: 280px; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }

footer { background-color: var(--primary-dark); color: var(--text-light); text-align: center; padding: 2rem; margin-top: 5rem; font-size: 0.9rem; }

#blazor-error-ui { color-scheme: light only; background: lightyellow; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,0.2); box-sizing: border-box; display: none; left: 0; padding: 0.6rem 1.25rem 0.7rem 1.25rem; position: fixed; width: 100%; z-index: 2000; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 1.2rem; padding: 1rem; }
    nav ul { gap: 1rem; }
    nav a { font-size: 0.9rem; }
    .hero { min-height: 60vh; }
    .hero h1 { font-size: 2.2rem; }
    .hero blockquote { font-size: 1.2rem; }
    section { padding: 3rem 1.2rem; }
    .section-title { font-size: 2rem; margin-bottom: 2rem; }
    .why-us-content { padding: 1.75rem; }
    .donate-container { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .be-with-us-content { padding: 2.5rem 1rem; }
    .donate-container { grid-template-columns: 1fr; }
}

.qr-wrapper { flex-direction: column; gap: 1rem; }
.pay-title { color: var(--primary-color); font-size: 1.4rem; }
.pay-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; width: 100%; max-width: 280px; }
.pay-app { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem; background: var(--card-bg); border: 2px solid var(--brand); border-radius: 8px; color: var(--text-dark); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: transform 0.2s ease; }
.pay-app:hover { transform: translateY(-2px); }
.pay-logo { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 0.85rem; flex-shrink: 0; }
.pay-note { font-size: 0.8rem; color: #555; text-align: center; }
