*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
/* ================================
   NAVBAR
================================ */

.navbar {
    width: 100%;
    background: #ffffff;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid #eeeeee;
    transition: 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Container */

.navbar .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    height: 16vh;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 150px;
    height: auto;
    display: block;
}

/* Navigation */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;

    color: #1f2933;
    text-decoration: none;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;

    transition: color 0.3s ease;
}

/* Hover */

.nav-link:hover {
    color: #176b3a;
}

/* Active link */

.nav-link.active {
    color: #176b3a;
}

/* Active / hover underline */

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: #f4c430;

    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Donate Button */

.donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 22px;

    background: #176b3a;
    color: #ffffff;

    text-decoration: none;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;

    border-radius: 6px;

    transition: all 0.3s ease;
}

.donate-btn:hover {
    background: #f4c430;
    color: #1f2933;

    transform: translateY(-2px);
}

/* Mobile Menu Button */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: none;
    background: transparent;

    color: #176b3a;

    font-size: 24px;

    cursor: pointer;
}
/* ========================================
   RESPONSIVE NAVBAR
======================================== */

@media (max-width: 1050px) {

    .navbar .container {
        width: 92%;
    }

    .nav-menu {
        gap: 18px;
    }

    .nav-link {
        font-size: 14px;
    }

    .donate-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

}


@media (max-width: 850px) {

    .navbar .container {
        width: 90%;
        min-height: 70px;
    }

    .logo img {
        width: 135px;
    }

    /* Show hamburger */

    .menu-toggle {
        width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        border: none;
        background: transparent;

        color: #176b3a;
        font-size: 24px;

        cursor: pointer;

        transition: color 0.3s ease;
        position: relative;
        z-index: 1001;
    }

    .menu-toggle:hover {
        color: #f4c430;
    }


    /* Mobile menu */

    .nav-menu {
        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding: 10px 5% 25px;

        gap: 0;

        background: #ffffff;

        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-15px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;

        z-index: 1000;
    }


    /* Open menu */

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    /* Links */

    .nav-link {
        width: 100%;

        padding: 15px 0;

        color: #1f2933;

        font-size: 15px;
        font-weight: 500;

        border-bottom: 1px solid #eeeeee;
    }


    .nav-link:hover,
    .nav-link.active {
        color: #176b3a;
    }


    /* Remove desktop underline */

    .nav-link::after {
        display: none;
    }


    /* Donate button */

    .donate-btn {
        width: 100%;

        margin-top: 15px;

        padding: 13px;

        text-align: center;
    }

}


/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 480px) {

    .navbar .container {
        width: 88%;
        min-height: 65px;
    }

    .logo img {
        width: 120px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;

        font-size: 22px;
    }

    .nav-menu {
        top: 65px;

        padding: 8px 6% 20px;
    }

    .nav-link {
        padding: 13px 0;

        font-size: 14px;
    }

    .donate-btn {
        padding: 12px;
        font-size: 14px;
    }

}


/* ========================================
   VERY SMALL PHONES
======================================== */

@media (max-width: 360px) {

    .navbar .container {
        width: 90%;
    }

    .logo img {
        width: 110px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;

        font-size: 20px;
       
    }

    .nav-menu {
        top: 65px;
    }

}

/* ========================================
   PROGRAMS HERO
======================================== */

.programs-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        url("../Images/heroimages/programs\ \(1\).JPG")
        center 45% / cover no-repeat;

    background-color: #176b3a;
}

/* Dark overlay for readable text */

.programs-hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(10, 43, 25, 0.88) 0%,
        rgba(10, 43, 25, 0.68) 55%,
        rgba(10, 43, 25, 0.35) 100%
    );
}

.programs-hero .container {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 85px 0;
}

.programs-hero-content {
    max-width: 750px;
}

/* Small label */

.programs-hero .section-tag {
    display: inline-block;

    color: #f4c430;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;

    margin-bottom: 20px;
}

/* Main heading */

.programs-hero h1 {
    color: #ffffff;

    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.2;

    margin-bottom: 22px;
}

.programs-hero h1 span {
    display: block;
    color: #f4c430;
}

/* Description */

.programs-hero p {
    max-width: 620px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 16px;
    line-height: 1.9;

    margin-bottom: 30px;
}

/* Breadcrumb */

.programs-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    font-size: 14px;
}

.programs-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.programs-breadcrumb a:hover {
    color: #f4c430;
}

