/* Base state for scroll reveal elements */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* Active state when scrolled into view */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* Infinite Auto-Scroll Animation */
@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-infinite-scroll {
  display: flex;
  width: max-content;
  animation: infinite-scroll 25s linear infinite;
}

/* Slower speed on tablet/desktop */
@media (min-width: 768px) {
  .animate-infinite-scroll {
    animation-duration: 50s;
  }
}

/* Pause auto-scroll on hover */
.animate-infinite-scroll:hover {
  animation-play-state: paused;
}
