body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6fdf9; /* soft mint background */
    color: #1f3d2e;
}

.scroll-page {
    max-width: 1100px;                 
    margin: 30px auto 50px;           
    background: #e8f4ea;              
    padding: 30px 20px;               
    border-radius: 12px;              
    border: 1px solid #8cb991;        
    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.18);  
}

h1, h2, h3 {
    margin: 0 0 10px;
    color: #164e2b;
}

p {
    line-height: 1.6;
}

img {
    width: 100%;
    border-radius: 10px;
}

hr {
    width: 60%;          
    margin: 30px auto;   
    border: none;        
    border-top: 3px solid #c7decf; 
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 10px auto 30px;
}

/* -----------------------------
   NAVIGATION BAR
--------------------------------*/
.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
}

.logo-icon {
    display: inline-block;
    width: 28px;              
    height: 28px;
    margin-right: 8px;
    background-image: url("images/favicon.ico");  
    background-size: cover;   
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;       
}

.logo-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #e8f4ea;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #0f3d28;
    border-bottom: 1px solid #d7e9dd;
}

.nav-links {
    display: flex;
    gap: 12px;
}

.nav-links a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #e8f4ea;
    font-weight: 500;
    background: transparent;
    border: 1px solid transparent;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.nav-links a.active {
    background: #1c8b4a;
    color: #ffffff;
}

.nav-links a:hover {
    background: #1c8b4a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}



/* -----------------------------
   HERO SECTION
--------------------------------*/
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 80px;
    gap: 40px;
}

.hero-text {
    max-width: 500px;
}

.button-group {
    margin-top: 20px;
}

.btn-primary {
    background: #1c8b4a;
    padding: 12px 20px;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 10px;
}

.btn-outline {
    border: 2px solid #1c8b4a;
    padding: 10px 18px;
    color: #1c8b4a;
    border-radius: 6px;
    text-decoration: none;
}

.hero-img img {
    width: 450px;
    border-radius: 12px;
}

/* -----------------------------
   “WHAT IS A PANTRY” SECTION
--------------------------------*/
.info-section {
    text-align: center;
    padding: 40px 20px;
}

.info-box-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.info-box {
    background: #d2e7d6;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
}

.icon {
    font-size: 30px;
    margin-bottom: 10px;
}

/* -----------------------------
   HOW IT WORKS SECTION
--------------------------------*/
.how-section {
    padding: 40px 20px;
    text-align: center;
}

.how-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: auto;
}

.steps {
    list-style: none;
    padding: 0;
}

.step-number {
    background: #1c8b4a;
    color: white;
    padding: 5px 10px;
    border-radius: 50%;
    margin-right: 10px;
}

/* -----------------------------
   IMPACT SECTION
--------------------------------*/
.impact-section {
    background: #0f3d28;
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-top: 40px;
}

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.stat {
    font-size: 18px;
}

/* -----------------------------
   ABOUT PAGE SECTIONS
--------------------------------*/
.about-hero {
    text-align: center;
    padding: 40px 200px 10px;
}

.story-section {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}

.story-img {
    flex: 1;
    min-width: 300px;
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.values-section {
    text-align: center;
    padding: 50px 20px;
}

.values-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.value-box {
    background: #d2e7d6;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
}

/* -----------------------------
   DONATE PAGE
--------------------------------*/
.contact-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.contact-list {
    list-style: none;
    padding: 0;
    font-size: 18px;
}

/* -----------------------------
   FOOTER
--------------------------------*/

.footer {
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    background: #0f3d28;
    color: white;
    font-size: 14px;
}
/* DONATION FORM */
.donation-form-section {
    max-width: 700px;
    margin: 40px auto;
    background: #e9ffeb;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.donation-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.donation-form input,
.donation-form textarea {
    padding: 10px;
    border: 1px solid #c7decf;
    border-radius: 6px;
    font-size: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row div {
    flex: 1;
}

.donation-form textarea {
    resize: vertical;
    height: 90px;
}

/* 3-COLUMN FOOTER */
.footer {
    background: #0f3d28;
    color: white;
    padding: 40px 20px;
    margin-top: 50px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    text-align: left;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.pay-icon {
    width: 55px;
    margin: 5px;
}

.social-icon {
    width: 45px;
    margin-top: 10px;
}

/* Responsive footer */
@media (max-width: 800px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-col {
        text-align: center;
    }
}

/* -----------------------------
   RESPONSIVE (MEDIA QUERIES)
--------------------------------*/
@media (max-width: 850px) {
    .hero,
    .info-box-container,
    .how-content,
    .impact-stats,
    .story-section,
    .values-grid {
        flex-direction: column;
        text-align: center;
    }

    .hero-img img {
        max-width: 300px;
        margin: 20px auto;
    }

    .how-content img {
        max-width: 300px;
        margin: 0 auto 20px;
    }

    .contact-box,
    .value-box,
    .info-box {
        width: 100%;
    }
}

