/* ---- 1. BASE STYLES & RESET ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #2ecc71; /* Emotional & Growth Green */
    --secondary-color: #2c3e50; /* Trustworthy Navy */
    --light-bg: #f9f9f9;
    --text-color: #333;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

.section-padding {
    padding: 60px 10%;
}

.grey-bg {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

/* ---- 2. HEADER & NAVIGATION ---- */
header {
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.logo .tagline {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-style: italic;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.donate-nav-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.donate-nav-btn:hover {
    background: #27ae60;
}

/* ---- 3. HERO & IMPACT SECTION ---- */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero-bg.jpg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 40px 10%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px;
    display: inline-block;
}

.btn-primary { background: var(--primary-color); color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-primary:hover { background: #27ae60; }
.btn-secondary:hover { background: var(--white); color: var(--secondary-color); }

.impact-counter {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.counter-box h3 { font-size: 2.5rem; color: var(--primary-color); }

.hero-photos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-photos img {
    width: 250px;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ---- 4. ABOUT & FOUNDER SECTION ---- */
.founder-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
}

.founder-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.legal-docs {
    margin: 40px 0;
    text-align: center;
}

.doc-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.doc-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    text-align: center;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* ---- 5. PROGRAMS SECTION ---- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.program-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.download-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

/* ---- 6. DONATE SECTION (CRITICAL) ---- */
.donation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tax-benefit {
    background: #e8f8f5;
    padding: 15px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 20px;
}

.breakdown-list {
    list-style: none;
    margin: 20px 0;
}

.breakdown-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.bank-details {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.donation-qr-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.qr-code-img {
    width: 220px;
    height: 220px;
    margin: 20px 0;
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
}

.whatsapp-btn {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
}

/* ---- 7. GALLERY & CONTACT ---- */
.consent-note { font-style: italic; color: #7f8c8d; font-size: 0.85rem; margin-bottom: 20px;}
.video-embed { text-align: center; margin-bottom: 40px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 5px; }
.img-desc { font-size: 0.85rem; text-align: center; margin-top: 5px; color: #555; }

.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info p { margin-bottom: 15px; }
.contact-info a { color: var(--secondary-color); text-decoration: none; }
.social-links a { font-size: 1.5rem; margin-right: 15px; color: var(--secondary-color); }
.social-links a:hover { color: var(--primary-color); }

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button { width: 100%; border: none; cursor: pointer; }

footer { background: var(--secondary-color); color: white; text-align: center; padding: 20px; margin-top: 40px; }

/* ---- 8. RESPONSIVE DESIGN ---- */
@media (max-width: 768px) {
    header { flex-direction: column; text-align: center; }
    nav ul { margin: 15px 0; }
    .donation-container, .contact-container, .founder-block { grid-template-columns: 1fr; flex-direction: column; }
    .hero-content h1 { font-size: 2rem; }
    .impact-counter { flex-direction: column; gap: 20px; }
}