/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.slide-up {
  transform: translateY(40px);
}

.animate-on-scroll.slide-left {
  transform: translateX(-40px);
}

.animate-on-scroll.slide-right {
  transform: translateX(40px);
}

.animate-on-scroll.fade-in {
  transform: none;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
