.slider1 {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: auto;
}

.ptd{
  padding: 8%;
}
 @media (max-width: 600px) {
  .container-fluid1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* Stack buttons vertically */
  }
.ptd{
  padding: 2%;
}
  .col-12 {
    width: 50%!important;
    /* Full width on mobile */
    margin-bottom: 10px;
    padding: 10px;
   border-bottom: 2px solid black;

  }

  .ament{
     border-bottom: none;
  }
  .ament img{
  height: 50px!important;
  width: 60px!important;
}

.ament p{
  font-size: .9rem;
}
}
.slide-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* Width dynamically calculated based on the number of slides */
  width: calc(100% * 8); /* Update this according to the number of slides */
}

ul li{
  list-style: none;
}
.slide1 {
  min-width: 33.33%; /* Each slide occupies 33.33% of the parent container by default */
  padding: 10px;
  box-sizing: border-box;
}
.ament img{
  height: 100px;
  width: 120px;
}
.slide1 .card {
  padding: 10px;
  height: 100%; /* Make sure cards have the same height */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  border: 2px solid #04944D!important;
  color: #fff;
  font-size: 1.1rem;
  border: none;
}

.slide1 .card img {
  height: 250px;
  width: 100%;
  object-fit: cover; /* Ensure images maintain aspect ratio */
  border-radius: 10px;
}

.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.slider-nav button {
  padding: 10px 20px;
  background-color: #04944D;
  border: none;
  color: white;
  cursor: pointer;
  margin: 0 10px;
}

.slider-nav button:hover {
  background-color: #04944D;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .slide1 {
    min-width: 50%; /* Show 2 items per view on smaller screens */
  }
  .slide1 .card img {
    height: 200px; /* Reduce height for smaller screens */
    width: 100%;
  }
}

@media (max-width: 480px) {
  .slide1 {
    min-width: 100%; /* Show 1 item per view on mobile screens */
  }
  .slide1 .card img {
    height: 150px; /* Adjust height further on smaller screens */
  }
}



/*  */

    /* Client Carousel Container */
    .client-carousel {
      background: white;
      box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);
      height: 220px;
      margin: auto;
      overflow: hidden;
      position: relative;
      width: 100%;
    }

    .client-carousel::before,
    .client-carousel::after {
      background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
      content: "";
      height: 220px;
      position: absolute;
      width: 200px;
      z-index: 2;
    }

    .client-carousel::after {
      right: 0;
      top: 0;
      transform: rotateZ(180deg);
    }

    .client-carousel::before {
      left: 0;
      top: 0;
    }

    .client-slide-track {
      animation: scroll 40s linear infinite;
      display: flex;
      width: calc(250px * 14); /* Update this width based on the number of slides */
    }

    .client-slide {
      height: 200px;
      width: 100%;
      padding: 10px;
      align-items: center;
      display: flex;
      justify-content: center;
    }

    .client-slide img {
      height: 250px;
      width: 100%;
      max-height: 100%;
    }

    @keyframes scroll {
      0% {
          transform: translateX(0);
      }
      100% {
          transform: translateX(calc(-250px * 7));
      }
    }

    /* Animation Styles */
    .fade-in {
      opacity: 0;
      animation: fadeIn 2s forwards;
    }

    @keyframes fadeIn {
      0% {
          opacity: 0;
      }
      100% {
          opacity: 1;
      }
    }

    .slide-in {
      transform: translateX(-100%);
      opacity: 0;
      animation: slideIn 1.5s forwards;
    }

    @keyframes slideIn {
      0% {
          transform: translateX(-100%);
          opacity: 0;
      }
      100% {
          transform: translateX(0);
          opacity: 1;
      }
    }

    /* animation */

     .grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-areas:
        "img1 img1 img2"
        "img3 img4 img5"
        "img6 img7 img7";
      gap: 15px;
      max-width: 900px;
      width: 100%;
    }

    .grid img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 12px;
      opacity: 0;
      /*transform: scale(0.85);*/
     
    }

    .img1 { grid-area: img1;  }
    .img2 { grid-area: img2;  }
    .img3 { grid-area: img3;  }
    .img4 { grid-area: img4; }
    .img5 { grid-area: img5; }
    .img6 { grid-area: img6;  }
    .img7 { grid-area: img7; }

    @keyframes zoomFadeIn {
      0% {
        opacity: 0;
        transform: scale(0.85);
      }
      100% {
        opacity: 1;
        transform: scale(1);
      }
    }

    /* Mobile responsive */
    @media (max-width: 768px) {
      .grid {
        grid-template-columns: 1fr;
        grid-template-areas:
          "img1"
          "img2"
          "img3"
          "img4"
          "img5"
          "img6"
          "img7";
      }

      .grid img {
        height: auto;
      }
    }



    