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

:root {
    --primary-green: #1B5E20;
    --secondary-green: #388E3C;
    --light-green: #4CAF50;
    --accent-blue: #0288D1;
    --text-dark: #212121;
    --text-gray: #616161;
    --bg-light: #FAFAFA;
    --bg-section: #F5F5F5;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Professional Header */
header {
    background: white;
    color: var(--text-dark);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
    white-space: nowrap;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    flex-shrink: 0;
}

nav li {
    margin-left: 2rem;
    flex-shrink: 0;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-green);
    cursor: pointer;
    padding: 4px 8px;
}

.donate-btn {
    background: var(--primary-green);
    color: white !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s;
}

.donate-btn:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.85), rgba(2, 136, 209, 0.85)), url('/images/hero-bg.jpg') center/cover;
    color: white;
    padding: 180px 0 120px;
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-icon {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: var(--light-green);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76,175,80,0.4);
}

/* Sections */
section {
    padding: 90px 0;
}

h2 {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Programs Section with Meal Share */
.programs {
    background: var(--bg-section);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.program-image {
    height: 250px;
    background: url('https://source.unsplash.com/random/800x600/?food,charity') center/cover;
    position: relative;
}

.meal-share-image {
    background: url('https://source.unsplash.com/random/800x600/?food,delivery,volunteer') center/cover;
}

.program-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.program-content {
    padding: 2.5rem;
}

.program-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.program-schedule {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.schedule-icon {
    width: 20px;
    height: 20px;
    background: var(--light-green);
    border-radius: 50%;
    display: inline-block;
}

/* About Section */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.about-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    background: white;
    border: 1px solid #EEEEEE;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.about-card:hover .about-icon {
    transform: scale(1.08) rotate(-4deg);
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.about-card p {
    color: var(--text-gray);
    font-size: 0.98rem;
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    justify-content: center;
}

.testimonials-grid-1 {
    grid-template-columns: minmax(300px, 500px);
}

.testimonials-grid-2 {
    grid-template-columns: repeat(2, minmax(300px, 420px));
}

.testimonial-card {
    background: var(--bg-section);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--light-green);
}

.testimonial-quote-mark {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--light-green);
    opacity: 0.4;
    margin-bottom: -1rem;
}

.testimonial-quote {
    font-size: 1.05rem;
    color: var(--text-dark);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-photo-placeholder {
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Impact Section */
.impact {
    background: var(--bg-light);
}

.impact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.impact-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.impact-list {
    list-style: none;
    margin-top: 2rem;
}

.impact-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--light-green);
    border-radius: 50%;
    flex-shrink: 0;
}

.impact-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.impact-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Volunteer & Donation Slide-Down Forms */
.volunteer-form-section {
    background: linear-gradient(180deg, var(--bg-section) 0%, #ffffff 100%);
    padding: 90px 0;
}

.form-section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
}

.form-section-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.25);
}

.volunteer-form-section h2 {
    margin-bottom: 0.75rem;
}

.form-section-header .section-subtitle {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin: 0;
}

.volunteer-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}

.volunteer-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

.volunteer-form .form-control {
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 1.5px solid #E0E0E0;
    font-size: 0.98rem;
}

.volunteer-form .form-control:focus {
    border-color: var(--light-green);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.12);
}

.volunteer-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}

.volunteer-form button[type="submit"]:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 94, 32, 0.3);
}

.volunteer-form button[type="submit"]:disabled {
    background: #C8C8C8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Donation Form Specifics */
.donation-form {
    max-width: 640px;
}

.donation-amount-label {
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    display: block;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    border: 2px solid #E0E0E0;
    background: #FAFAFA;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 1.1rem 0.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-btn:hover {
    border-color: var(--light-green);
    background: white;
    transform: translateY(-2px);
}

.amount-btn.selected {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-color: var(--primary-green);
    color: white;
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.25);
}

.donation-custom-amount {
    text-align: center;
    margin-bottom: 2rem;
}

.donation-custom-amount .divider-text {
    display: block;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    position: relative;
}

.donation-custom-amount .divider-text::before,
.donation-custom-amount .divider-text::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 1px;
    background: #E0E0E0;
    vertical-align: middle;
    margin: 0 10px;
}

.donation-custom-amount .input-group {
    margin: 0 auto;
}

.donation-custom-amount .input-group-text {
    background: #FAFAFA;
    border: 1.5px solid #E0E0E0;
    border-right: none;
    font-weight: 700;
    color: var(--primary-green);
    border-radius: 8px 0 0 8px;
}

.donation-custom-amount .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.donation-secure-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px 0 0 25px;
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: #B0BEC5;
}

.newsletter-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 25px 25px 0;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-btn:hover {
    background: var(--secondary-green);
}

.newsletter-status {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--light-green);
}

.newsletter-error {
    color: #EF5350;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B0BEC5;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #B0BEC5;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #37474F;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1199px) {
    .nav-toggle {
        display: block;
    }

    nav#mainNav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav#mainNav.open {
        max-height: 400px;
    }

    nav#mainNav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem 20px;
    }

    nav#mainNav li {
        margin-left: 0;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #F0F0F0;
    }

    nav#mainNav li:last-child {
        border-bottom: none;
    }

    nav#mainNav .donate-btn {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .impact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .volunteer-form,
    .donation-form {
        padding: 1.75rem;
    }

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