/* --- Programs Page Dedicated Styles --- */

.programs-hero {
    position: relative;
    height: 380px;
    background-image: url('image/programs/global outreach.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.programs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 84, 172, 0.9) 0%, rgba(20, 190, 217, 0.75) 100%);
    z-index: 1;
}

.programs-hero .container {
    position: relative;
    z-index: 2;
}

.programs-hero h1 {
    font-size: 45px;
    color: var(--white);
    margin-top: 1rem;
}

.projects-breadcrumb {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.projects-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.projects-breadcrumb span {
    display: flex;
    align-items: center;
}

.projects-breadcrumb i {
    width: 14px;
    height: 14px;
}

/* --- Programs Grid Section --- */
.programs-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.programs-section .section-header {
    max-width: 900px;
    margin: 0 auto 4.5rem;
    text-align: center;
}

.programs-section .section-header h2 {
    font-size: 38px;
    color: var(--primary-navy);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.programs-section .section-header p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;

    }
}

.programs-section .program-card {
    background-color: #f8fafc;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, background-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.programs-section .program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    background-color: var(--primary-cyan);
}

.programs-section .img-wrapper {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.programs-section .program-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.programs-section .program-card:hover img {
    transform: scale(1.04);
}

.programs-section .card-body {
    padding: 2.5rem 2.25rem 5rem 2.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.programs-section .card-body h4 {
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.programs-section .card-body p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.programs-section .program-card:hover .card-body h4,
.programs-section .program-card:hover .card-body p {
    color: var(--white);
}

.programs-section .circle-btn {
    position: absolute;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 2.75rem;
    height: 2.75rem;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transition: background-color 0.4s ease, transform 0.4s ease, color 0.4s ease;
}

.programs-section .program-card:hover .circle-btn {
    background-color: var(--primary-yellow);
    color: var(--primary-navy);
    transform: scale(1.05);
}

.programs-section .circle-btn i {
    width: 20px;
    height: 20px;
}

/* --- Support Split Section (Using provided support image) --- */
.about-support-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
}

.about-support-img {
    background-image: url('image/programs/Support Our Mission.jpg');
    background-size: cover;
    background-position: center;
}

.about-support-content {
    background: var(--primary-cyan);
    padding: 4rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-support-content h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.about-support-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 500px;
}

/* --- Responsive Layouts --- */
@media (max-width: 991px) {
    .about-support-split {
        grid-template-columns: 1fr;
    }

    .about-support-img {
        height: 300px;
    }

    .about-support-content {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 767px) {
    .programs-hero {
        height: 300px;
    }

    .programs-hero h1 {
        font-size: 28px !important;
    }

    .programs-section {
        padding: 4rem 0;
    }

    .programs-section .section-header h2 {
        font-size: 28px;
    }

    .programs-section .section-header p {
        font-size: 0.95rem;
    }

    .programs-section .img-wrapper {
        height: 220px;
    }

    .programs-section .card-body {
        padding: 2rem 1.75rem 4.5rem 1.75rem;
    }

    .programs-section .card-body h4 {
        font-size: 1.2rem;
    }

    .programs-section .card-body p {
        font-size: 0.88rem;
    }

    .about-support-content h2 {
        font-size: 28px;
    }
}