.programs-breadcrumb i {
    color: #f4c430;
    font-size: 11px;
}

.programs-breadcrumb span {
    color: #f4c430;
}


/* ========================================
   HERO REVEAL ANIMATION
======================================== */

.programs-hero-content.reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.programs-hero-content.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {

    .programs-hero {
        min-height: 430px;

        background-position: 60% center;
    }

    .programs-hero .container {
        padding: 75px 0;
    }

    .programs-hero-content {
        max-width: 600px;
    }

    .programs-hero h1 {
        font-size: clamp(34px, 7vw, 48px);
    }

    .programs-hero p {
        font-size: 15px;
        line-height: 1.8;
    }

}

@media (max-width: 480px) {

    .programs-hero {
        min-height: 400px;
    }

    .programs-hero .container {
        width: 88%;
        padding: 65px 0;
    }

    .programs-hero .section-tag {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .programs-hero h1 {
        font-size: 34px;
        line-height: 1.25;
    }

    .programs-hero p {
        font-size: 14px;
    }

    .programs-breadcrumb {
        font-size: 12px;
        gap: 9px;
    }

}


/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {

    .programs-hero-content.reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}


/* ========================================
   SECTION 2: PROGRAMS INTRODUCTION
======================================== */

.programs-intro {
    padding: 100px 0;
    background: #ffffff;
}

.programs-intro .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading and description */

.programs-intro-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.programs-intro-content .section-tag {
    display: inline-block;
    margin-bottom: 16px;

    color: #176b3a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.programs-intro-content h2 {
    margin-bottom: 22px;

    color: #1f2933;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.3;
}

.programs-intro-content h2 span {
    color: #176b3a;
}

.programs-intro-content > p {
    max-width: 720px;
    margin: 0 auto;

    color: #667085;
    font-size: 15px;
    line-height: 1.9;
}

/* Feature cards */

.programs-intro-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.programs-intro-feature {
    padding: 35px 28px;

    text-align: center;
    background: #f2f8f4;

    border: 1px solid #e4eee7;
    border-radius: 16px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.programs-intro-feature:hover {
    transform: translateY(-8px);

    border-color: #2e8b57;
    box-shadow: 0 15px 35px rgba(23, 107, 58, 0.1);
}

/* Icons */

.programs-intro-icon {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    background: #ffffff;
    color: #176b3a;

    border-radius: 50%;
    font-size: 26px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.programs-intro-feature:hover .programs-intro-icon {
    background: #176b3a;
    color: #f4c430;
    transform: scale(1.08);
}

/* Card text */

.programs-intro-feature h3 {
    margin-bottom: 12px;

    color: #1f2933;
    font-size: 19px;
    font-weight: 600;
}

.programs-intro-feature p {
    margin: 0;

    color: #667085;
    font-size: 14px;
    line-height: 1.8;
}

/* Scroll reveal */

.programs-intro-content.reveal,
.programs-intro-feature.reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.programs-intro-content.reveal.show,
.programs-intro-feature.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger card animations */

.programs-intro-feature:nth-child(2) {
    transition-delay: 0.12s;
}

.programs-intro-feature:nth-child(3) {
    transition-delay: 0.24s;
}


/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 900px) {

    .programs-intro {
        padding: 80px 0;
    }

    .programs-intro-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .programs-intro-feature:last-child {
        grid-column: 1 / -1;
    }

}

@media (max-width: 600px) {

    .programs-intro {
        padding: 65px 0;
    }

    .programs-intro .container {
        width: 88%;
    }

    .programs-intro-content {
        margin-bottom: 38px;
    }

    .programs-intro-content h2 {
        font-size: 30px;
    }

    .programs-intro-content > p {
        font-size: 14px;
    }

    .programs-intro-features {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .programs-intro-feature,
    .programs-intro-feature:last-child {
        grid-column: auto;
        padding: 30px 24px;
    }

    .programs-intro-feature h3 {
        font-size: 18px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .programs-intro-feature,
    .programs-intro-icon,
    .programs-intro-content.reveal,
    .programs-intro-feature.reveal {
        transition: none;
        transform: none;
    }

}


/* ========================================
   SECTION 3: FEED A CHILD PROGRAM
======================================== */

.program-detail {
    padding: 100px 0;
    overflow: hidden;
}

.feed-program {
    background: #f2f8f4;
}

.program-detail .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.program-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

/* Program image */

.program-detail-image {
    position: relative;
    min-width: 0;
}

.program-detail-image img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(20, 55, 35, 0.12);

    transition: transform 0.5s ease;
}

.program-detail-image:hover img {
    transform: scale(1.02);
}

.program-image-label {
    position: absolute;
    left: 20px;
    bottom: 20px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 18px;
    border-radius: 10px;

    background: #ffffff;
    color: #176b3a;

    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.program-image-label i {
    color: #e0ad00;
    font-size: 17px;
}

/* Program content */

.program-detail-content {
    min-width: 0;
}

.program-detail-content .section-tag {
    display: inline-block;
    margin-bottom: 18px;

    color: #176b3a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.program-season {
    display: flex;
    align-items: center;
    gap: 9px;

    width: fit-content;
    margin-bottom: 20px;
    padding: 9px 14px;

    border-radius: 30px;
    background: #fff7d6;
    color: #604b00;

    font-size: 13px;
    font-weight: 600;
}

.program-season i {
    color: #176b3a;
}

.program-detail-content h2 {
    margin-bottom: 22px;

    color: #1f2933;
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.25;
}

.program-detail-content h2 span {
    display: block;
    color: #176b3a;
}

.program-description {
    margin-bottom: 17px;

    color: #667085;
    font-size: 14px;
    line-height: 1.9;
}

/* Program highlights */

.program-detail-points {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin: 25px 0 30px;
}

.program-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    color: #344054;
    font-size: 14px;
    line-height: 1.7;
}

.program-point i {
    flex-shrink: 0;
    margin-top: 3px;

    color: #2e8b57;
    font-size: 17px;
}

/* Buttons */

.program-detail-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.program-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;
    padding: 13px 18px;

    border: 2px solid transparent;
    border-radius: 7px;

    text-decoration: none;
    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.program-btn:hover {
    transform: translateY(-3px);
}

.program-btn-primary {
    background: #176b3a;
    color: #ffffff;
}

.program-btn-primary:hover {
    background: #2e8b57;
}

.program-btn-secondary {
    background: #ffffff;
    color: #176b3a;
    border-color: #176b3a;
}

.program-btn-secondary:hover {
    background: #176b3a;
    color: #ffffff;
}

/* Scroll reveal */

.program-detail-image.reveal,
.program-detail-content.reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.program-detail-image.reveal.show,
.program-detail-content.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.program-detail-content.reveal {
    transition-delay: 0.15s;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1000px) {

    .program-detail {
        padding: 80px 0;
    }

    .program-detail-grid {
        gap: 35px;
    }

    .program-detail-image img {
        height: 450px;
    }

    .program-detail-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .program-btn {
        width: 90%;
    }

}

@media (max-width: 700px) {

    .program-detail {
        padding: 65px 0;
    }

    .program-detail .container {
        width: 88%;
    }

    .program-detail-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .program-detail-image img {
        height: 380px;
    }

    .program-detail-content h2 {
        font-size: 34px;
    }

    .program-description {
        font-size: 14px;
    }

    .program-detail-buttons {
        flex-direction: column;
    }

}

@media (max-width: 420px) {

    .program-detail-image img {
        height: 300px;
        border-radius: 14px;
    }

    .program-image-label {
        left: 12px;
        bottom: 12px;
        padding: 10px 12px;
        font-size: 11px;
    }

    .program-detail-content h2 {
        font-size: 30px;
    }

    .program-btn {
        font-size: 12px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .program-detail-image img,
    .program-btn,
    .program-detail-image.reveal,
    .program-detail-content.reveal {
        transition: none;
        transform: none;
    }

}

/* ========================================
   SECTION 4: TEACH A CHILD
======================================== */

.teach-program {
    background: #ffffff;
}

/* Reverse the image and text columns on desktop */

.teach-program-grid {
    grid-template-columns: 1fr 1fr;
}

/* Yellow accent for this program's icon label */

.teach-program .program-image-label i {
    color: #d6a900;
}

/* Subtle background detail */

.teach-program .program-season {
    background: #fff7d6;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* On smaller screens, content stays above the image */

@media (max-width: 700px) {

    .teach-program-grid {
        grid-template-columns: 1fr;
    }

    .teach-program .program-detail-content {
        order: 1;
    }

    .teach-program .program-detail-image {
        order: 2;
    }

}
/* ========================================
   SECTION 5: HOW WE MAKE A DIFFERENCE
======================================== */

.program-impact {
    padding: 100px 0;
    background: #f2f8f4;
}

.program-impact .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading */

.program-impact-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.program-impact-heading .section-tag {
    display: inline-block;
    margin-bottom: 16px;

    color: #176b3a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.program-impact-heading h2 {
    margin-bottom: 20px;

    color: #1f2933;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.3;
}

.program-impact-heading h2 span {
    color: #176b3a;
}

.program-impact-heading p {
    margin: 0;

    color: #667085;
    font-size: 15px;
    line-height: 1.9;
}


/* Cards */

.program-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.program-impact-card {
    position: relative;

    padding: 38px 30px;

    background: #ffffff;

    border: 1px solid #e1ebe5;
    border-radius: 18px;

    text-align: center;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.program-impact-card:hover {
    transform: translateY(-8px);

    border-color: #2e8b57;

    box-shadow:
        0 18px 40px rgba(23, 107, 58, 0.1);
}


/* Number */

.program-impact-number {
    position: absolute;
    top: 15px;
    right: 20px;

    color: rgba(23, 107, 58, 0.08);

    font-size: 55px;
    font-weight: 700;
    line-height: 1;
}


/* Icon */

.program-impact-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 24px;

    background: #fff7d6;
    color: #176b3a;

    border-radius: 50%;

    font-size: 27px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.program-impact-card:hover .program-impact-icon {
    background: #176b3a;
    color: #f4c430;

    transform: scale(1.08);
}


/* Card text */

.program-impact-card h3 {
    margin-bottom: 13px;

    color: #1f2933;

    font-size: 19px;
    font-weight: 600;
}

.program-impact-card p {
    margin: 0;

    color: #667085;

    font-size: 14px;
    line-height: 1.8;
}


/* Reveal animation */

.program-impact-heading.reveal,
.program-impact-card.reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.program-impact-heading.reveal.show,
.program-impact-card.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* Stagger */

.program-impact-card:nth-child(2) {
    transition-delay: 0.12s;
}

.program-impact-card:nth-child(3) {
    transition-delay: 0.24s;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .program-impact {
        padding: 80px 0;
    }

    .program-impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* .program-impact-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
    } */

}


@media (max-width: 600px) {

    .program-impact {
        padding: 65px 0;
    }

    .program-impact .container {
        width: 88%;
    }

    .program-impact-heading {
        margin-bottom: 40px;
    }

    .program-impact-heading h2 {
        font-size: 30px;
    }

    .program-impact-heading p {
        font-size: 14px;
    }

    .program-impact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .program-impact-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .program-impact-card {
        padding: 32px 24px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .program-impact-card,
    .program-impact-icon,
    .program-impact-heading.reveal,
    .program-impact-card.reveal {
        transition: none;
        transform: none;
    }

}


/* ========================================
   SECTION 6: PROGRAM GALLERY
======================================== */

.program-gallery {
    padding: 100px 0;
    background: #ffffff;
}

.program-gallery .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* Heading */

.program-gallery-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.program-gallery-heading .section-tag {
    display: inline-block;
    margin-bottom: 15px;

    color: #176b3a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.program-gallery-heading h2 {
    margin-bottom: 18px;

    color: #1f2933;

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.3;
}

.program-gallery-heading h2 span {
    color: #176b3a;
}

.program-gallery-heading p {
    margin: 0;

    color: #667085;

    font-size: 15px;
    line-height: 1.8;
}


/* Gallery grid */

.program-gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


/* Gallery item */

.program-gallery-item {
    position: relative;

    height: 280px;

    overflow: hidden;

    border-radius: 14px;

    background: #f2f8f4;

    cursor: pointer;
}

.program-gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.program-gallery-item:hover img {
    transform: scale(1.07);
}


/* Overlay */

.program-gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(23, 107, 58, 0.65);

    opacity: 0;

    transition: opacity 0.35s ease;
}

.program-gallery-item:hover .program-gallery-overlay {
    opacity: 1;
}

.program-gallery-overlay i {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;
    color: #176b3a;

    font-size: 17px;

    transform: scale(0.7);

    transition: transform 0.35s ease;
}

.program-gallery-item:hover .program-gallery-overlay i {
    transform: scale(1);
}


/* Button */

.program-gallery-button {
    display: flex;
    justify-content: center;

    margin-top: 40px;
}

.program-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 22px;

    border-radius: 7px;

    background: #176b3a;
    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.program-gallery-btn:hover {
    background: #2e8b57;
    transform: translateY(-3px);
}


/* Reveal */

.program-gallery-heading.reveal,
.program-gallery-item.reveal,
.program-gallery-button.reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.program-gallery-heading.reveal.show,
.program-gallery-item.reveal.show,
.program-gallery-button.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* Stagger */

.program-gallery-item:nth-child(2) {
    transition-delay: 0.08s;
}

.program-gallery-item:nth-child(3) {
    transition-delay: 0.16s;
}

.program-gallery-item:nth-child(4) {
    transition-delay: 0.24s;
}

.program-gallery-item:nth-child(5) {
    transition-delay: 0.32s;
}

.program-gallery-item:nth-child(6) {
    transition-delay: 0.40s;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .program-gallery {
        padding: 80px 0;
    }

    .program-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .program-gallery {
        padding: 65px 0;
    }

    .program-gallery .container {
        width: 88%;
    }

    .program-gallery-heading {
        margin-bottom: 38px;
    }

    .program-gallery-heading h2 {
        font-size: 30px;
    }

    .program-gallery-heading p {
        font-size: 14px;
    }

    .program-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .program-gallery-item {
        height: 260px;
    }

}

@media (max-width: 380px) {

    .program-gallery-item {
        height: 220px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .program-gallery-item img,
    .program-gallery-overlay,
    .program-gallery-overlay i,
    .program-gallery-btn,
    .program-gallery-heading.reveal,
    .program-gallery-item.reveal,
    .program-gallery-button.reveal {
        transition: none;
        transform: none;
    }

}

/* ========================================
   SECTION 7 — GET INVOLVED CTA
======================================== */

.programs-cta {
    position: relative;

    padding: 100px 0;

    background-image: url("../Images/gallery/gallery5.jpg");
    background-size: cover;
    background-position: center;

    overflow: hidden;
}

.programs-cta-overlay {
    position: absolute;
    inset: 0;

    background: rgba(23, 107, 58, 0.88);
}

.programs-cta .container {
    position: relative;
    z-index: 2;
}

.programs-cta-content {
    max-width: 850px;
    margin: 0 auto;

    text-align: center;
}

.programs-cta .section-tag {
    color: #f4c430;
}

.programs-cta h2 {
    margin: 15px 0 20px;

    color: #ffffff;

    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
}

.programs-cta h2 span {
    display: block;
    color: #f4c430;
}

.programs-cta p {
    max-width: 700px;
    margin: 0 auto 35px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 16px;
    line-height: 1.8;
}

.programs-cta-buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}

.cta-btn {
    min-height: 50px;

    padding: 14px 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: #f4c430;
    color: #1f2933;
}

.cta-btn-primary:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

.cta-btn-secondary {
    background: #ffffff;
    color: #176b3a;
}

.cta-btn-secondary:hover {
    background: #f4c430;
    color: #1f2933;

    transform: translateY(-3px);
}

.cta-btn-donate {
    background: transparent;

    color: #ffffff;

    border: 2px solid #ffffff;
}

.cta-btn-donate:hover {
    background: #ffffff;
    color: #176b3a;

    transform: translateY(-3px);
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 850px) {

    .programs-cta {
        padding: 80px 0;
    }

    .programs-cta-content {
        max-width: 700px;
    }

    .programs-cta-buttons {
        gap: 12px;
       
    }

    .cta-btn {
        flex: 1 1 200px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .programs-cta {
        padding: 70px 0;
    }

    .programs-cta-content {
        width: 100%;
    }

    .programs-cta h2 {
        font-size: 32px;
    }

    .programs-cta p {
        font-size: 14px;
        line-height: 1.7;
    }

    .programs-cta-buttons {
        flex-direction: column;
        width: 100%;
        
    }

    .cta-btn {
        width: 80%;
        flex: none;

        padding: 14px 18px;
    }

}


/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 380px) {

    .programs-cta {
        padding: 60px 0;
    }

    .programs-cta h2 {
        font-size: 28px;
    }

    .cta-btn {
        font-size: 13px;
    }

}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

    .cta-btn {
        transition: none;
    }

    .cta-btn:hover {
        transform: none;
    }

}
/* ==================================================
   FOOTER
================================================== */

.footer {
    position: relative;
    background: #0d2f1d;
    color: #ffffff;
    overflow: hidden;
}


/* ==================================================
   DECORATIVE BACKGROUND
================================================== */

.footer::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    top: -230px;
    right: -150px;

    border-radius: 50%;

    background: rgba(244, 196, 48, 0.06);

    pointer-events: none;
}

.footer::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    bottom: -180px;
    left: -120px;

    border-radius: 50%;

    background: rgba(46, 139, 87, 0.12);

    pointer-events: none;
}


/* ==================================================
   FOOTER MAIN
================================================== */

.footer .container-footer {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 1200px;

    margin: 0 auto;
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.5fr
        0.8fr
        0.9fr
        1.4fr;

    gap: 55px;

    padding: 80px 0 65px;
}


/* ==================================================
   BRAND
================================================== */

.footer-brand {
    max-width: 330px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 22px;
}

.footer-logo img {
    width: 155px;
    height: auto;

    display: block;
}

.footer-brand p {
    max-width: 310px;

    margin: 0 0 25px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;
    line-height: 1.9;
}


/* ==================================================
   SOCIAL ICONS
================================================== */

.footer-socials {
    display: flex;
    align-items: center;

    gap: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);

    color: #ffffff;

    font-size: 14px;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.footer-socials a:hover {
    transform: translateY(-5px);

    background: #f4c430;
    border-color: #f4c430;

    color: #1f2933;
}


/* ==================================================
   FOOTER COLUMNS
================================================== */

.footer-column h3 {
    position: relative;

    margin: 0 0 25px;

    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
}


/* Small yellow line */

.footer-column h3::after{
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    margin-top: 9px;

    background: #f4c430;
}


.footer-column ul {
    padding: 0;
    margin: 0;

    list-style: none;
}

.footer-column li {
    margin-bottom: 13px;
}

.footer-column a {
    display: inline-block;

    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-column a:hover {
    color: #f4c430;

    transform: translateX(5px);
}
/* ==================================================
   FOOTER BOTTOM
================================================== */

.footer-bottom {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.42);

    font-size: 11px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;

    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.42);

    font-size: 11px;

    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #f4c430;
}


/* ==================================================
   FOOTER ENTRANCE ANIMATION
================================================== */

.footer-main {
    opacity: 0;
    transform: translateY(30px);

    animation: footerReveal 0.9s ease forwards;
}

@keyframes footerReveal {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==================================================
   LARGE LAPTOPS
================================================== */

@media (max-width: 1100px) {

    .footer-main {
        grid-template-columns:
            1.4fr
            0.8fr
            0.9fr
            1.3fr;

        gap: 35px;
    }
}


/* ==================================================
   TABLETS
================================================== */

@media (max-width: 900px) {

    .footer-main {
        grid-template-columns:
            1.2fr
            1fr
            1fr;

        gap: 45px;

        padding: 70px 0 55px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        min-height: auto;

        padding: 22px 0;
    }
}


/* ==================================================
   SMALL TABLETS / LARGE PHONES
================================================== */

@media (max-width: 700px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;

        gap: 40px 30px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-brand p {
        max-width: 500px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 550px) {

    .footer .container {
        width: 90%;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 60px 0 45px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-logo img {
        width: 145px;
    }

    .footer-brand p {
        max-width: 100%;

        font-size: 12px;
    }

    .footer-column h3{
        margin-bottom: 20px;
    }

    .footer-column li {
        margin-bottom: 11px;
    }

    .footer-column a {
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 12px;

        padding: 22px 0;
    }

    .footer-bottom-links {
        justify-content: center;

        flex-wrap: wrap;

        gap: 12px 20px;
    }

    .footer-bottom p {
        line-height: 1.6;
    }
}


/* ==================================================
   SMALL PHONES
================================================== */

@media (max-width: 380px) {

    .footer-main {
        padding-top: 50px;
    }

    .footer-socials a {
        width: 36px;
        height: 36px;

        font-size: 13px;
    }

   
    .footer-bottom-links {
        flex-direction: column;

        gap: 8px;
    }
}


/* ==================================================
   VERY SMALL PHONES
================================================== */

@media (max-width: 320px) {

    .footer .container {
        width: 92%;
    }

    .footer-logo img {
        width: 130px;
    }

    .footer-brand p {
        font-size: 11px;
    }

    .footer-socials {
        gap: 7px;
    }

    .footer-socials a {
        width: 34px;
        height: 34px;
    }
}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

    .footer-main {
        animation: none;

        opacity: 1;
        transform: none;
    }

    .footer-socials a,
    .footer-column a,
    .footer-bottom-links a {
        transition: none;
    }
}