/* ============================================
   TESTIMONIALS CAROUSEL - AUTO SCROLL
============================================ */

.testimonials-carousel-wrapper {
  max-width: 1200px;
  margin: 2rem auto 0;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(10, 14, 39, 0.8) 0%, transparent 20%, transparent 80%, rgba(10, 14, 39, 0.8) 100%);
}

.testimonials-carousel {
  display: flex;
  gap: 1.5rem;
  animation: scroll-carousel 30s linear infinite;
  padding: 2rem 1rem;
  width: fit-content;
}

.testimonials-carousel:hover {
  animation-play-state: paused;
}

.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-320px * 3 - 1.5rem * 3));
  }
}

/* Responsive */
@media (max-width: 992px) {
  .testimonial-card {
    width: 280px;
    min-height: 240px;
  }
  
  @keyframes scroll-carousel {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-280px * 3 - 1.5rem * 3));
    }
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 260px;
    min-height: 230px;
  }
  
  .testimonials-carousel {
    gap: 1rem;
    padding: 1.5rem 0.5rem;
  }
  
  @keyframes scroll-carousel {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-260px * 3 - 1rem * 3));
    }
  }
}
