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

/* HERO */
.hero {
    position: relative;
    min-height: 975px;
    display: flex;
    align-items: center;
    background: url('../images/ifc-bg-1.webp') center/cover no-repeat;
}

.hero-inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 90px;
}

.hero-content {
    max-width: 520px;
}

.hero-video {
    width: 560px;
}

.hero-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    box-shadow:
        0 8px 18px rgba(0,0,0,0.18);
}

.hero-divider {
    position: absolute;
    left: 0;
    bottom: -35px;
    width: 100%;
    height: 300px;
    background:
        url('../images/hero-divider.webp')
        center bottom / 100% 100% no-repeat;
    z-index: 10;
}

/* SERVICES */
.services {
    position: relative;
    padding: 20px 0 180px;
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: start;
	padding-top: 60px;
}

/* staggered resting positions */
.service-card:nth-child(1),
.service-card:nth-child(3),
.service-card:nth-child(5) {
    margin-top: 140px;
}

.service-card:nth-child(2),
.service-card:nth-child(4) {
    margin-top: 0;
}

/* animation setup */
.service-card {
    text-align: center;
    opacity: 0;
    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
}

.animate-up {
    transform: translateY(120px);
}

.animate-down {
    transform: translateY(-120px);
}

.service-card.visible {
    opacity: 1;
}

.animate-up.visible,
.animate-down.visible {
    transform: translateY(0);
}

.service-card img {
    width: 170px;
    margin: 0 auto 40px;
}

.service-card p {
    max-width: 240px;
    margin: 0 auto;
    font-size: 16px;
    font-style: italic;
    line-height: 1.5;
    color: #5a5a5a;
}

.service-card .btn {
    margin-top: 25px;
}

/* DEVELOPMENT */
.development {
    position: relative;
    padding: 110px 0 14px;
    background: url('../images/ifc-bg-2.webp') bottom/cover no-repeat;
    overflow: hidden;
}

.development-inner {
    display: flex;
    justify-content: center;
}

.development-card {
    position: relative;
    width: 100%;
    max-width: 700px;
    background: #98000f;
    border-top: 4px solid #000;
	border-left: 4px solid #000;
	border-right: 4px solid #000;
    padding-top: 260px;
}

.development-video {
    position: absolute;
    top: -125px;
    left: 70px;
    width: 720px;
    z-index: 5;
}

.development-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.25);
}

/* content */
.development-content {
    padding: 65px 45px 75px;
}

.development-content h2 {
	text-align: left;
	font-size: 52px;
    color: #fff;
}

.development-cta {
    margin-top: 60px;
    text-align: center;
}

/* TRAINING */
.training-section {
    padding: 140px 0;
    background: #f3f3f3;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: start;
    max-width: 875px;
    margin: 0 auto;
}

.training-col {
    text-align: center;
}

/* images */
.training-image {
    width: 100%;
    max-width: 430px;
    margin: 0 auto 35px;
    display: block;
}

/* headings */
.training-col h3 {
	font-size: 36px;
	font-weight: 400;
}

/* red blocks */
.training-callout {
    background: #98000F;
    padding: 60px 45px;
    margin: 0 auto 40px;
    max-width: 430px;
}

/* animation states */
.reveal-up,
.reveal-down,
.reveal-fade {
    opacity: 0;
    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
}

.reveal-up {
    transform: translateY(120px);
}

.reveal-down {
    transform: translateY(-120px);
}

.reveal-fade {
    transform: scale(0.92);
}

.reveal-up.visible,
.reveal-down.visible,
.reveal-fade.visible {
    opacity: 1;
    transform: translate(0,0) scale(1);
}

/* PARTNERS */
.partners {
    padding: 40px 0 160px;
    background:
        url('../images/ifc-bg-3.webp') top/cover no-repeat;
}

.partner-group {
    text-align: center;
    margin-top: 140px;
}

.partner-group h2 {
    margin-bottom: 35px;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0 auto;
}

.partner-logos img {
    max-height: 85px;
    width: auto;
    object-fit: contain;
}

.partners-cta {
    margin-top: 100px;
    text-align: center;
}

/* COMMUNITY IMPACT */
.community-impact {
    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;
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.impact-kicker {
    display: block;
    margin-bottom: 22px;
    font-family: 'Antonio', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d5a647;
}

.impact-content h2 {
    margin-bottom: 30px;
    text-align: left;
    font-size: 58px;
    color: #fff;
}

.impact-content p {
    max-width: 580px;
    color: rgba(255,255,255,.8);
}

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

.impact-stat {
    min-height: 190px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
}

.impact-stat-main {
    grid-row: span 2;
    min-height: 400px;
    background: #98000f;
    border: none;
}

.impact-stat strong {
    display: block;
    margin-bottom: 12px;
    font-family: 'Antonio', sans-serif;
    font-size: 54px;
    line-height: 1;
    color: #d5a647;
}

.impact-stat-main strong {
    font-size: 92px;
    color: #fff;
}

.impact-stat span {
    font-size: 16px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}