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

.counter{
    position:relative;
    padding:120px 0;
    background:url("assets/images/counter/counter-bg.jpg") center center/cover no-repeat;
    overflow:hidden;
}

.counter-overlay{
    position:absolute;
    inset:0;
    background:rgba(8,32,25,.82);
}

.counter .container{
    position:relative;
    z-index:2;
}

.counter .section-heading{
    text-align:center;
    margin-bottom:70px;
}

.counter .section-heading h2{
    color:#fff;
    font-size:48px;
    margin:20px 0;
    font-family:"Playfair Display",serif;
}

.counter .section-heading p{
    color:#ddd;
    max-width:700px;
    margin:auto;
    line-height:30px;
}

.counter-wrapper{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.counter-wrapper > .counter-box{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:25px;
    padding:45px 25px;
    text-align:center;
    transition:.4s;
}

.counter-wrapper > .counter-box:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 40px rgba(0,0,0,.25);
    background:#0f6b4b;
    border-color:#ffd86b;
}

.counter-wrapper > .counter-box i{
    width:90px;
    height:90px;
    line-height:90px;
    border-radius:50%;
    background:#ffd86b;
    color:#0f6b4b;
    font-size:34px;
    margin-bottom:25px;
    transition:.4s;
}

.counter-wrapper > .counter-box:hover i{
    transform:rotate(12deg) scale(1.08);
}

.counter-wrapper > .counter-box h3{
    font-size:52px;
    color:#fff;
    margin-bottom:12px;
    font-weight:700;
    background:linear-gradient(90deg,#FFD86B,#ffffff);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;
}

.counter-wrapper > .counter-box p{
    color:#eee;
    font-size:18px;
    margin:0;
}

.section-heading::after{

content:"";

display:block;

width:90px;

height:4px;

background:#FFD86B;

margin:25px auto 0;

border-radius:20px;

}


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

@media (max-width:991px){

    .counter{
        padding:80px 0;
    }

    .counter-wrapper{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    .counter .section-heading h2{
        font-size:38px;
    }

}

@media (max-width:768px){

    .counter{
        padding:70px 0;
    }

    .counter-wrapper{
        grid-template-columns:1fr;
        gap:20px;
    }

    .counter-wrapper > .counter-box{
        padding:35px 20px;
    }

    .counter-wrapper > .counter-box h3{
        font-size:42px;
    }

    .counter-wrapper > .counter-box p{
        font-size:16px;
    }

    .counter .section-heading h2{
        font-size:30px;
        line-height:1.3;
    }

    .counter .section-heading p{
        font-size:16px;
        line-height:28px;
    }

}

/* ==================================================
   NIHH AT A GLANCE — HOVER/STRUCTURE FIX
================================================== */

.counter-content{
    position:relative;
    width:100%;
    z-index:2;
}

.counter-content:hover{
    transform:none;
    box-shadow:none;
    background:transparent;
    border-color:transparent;
}
