/* --- Past Projects Page Styles --- */

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

.projects-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 190, 217, 0.85) 0%, rgba(20, 190, 217, 0.6) 100%);
    z-index: 1;
}

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

.projects-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;
}

/* --- Historical Initiatives Intro --- */
.historical-intro {
    padding: 6rem 0 4rem;
}

.historical-intro .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.historical-intro h2 {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 36px;
    color: var(--primary-navy);
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
}

.historical-intro h2::before,
.historical-intro h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #CBD5E1;
}

/* --- Project Rows (Spaced Layout) --- */
.project-section {
    padding: 5rem 0;
    overflow: hidden;
}

.project-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.project-row.reverse {
    flex-direction: row-reverse;
}

.project-content {
    flex: 1.1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-image-content {
    flex: 0.9;
    position: relative;
    min-height: auto;
    transition: transform 0.3s ease;
}

.project-image-content:hover {
    transform: translateY(-8px);
}

.project-image-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-content h3 {
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.project-content p {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-align: left;
}

.btn-circle-icon {
    background-color: var(--primary-navy);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
}

.btn-circle-icon i {
    width: 18px;
    height: 18px;
    color: var(--primary-yellow);
}

/* --- Support Split (Adopted from About Page) --- */
.about-support-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
}

.about-support-img {
    background-image: url('image/About Us/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;
}

.btn-donate-about {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-yellow);
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    width: max-content;
}

.btn-donate-about:hover {
    background: var(--primary-yellow-hover);
}

.btn-donate-about .arrow-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-navy);
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-donate-about .arrow-circle i {
    width: 16px;
    height: 16px;
}

/* --- Responsive --- */
@media (max-width: 991px) {

    .project-row,
    .project-row.reverse {
        flex-direction: column;
        gap: 2.5rem;
    }

    .about-support-split {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 767px) {
    .projects-hero h1 {
        font-size: 27px !important;
    }

    .project-content h3 {
        font-size: 24px;
    }

    .project-content p,
    .footer-col p {
        font-size: 14px !important;
    }
}