/* =========================
   STATS SECTION
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
    background:#f5f5f5;
}

.stats-section{
    padding:30px 10px;
}

.stats-container{

    max-width:1000px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(4,1fr);

    background:#fff;
    border-radius:12px;
    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.stat-box{

    padding:40px 20px;
    text-align:center;

    border-right:1px solid #d8ead8;
    border-bottom:1px solid #d8ead8;

    transition:.3s;
}

.stat-box:hover{

    background:#f7fff8;
    transform:translateY(-5px);

}

.stat-box:nth-child(4),
.stat-box:nth-child(8){

    border-right:none;

}

.stat-box:nth-last-child(-n+4){

    border-bottom:none;

}

.stat-box h2{

    display:inline;
    font-size:40px;
    color:#184d35;
    font-weight:bold;
}

.stat-box span{

    font-size:45px;
    color:#184d35;
    font-weight:bold;
}

.green{
    color:#20c55a !important;
}

.stat-box p{

    margin-top:12px;
    color:#666;
    font-size:18px;
    line-height:1.5;
}

/* Tablet */

@media(max-width:992px){

    .stats-container{

        grid-template-columns:repeat(2,1fr);

    }

    .stat-box{

        border-right:1px solid #d8ead8;
        border-bottom:1px solid #d8ead8;

    }

    .stat-box:nth-child(even){

        border-right:none;

    }

    .stat-box:nth-last-child(-n+2){

        border-bottom:none;

    }

}

/* Mobile */

@media(max-width:576px){

    .stats-container{

        grid-template-columns:1fr;

    }

    .stat-box{

        border-right:none;
        border-bottom:1px solid #d8ead8;

    }

    .stat-box:last-child{

        border-bottom:none;

    }

    .stat-box h2{

        font-size:38px;

    }

    .stat-box span{

        font-size:35px;

    }

    .stat-box p{

        font-size:16px;

    }

}