/**
 * Number Stats Block
 * Styles for the statistics section displaying numeric values with descriptions
 */

.number-stats {
    position: relative;
    padding: 60px 0;
    z-index: 1;
}

.number-stats:not(.bg-dark) {
    background: #F6F4EE;
}

.number-stats__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.number-stats__flex {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 0;
}

.number-stats__col {
    width: 50%;
    text-align: center;
}

.number-stats__number {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 10px solid #FED141;
    box-shadow: 0 0 20px 0 #FED141;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    font-weight: 900;
    color: #000000;
    margin: 0 auto;
}

.bg-dark .number-stats__number {
    color: var(--white);
}

.number-stats__text {
    margin: 15px auto 0;
    font-size: 18px;
    line-height: normal;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    max-width: 107px;
}

.bg-dark .number-stats__text {
    color: var(--white);
}

/* Enhanced styles from Copy 2 - add new classes if created */

.number-stats__wrapper {
    position: relative;
    z-index: 2;
}

.number-stats__item {
    transition: transform 0.3s ease;
}

.number-stats__item:hover {
    transform: translateY(-5px);
}

.number-stats__value {
    position: relative;
    transition: all 0.3s ease;
}

.number-stats__label {
    transition: color 0.3s ease;
}

.number-stats__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.number-stats__bg--mobile,
.number-stats__bg--tablet,
.number-stats__bg--desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .number-stats {
        padding: 50px 0;
    }
    .number-stats__flex {
        gap: 50px 0;
        max-width: 520px;
        margin: 0 auto;
    }
    .number-stats__col {
        width: 50%;
        text-align: center;
    }
    .number-stats__number {
        width: 134px;
        height: 134px;
    }
    .number-stats__text {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .number-stats__flex {
        gap: 50px 30px;
        max-width: 100%;
        justify-content: center;
    }
    .number-stats__col {
        width: calc(25% - 22.5px);
        max-width: 280px;
    }
    .number-stats__number {
        font-size: 32px;
    }
}