/*=========================================================
                COUNTER SECTION
=========================================================*/

.counter-section{

    position:relative;

    padding:110px 0;

    overflow:hidden;

    background:
    linear-gradient(
    180deg,
    #ffffff,
    #f6fff7
    );

}

/*=========================
        BACKGROUND
=========================*/

.counter-section::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    background:#dcfce7;

    border-radius:50%;

    filter:blur(120px);

    top:-180px;

    left:-180px;

    opacity:.45;

}

.counter-section::after{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    background:#bbf7d0;

    border-radius:50%;

    filter:blur(100px);

    right:-120px;

    bottom:-120px;

    opacity:.35;

}

/*=========================
        HEADER
=========================*/

.counter-header{

    max-width:760px;

    margin:auto;

    text-align:center;

    margin-bottom:70px;

}

.counter-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 20px;

    border-radius:999px;

    background:#ECFDF5;

    color:#15803D;

    font-weight:700;

    margin-bottom:20px;

}

.counter-badge i{

    font-size:20px;

}

.counter-header h2{

    font-size:48px;

    font-weight:800;

    color:#1F2937;

    margin-bottom:18px;

}

.counter-header h2 span{

    color:#16A34A;

}

.counter-header p{

    font-size:18px;

    line-height:1.8;

    color:#6B7280;

}

/*=========================
        GRID
=========================*/

.counter-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

/*=========================
        CARD
=========================*/

.counter-card{

    position:relative;

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(16px);

    border:1px solid rgba(255,255,255,.6);

    border-radius:24px;

    padding:40px 30px;

    text-align:center;

    transition:.35s ease;

    box-shadow:

    0 20px 45px rgba(0,0,0,.06);

}

.counter-card:hover{

    transform:translateY(-10px);

    box-shadow:

    0 35px 60px rgba(0,0,0,.12);

}

/* Top Border Animation */

.counter-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:4px;

    background:linear-gradient(
    90deg,
    #22C55E,
    #16A34A
    );

    transform:scaleX(0);

    transition:.35s;

    transform-origin:left;

}

.counter-card:hover::before{

    transform:scaleX(1);

}

/*=========================
        ICON
=========================*/

.counter-icon{

    width:72px;

    height:72px;

    margin:auto;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#ECFDF5;

    color:#16A34A;

    font-size:34px;

    margin-bottom:22px;

    transition:.35s;

}

.counter-card:hover .counter-icon{

    transform:rotate(12deg) scale(1.08);

}

/*=========================
        NUMBER
=========================*/

.counter-card h3{

    font-size:48px;

    font-weight:800;

    color:#166534;

    margin-bottom:10px;

}

.counter-card h4{

    font-size:22px;

    color:#1F2937;

    margin-bottom:12px;

}

.counter-card p{

    font-size:15px;

    color:#6B7280;

    line-height:1.7;

}

/*=========================
        RESPONSIVE
=========================*/

@media(max-width:1100px){

.counter-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.counter-section{

padding:80px 0;

}

.counter-header h2{

font-size:34px;

}

.counter-header p{

font-size:16px;

}

.counter-grid{

grid-template-columns:1fr;

gap:22px;

}

.counter-card{

padding:35px 25px;

}

.counter-card h3{

font-size:40px;

}

}