/* ==========================================================================
   IMPACT & UPDATES PAGE STYLES
   ========================================================================== */

/* --- Impact Hero --- 
   Matches the premium feel of the index.html hero card structure */
.impact-hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 0 100px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.text-gradient {
    background: linear-gradient(45deg, #6d28d9, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* --- Project Updates Section --- */
.update-card-featured {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    margin-top: 40px;
}

/* Image Stack Effect for update-1 and update-2 */
.update-images {
    position: relative;
    padding-bottom: 40px; /* Space for the overlapping image */
}

.featured-update-img {
    width: 90%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.sub-update-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    border: 8px solid #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* --- MoMo Highlight Box --- 
   Specifically for the MoMo Account: 054 515 8517 */
.momo-highlight-box {
    background: #f5f3ff;
    border: 2px dashed #6d28d9;
    padding: 25px;
    border-radius: 20px;
    margin-top: 30px;
    text-align: center;
}

.momo-highlight-box p {
    margin: 0;
    color: #4b5563;
    font-size: 0.9rem;
}

.momo-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #6d28d9;
    margin-top: 5px !important;
}

/* --- Impact Evidence Gallery --- */
.impact-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.impact-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.impact-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.impact-card:hover img {
    transform: scale(1.05);
}

.impact-content {
    padding: 25px;
}

.impact-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2937;
}

.impact-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .update-card-featured {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
    }

    .update-images {
        height: 400px;
    }

    .featured-update-img {
        width: 100%;
    }

    .sub-update-img {
        width: 60%;
        height: 200px;
    }
}

@media (max-width: 640px) {
    .impact-hero h1 {
        font-size: 2.5rem;
    }

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

    .update-images {
        height: 300px;
    }

    .momo-num {
        font-size: 1.4rem;
    }
}