﻿.stats-section {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

    .stats-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
        color: #333;
    }

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stat-box {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stat-box:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    }

.overlay {
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1.2rem;
}
