/* Stat Section */
.stat-section {
    padding-bottom: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.stat-section:after {
    content: "";
    width: 100%;
    height: calc(100% - 9rem);
    position: absolute;
    bottom: 0;
    background-color: var(--color-blue-100);
}

.stat-section__pattern {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
    opacity: 0.1;
    pointer-events: none;
}

.stat-section__inner {
    position: relative;
    z-index: 1;
    padding: 1.5625rem 1.375rem 2.5rem;
    border-radius: var(--border-radius);
    background: var(--color-rainbow-gradient);;
}

.stat-section__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.stat-section__cta {
    margin-top: 1.5625rem;
}

.stat-section__cta .btn:not(.btn--link) {
    padding: 1rem 1.5625rem;
    font-size: 1.125rem;
}

/* Stat Item */
.stat-item {
    color: var(--color-white);
}

.stat-item__value {
    margin-bottom: 0.625rem;
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 0.7;
    color: var(--color-white);
}

.stat-item__label {
    font-size: var(--font-size-subheading);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .stat-section__inner {
        padding: 2rem 3.25rem;
    }

    .stat-section__cta {
        text-align: left;
    }

    .stat-item {
        text-align: left;
    }
}

@media (min-width: 1200px) {
    .stat-section__item-group {
        flex: auto;
    }

    .stat-section__inner {
        padding: 3.4375rem 3.9375rem;
    }
    
    .stat-section__content {
        display: flex;
        align-items: center;
        gap: 3.25rem;
    }

    .stat-section__cta {
        flex: 0 0 auto;
        margin-top: 0;
    }

    .stat-item__value {
        font-size: 5rem;
    }
}

@media (min-width: 1600px) {
    .stat-section__inner {
        padding: 3.4375rem 4rem;
    }

    .stat-item__value {
        font-size: 6.25rem;
    }
}