.carousel {
    width: 100%;
    max-width: 100%; /* Optional: restrict max width if needed */
    overflow: hidden;
    margin: auto;
    position: relative;
    height: 150px;
  }
  
  .carousel-track {
    display: flex;
    animation: scroll 30s linear infinite; /* Adjust speed as needed */
  }
  
  .carousel-slide {
    flex: 0 0 auto;
    width: 150px;  /* Use fixed width, not min-width */
    height: 150px;
    margin-left: 5px;
  }
  
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 5px solid #fff;
    padding: 5px;
  }
  
  /* Animation: shifts by 50% of total width (since we duplicate the track) */
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  