
.shreya-home-counter-section{
    height: auto;
    background-image: url(../../../images/home/counter/counterbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding:120px 0px;
}
.shreya-home-counter-section .shreya-home-main-container{
    /* width: 100%; */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* border: 1px solid black; */
    flex-wrap: wrap;
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container{
    width: 80%;
    height: auto;
    /* border: 1px solid black; */
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 10px;
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count{
    position: relative;
    width: 250px;
    height: 160px;
    box-shadow:inset 0px 0px 10px 1px  rgba(99, 98, 98, 0.682);
    border-radius: 5px;
    /* overflow: hidden; */
}

.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count::before{
    content: '';
    position: absolute;
    border-bottom: 4px solid #003e4d;
    border-left: 4px solid #003e4d;
    width: 0px;
    height: 0px;
    bottom: 0px;
    left: 0px;
    transition: 0.6s ease-in-out;
    transform-origin: bottom left;
}


.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count::after{
    content: '';
    position: absolute;
    border-top: 4px solid #003e4d;
    border-right: 4px solid #003e4d;
    width: 0px;
    height: 0px;
    top: 0px;
    right: 0px;
    transition: 0.6s ease-in-out;
    transform-origin: top right;
}


.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count:hover::before,
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count:hover::after{
    width: 60px;
    height: 60px;
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count .shreya-home-sub-container-count-circle{
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
background: linear-gradient(#0b7e9b, #084252);
    top: -40px;
    left: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count .shreya-home-sub-container-count-circle i{
    color: #ffffff;
    font-size: 35px;
}
@keyframes premiumShake {
    0% { transform: scale(1) rotate(0deg); }
    20% { transform: scale(1.15) rotate(-6deg) translate(-3px, 2px); }
    40% { transform: scale(1.18) rotate(6deg) translate(3px, -2px); }
    60% { transform: scale(1.15) rotate(-6deg) translate(-3px, -2px); }
    80% { transform: scale(1.18) rotate(6deg) translate(3px, 2px); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Hover Apply */
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count:hover .shreya-home-sub-container-count-circle i{
    animation: premiumShake 0.6s ease-in-out;
}



.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count .shreya-home-sub-container-count-content{
    position: absolute;
    /* border: 1px solid red; */
    width: 250px;
    height: 160px;
    text-align: center;
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count .shreya-home-sub-container-count-content h2{
       color: rgb(239, 143, 38);
    padding-top: 40px;
    font-size: 33px;
    font-family: 'Nunito', sans-serif;
    transition: transform 0.5s ease;
}

.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count:hover h2{
    transform: scale(1.25);
    transition: transform 0.5s ease;
}

.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count .shreya-home-sub-container-count-content .shreya-student-zone-sholarship-btn{
    position: relative;
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count .shreya-home-sub-container-count-content .shreya-student-zone-sholarship-btn span{
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    color: #222;
    font-size: 26px;
    font-weight: 600;
    padding-top: 5px;
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count .shreya-home-sub-container-count-content .shreya-student-zone-sholarship-btn span 
span.shreya-sholarship-btn-text-1{
    position: relative;
    display: block;
    transition: 0.3s;
    transform: translateY(0);
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count .shreya-home-sub-container-count-content .shreya-student-zone-sholarship-btn span 
span.shreya-sholarship-btn-text-2{
    position: absolute;
    top: 100%;
    display: block;
    transition: 0.3s;
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count:hover .shreya-student-zone-sholarship-btn span 
span.shreya-sholarship-btn-text-1{
    transform: translateY(-100%);
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count:hover .shreya-student-zone-sholarship-btn span 
span.shreya-sholarship-btn-text-1{
    top: 0;
}
.shreya-home-counter-section .shreya-home-main-container .shreya-home-sub-container
.shreya-home-sub-container-count:hover .shreya-student-zone-sholarship-btn span 
span.shreya-sholarship-btn-text-2{
   transform: translateY(-100%);
}
@media(max-width:450px){
    .shreya-home-counter-section {
        padding:42px 0px;
    }
}