.impact-parallax {
    position: relative;
    height: 100vh;
    background-image: url("/static/images/war-impact-bg.jpg"); /* fallback */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    z-index: 0;
    color: white;
}

@supports (background-image: image-set(url('/static/img/war/impact-bg.avif') type('image/avif'))) {
    .impact-parallax {
        background-image: image-set(
            url('/static/img/war/impact-bg.avif') type('image/avif'),
            url('/static/images/war-impact-bg.jpg') type('image/jpeg')
        );
    }
}

.impact-parallax::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.55); /* overlay */
    z-index: 1;
}

.impact-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.impact-title {
    font-size: 2.5rem;
    margin-bottom: 4rem !important;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
}

.impact-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.stat {
    flex: 1 1 200px;
    min-width: 200px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

@media (max-width: 1280px) {
    .impact-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .impact-parallax {
        padding: 2rem 1rem;
    }
    .impact-stats {
        flex-direction: column;
    }
    .impact-title {
        font-size: 1.6rem;
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .impact-title {
        font-size: 1.4rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.9rem;
    }
}
