/* ========== CSS Variables & Reset ========== */
:root {
    --primary: #1a6b3c;
    --primary-dark: #145530;
    --primary-light: #e8f5ee;
    --secondary: #d4a843;
    --secondary-light: #fdf6e3;
    --text: #2c3e50;
    --text-light: #5a6c7e;
    --bg: #ffffff;
    --bg-alt: #f8faf9;
    --bg-dark: #0f2b1a;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text);
    line-height: 1.3;
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.nav__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    font-size: 1.2rem;
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__close,
.nav__toggle {
    display: none;
}

/* ========== Hero ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f2b1a 0%, #1a4a2e 50%, #1a6b3c 100%);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 800"><circle cx="200" cy="300" r="400" fill="rgba(255,255,255,0.03)"/><circle cx="1200" cy="500" r="300" fill="rgba(255,255,255,0.02)"/><circle cx="700" cy="100" r="250" fill="rgba(212,168,67,0.05)"/></svg>');
    background-size: cover;
}

.hero__container {
    position: relative;
    z-index: 2;
    padding: 120px 20px 80px;
}

.hero__content {
    max-width: 700px;
}

.hero__tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero__title .highlight {
    color: var(--secondary);
}

.hero__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 600px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn--primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 107, 60, 0.3);
}

.btn--outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.btn--full {
    width: 100%;
}

/* ========== Section Headers ========== */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 12px;
}

.section__subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Mission ========== */
.mission {
    padding: 60px 0;
    background: var(--bg-alt);
}

.mission__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.mission__item {
    text-align: center;
    padding: 32px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.mission__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.mission__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.mission__item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 600;
}

.mission__item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== About ========== */
.about__content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
}

.about__text h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    margin-top: 32px;
}

.about__text h3:first-child {
    margin-top: 0;
}

.about__text p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.about__list {
    margin-bottom: 20px;
}

.about__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.about__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.about__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about__card {
    background: var(--bg-alt);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.about__card h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary);
}

.about__leader {
    margin-bottom: 16px;
}

.about__leader:last-child {
    margin-bottom: 0;
}

.about__leader strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}

.about__leader span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========== Programs ========== */
.programs {
    background: var(--bg-alt);
}

.programs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.program__card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.program__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.program__icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.program__card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 600;
}

.program__card p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ========== Impact ========== */
.impact__content {
    max-width: 900px;
    margin: 0 auto;
}

.impact__text h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    margin-top: 36px;
}

.impact__text h3:first-child {
    margin-top: 0;
}

.impact__text p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.impact__breakdown {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.impact__item {
    padding: 20px 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}

.impact__bar {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.impact__bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--width);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.impact__details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.impact__label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.impact__percent {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.impact__item p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
}

/* ========== Donate ========== */
.donate {
    background: linear-gradient(135deg, #0f2b1a, #1a6b3c);
    color: white;
}

.donate .section__tag {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.donate .section__title {
    color: white;
}

.donate .section__subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.donate__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.donate__info h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 600;
}

.donate__info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.donate__list {
    margin-bottom: 32px;
}

.donate__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.93rem;
}

.donate__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.donate__bank {
    background: rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 16px;
}

.donate__bank p {
    margin-bottom: 8px;
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.9);
}

.donate__bank p:last-child {
    margin-bottom: 0;
}

.donate__note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.donate__form {
    background: white;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.donate__form h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-weight: 600;
}

.donate__form .form__group {
    margin-bottom: 18px;
}

.donate__form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* ========== Forms ========== */
.form__group {
    margin-bottom: 18px;
}

.form__group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text);
}

.donate .form__group label {
    color: var(--text);
}

.form__group input,
.form__group textarea,
.form__group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-alt);
    transition: border-color var(--transition);
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 107, 60, 0.1);
}

.form__group textarea {
    resize: vertical;
}

.donate .btn--primary {
    margin-top: 8px;
}

/* ========== Volunteer ========== */
.volunteer {
    background: var(--secondary-light);
    padding: 80px 0;
}

.volunteer__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.volunteer__content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.volunteer__content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.volunteer__content .btn {
    margin-top: 16px;
}

/* ========== Contact ========== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact__item {
    margin-bottom: 28px;
}

.contact__item h3 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.contact__item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact__item a {
    color: var(--text);
    font-weight: 500;
}

.contact__item a:hover {
    color: var(--primary);
}

.contact__form {
    background: var(--bg-alt);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* ========== Footer ========== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-size: 1rem;
}

.footer__about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__links h4,
.footer__contact h4 {
    color: white;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 18px;
}

.footer__links ul li {
    margin-bottom: 10px;
}

.footer__links ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer__links ul li a:hover {
    color: white;
}

.footer__contact p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer__contact a:hover {
    color: white;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .mission__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .programs__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__content {
        grid-template-columns: 1fr;
    }

    .donate__content {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        padding: 80px 40px 40px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        z-index: 1001;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
    }

    .nav__toggle span {
        width: 24px;
        height: 2px;
        background: var(--text);
        transition: var(--transition);
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 24px;
        right: 20px;
        font-size: 28px;
        cursor: pointer;
        color: var(--text);
    }

    .nav__list {
        flex-direction: column;
        gap: 20px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .mission__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .programs__grid {
        grid-template-columns: 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .donate__form {
        padding: 24px;
    }

    .contact__form {
        padding: 24px;
    }
}
