/* ==========================
   Stats Section
========================== */
.stats-section {
    background: var(--bs-white);
    /*border-bottom: 1px solid var(--bs-secondary-border-subtle);*/
}

.stats-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bs-gray-900);
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 24px 18px;
    background: var(--bs-gray-100);
    border-radius: 12px;
    border: 1px solid var(--bs-border-color);
    transition: all 0.35s ease;
    width: 100%;
    height: 100%;
    /* Background Image */
    /*background: url('../../img/stat-bg.png') center center no-repeat;
    background-size: contain;*/
}

.stat-card:hover {
    color: var(--bs-white);
    background-image: -webkit-linear-gradient(top, #cd0001 25%, #810001 100%);
}

.stat-card:hover h4 {
    color: var(--bs-white);
}

.stat-card .stat-number {
    position: absolute;
    font-size: 5rem;
    font-weight: 700;
    color: var(--bs-gray-200);
    line-height: 1;
    z-index: 1;
}

.stat-card .stat-text {
    position: relative;
    z-index: 2;
    margin: 0 0 17px;
    min-height: 58px;
    display: flex;
    align-items: center;
    line-height: 1.3;
    text-transform: uppercase;
}

.stat-card p {
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 991px) {
    .stat-card {
        min-height: 180px;
    }

    .stat-card .stat-number {
        font-size: 5rem;
    }

    .stat-card .stat-text {
        min-height: 52px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .stats-title {
        font-size: 1.5rem;
    }

    .stat-card {
        min-height: 150px;
    }

    .stat-card .stat-number {
        font-size: 4rem;
    }

    .stat-card .stat-text {
        min-height: auto;
    }
}