﻿/*==========================================================
    STATS STRIP
==========================================================*/

.stats-strip {
    position: relative;
    margin-top: -55px;
    z-index: 30;
}

.stats-strip::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 55px;
    bottom: 0;
    background: #fff;
    z-index: -1;
}

/*==========================================================
    GRID
==========================================================*/

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    border: 1px solid #edf2f7;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

/*==========================================================
    CARD
==========================================================*/

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-right: 1px solid #edf2f7;
    transition: .25s ease;
}

.stat-card:last-child {
    border-right: none;
}

.stat-card:hover {
    background: #fbfcff;
}

/*==========================================================
    ICON
==========================================================*/

.stat-icon {

    width: 46px;
    height: 46px;
    min-width: 46px;

    border-radius: 14px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:linear-gradient(135deg,#2F6BFF,#5C95FF);

    box-shadow:0 10px 20px rgba(47,107,255,.20);

}

.stat-icon i{

    color:#fff;
    font-size:18px;

}

/*==========================================================
    INFO
==========================================================*/

.stat-info{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;

    text-align:left;

    flex:1;

}

.stat-number{

    margin:0;

    font-size:18px;

    font-weight:800;

    color:#0F172A;

    line-height:1;

}

.stat-title{

    margin-top:3px;

    font-size:14px;

    font-weight:700;

    color:#1E293B;

    line-height:1.25;

}

.stat-subtitle{

    margin-top:6px;

    font-size:11px;

    color:#64748B;

    line-height:1.45;

}

/*==========================================================
    RESPONSIVE
==========================================================*/

@media(max-width:1400px){

    .stats-grid{

        grid-template-columns:repeat(3,1fr);

    }

    .stat-card{

        border-bottom:1px solid #edf2f7;

    }

    .stat-card:nth-child(3n){

        border-right:none;

    }

}

@media(max-width:992px){

    .stats-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .stat-card:nth-child(even){

        border-right:none;

    }

}

@media(max-width:768px){

    .stats-strip{

        margin-top:-30px;
        padding-bottom:45px;

    }

    .stats-grid{

        grid-template-columns:1fr;

    }

    .stat-card{

        border-right:none;
        border-bottom:1px solid #edf2f7;
        padding:18px;

    }

    .stat-card:last-child{

        border-bottom:none;

    }

}