/* .carousel-container {
  width: 100%;
  max-width: 90%;
  overflow: hidden;
  margin: auto;
  padding: 20px 0;
}

.carousel {
  display: flex;
  gap: 10px;
  animation: scroll 10s linear infinite;
  width: calc(120px * 9); 
}

.card {
  flex: 0 0 100%;
  width: 150px;
  height: 150px;
  max-width: 100%;
  background: white;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.card img {
  width: 120px  important;
  height: 150px  important; 
  border-radius: 10px;
  object-fit: cover;
}

.card p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  align-items: center;
}


@media (min-width: 768px) {
  .carousel {
      width: calc(120px * 3 * 3);
  }
  .card {
      flex: 0 0 calc(25% - 10px);
      max-width: calc(25% - 10px);
  }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
} */





.carousel-container {
  width: 100%;
  max-width: 90%;
  overflow: hidden;
  margin: auto;
  padding: 20px 0;
}

.carousel {
  display: flex;
  gap: 10px;
  width: calc(120px * 9); 
  animation: scroll 20s linear infinite;
}

.card {
  flex: 0 0 270px; 
  background: white;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.card img {
  width: 120px  important;
  height: 150px  important; 
  border-radius: 10px;
  object-fit: cover;
}

.card p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-110%); }
}

@media screen and (max-width: 767px) {
  .carousel-container {
    max-width: 100%; /* Full width on mobile */
    padding: 10px 0; /* Reduced padding */
  }

  .carousel {
    gap: 5px; /* Reduced gap between cards */
    animation: scroll 15s linear infinite; /* Adjusted animation duration */
  }

  .card {
    flex: 0 0 150px; /* Smaller card width for mobile */
    height: 120px; /* Smaller card height for mobile */
    padding: 5px; /* Reduced padding */
  }

  .card img {
    margin-top: 20px;
    width: 80px; /* Smaller image width for mobile */
    height: 80px; /* Smaller image height for mobile */
  }

  .card p {
    font-size: 12px; /* Smaller font size for mobile */
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-120%); } /* Adjusted for mobile */
  }
}