.stats-section {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 110vh;
    padding: 0px;
}


.stat-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    z-index: -1;
    opacity: 60%;
}


.stats-title {
    margin-top: auto;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--sp8);
    color: var(--color-text--secondary);
}

.stats-bg{
    inset: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    filter: contrast(110%);
    z-index: -2;
}


.stats {
    color: var(--color-text--secondary);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 400px;
    border-top: var(--border-s-alt);

}


.stat {
    border-left: var(--border-s-alt);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp6);
    text-align: center;
}

.stat-1 {
    border-left: none;
}



.stat-title {
    font-weight: 500;
    font-size: clamp(16px, 5vw, 24px);
}

.stat-number {
    font-weight: 1000;
    font-size: clamp(40px, 15vw, 100px);
}

@media (max-width: 1400px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);;
    }
    .stat-bot {
        border-top: var(--border-s-alt);
    }
    .stat {
        padding: var(--sp4);
    }
}