@charset "utf-8";
/* Infinite Fidelis Consulting | Impact CSS | V2.0 */

/* HERO */
.impact-hero {
    position: relative;
    overflow: hidden;
    padding: 275px 0 320px;
    background:
        linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
        url('../images/hero-community.webp') center/cover no-repeat;
}

.impact-hero-inner {
    position: relative;
    z-index: 5;
}

.impact-hero-content {
    max-width: 580px;
}

/* IMPACT STATS */
.impact-stats-section {
    padding: 0px;
    background: #fff;
}

.impact-stats-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.impact-stats-heading h2 {
    margin: 20px 0 25px;
}

.impact-stats-heading p {
    color: #333;
}

.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.impact-stat-card {
    padding: 55px 35px;
    text-align: center;
    background: #f5f5f5;
    border-top: 6px solid #98000f;
}

.impact-stat-card strong {
    display: block;
    margin-bottom: 18px;
    font-family: 'Antonio', sans-serif;
    font-size: 64px;
    line-height: 1;
    color: #98000f;
}

.impact-stat-card span {
    font-family: 'Antonio', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111;
}

/* STORIES */
.impact-stories {
    padding: 100px 0;
}

.story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 120px;
}

.story-row:last-child {
    margin-bottom: 0;
}

.story-row-reverse .story-image {
    order: 2;
}

.story-row-reverse .story-content {
    order: 1;
}

.story-image img {
    width: 100%;
    display: block;
    border: 8px solid #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.story-content h2 {
    margin-bottom: 30px;
    text-align: left;
}

.story-content p {
    color: #222;
}

/* IMPACT AREAS */
.impact-areas {
    padding: 100px 0;
}

.impact-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    margin-top: 70px;
}

.impact-area-card {
    padding: 46px 32px;
    background:
        linear-gradient(120deg, rgba(152, 0, 15, .96), rgba(78, 0, 8, .98)),
        url('../images/ifc-laurel.webp') center/cover no-repeat;
    border-top: 5px solid #d5a647;
    text-align: center;
    transition: .25s ease;
}

.impact-area-card i {
    margin-bottom: 26px;
    font-size: 42px;
    color: #d5a647;
}

.impact-area-card h3 {
    color: #fff;
}

.impact-area-card p {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

/* GALLERY */
.impact-gallery-section {
    padding: 80px 0 160px;
}

.impact-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 70px;
}

.impact-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border: 6px solid #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.impact-gallery a {
    display: block;
    cursor: zoom-in;
}

.impact-gallery a:hover img {
    transform: scale(1.03);
}

.impact-gallery img {
    transition: transform .25s ease;
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0,0,0,.88);
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-modal img {
    max-width: 92vw;
    max-height: 88vh;
    border: 6px solid #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    font-size: 48px;
    color: #fff;
    cursor: pointer;
}

.gallery-follow {
    margin-top: 55px;
    text-align: center;
}

.gallery-follow p {
    margin-bottom: 22px;
    font-family: 'Antonio', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-follow .socials {
    justify-content: center;
    margin-top: 0;
}

/* CTA */
.impact-cta {
    padding: 150px 0;
    background:
        linear-gradient(120deg, rgba(152, 0, 15, .96), rgba(78, 0, 8, .98)),
        url('../images/ifc-logo.webp') center/cover no-repeat;
    text-align: center;
}

.impact-cta h2,
.impact-cta p {
    color: #fff;
}

.impact-cta p {
    max-width: 720px;
    margin: 30px auto 45px;
}

.impact-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 22px;
}
