/* Content and Stats Section */

.content-and-stats-section .section-introduction {
    display: grid;
    justify-items: flex-start;
    align-self: center;
    margin-right: auto;
}

.content-and-stats-section .stats-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-self: center;
}

.content-and-stats-section .stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 0 10px rgb(255 255 255 / 10%);
    padding: 20px 30px;
}

/* Stat figure — number + prefix/suffix */
.content-and-stats-section .stat-figure {
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
    gap: 2px;
    min-width: 110px;
}

.content-and-stats-section .stat-prefix,
.content-and-stats-section .stat-number,
.content-and-stats-section .stat-suffix {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--blue, #197dbc);
}

/* ---- Animation initial states ---- */
.content-and-stats-section .stat-prefix {
    opacity: 0;
    transform: translateX(-10px);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.content-and-stats-section .stat-number {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.content-and-stats-section .stat-suffix {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-and-stats-section .stat-info {
    flex: 1;
    min-width: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* ---- Animation active states (JS-driven classes) ---- */
.content-and-stats-section .stat-prefix.is-in {
    opacity: 1;
    transform: translateX(0);
}

.content-and-stats-section .stat-number.is-in {
    opacity: 1;
}

.content-and-stats-section .stat-suffix.is-in {
    opacity: 1;
}

.content-and-stats-section .stat-info.is-in {
    opacity: 1;
}

/* ---- Stat info typography ---- */
.content-and-stats-section .stat-info {
    color: var(--dark-blue, #0a3e3f);
}
.content-and-stats-section .stat-info :is(h2, h3, h4, h5, strong, b) {
    display: block;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.893px;
    text-transform: capitalize;
    margin-bottom: 6px;
}

.content-and-stats-section .stat-info p {
    font-size: 13px;
    font-weight: 400;
}

@media (min-width: 992px) {
    .content-and-stats-section .section-introduction {
        max-width: 635px;
    }
}

@media (max-width: 575px) {
    .content-and-stats-section .stat-item {
        padding: 20px 24px;
        gap: 18px;
    }

    .content-and-stats-section .stat-prefix,
    .content-and-stats-section .stat-number,
    .content-and-stats-section .stat-suffix {
        font-size: 44px;
        letter-spacing: -1px;
    }

    .content-and-stats-section .stat-figure {
        min-width: 70px;
    }

    .content-and-stats-section .stat-info :is(h2, h3, h4, h5, strong, b) {
        font-size: 16px;
    }

    .content-and-stats-section .stat-info p {
        font-size: 12px;
    }
}
