.slider-row {
      overflow: hidden;
      position: relative;
      width: 100%;
      margin: 20px auto;
      height: 160px;
    }

    .slider-track {
      display: flex;
      width: max-content;
      animation: scroll-left 30s linear infinite;
    }

    .slider-row.reverse .slider-track {
      animation: scroll-right 30s linear infinite;
    }

    .nxtslide {
      flex: 0 0 auto;
      width: 250px;
      margin-right: 10px;
    }

    .nxtslide img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* Scroll Animations */
    @keyframes scroll-left {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    @keyframes scroll-right {
      0% { transform: translateX(-50%); }
      100% { transform: translateX(0); }
    }

    /* Pause on hover */
    .slider-row:hover .slider-track {
      animation-play-state: paused;
    }