

.counter-wrapper{
    background: url(img/success2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 1.5rem;
    padding: 10rem 9%;
    margin-top: 5rem;
    position: relative;
}
.counter-wrapper::before{
    position: absolute;
    content: '';
    content: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}
.counter{
   text-align: center;   
   color: #272121;
   z-index: 2;
   position: relative;
   flex: 0 0 auto;
   padding: 0 10px;
}
.counter::before{
    position: absolute;
    content: '';
    bottom: -2rem;
    left: 50%;
    width: 20%;
    height: .2rem;
    background: #4DB7FE;
    border-radius: .5rem;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    -o-border-radius: .5rem;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.counter .count{
    font-size: 3rem;
    margin-bottom: 1rem;    
}
.counter p{
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}







@media (max-width: 991px) {
    html{
        font-size: 55%;
    }
}
@media (max-width: 768px) {
   .counter-wrapper{
       grid-template-columns: repeat(2, 1fr);
       grid-row-gap: 8rem;
   }
}
@media (max-width: 450px) {
    html{
        font-size: 50%;
    }
    .counter-wrapper{
        grid-template-columns: 1fr;
    }
}

/* 

@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }

  .slider::-webkit-scrollbar{
    width:0;
}
  
  .slider{
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    width: auto;
    overflow-x: auto;
    
}
  
  
  .slider:hover .slide-track {
    animation-play-state: paused;
  }

  .slider .slide{
    height: 160px;
    width: 350px;
  }
  
  .slide-track {
    width: calc(270px * 6);
    display: flex;
    animation: 45s slide infinite linear;
  }
  
   */

   @keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .slider::-webkit-scrollbar {
    width: 0;
  }
  
  /* .slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    width: auto;
    overflow-x: auto;
    white-space: nowrap;
  } */

  .slider{
    position: relative;
    display: flex;
  }
  
  .slider:hover .slide-track {
    animation-play-state: paused;
  }
  
  .slide {
    height: 160px;
    width: 350px;
  }
  
  .slide-track {
    width: calc(350px * 6); /* Adjust the width based on the number of slide elements */
    display: flex;
    animation: 45s slide infinite linear; /* Adjust the animation duration based on your preference */
    display: inline-flex;
    gap:5px;
    margin-left: 15%;
}
.slider-wrapper {
   
    padding: 20px;
    max-width: 5660px; /* Adjust the width as desired */
    margin: 0 auto;
    align-items: center;
    display: flex;
  }
  
 
  .slide-track {
    width: calc(270px * 6);
    display: flex;
    animation: 45s slide infinite linear;
  }
  
  