@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

.animate-fade-in-scroll {
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.animate-fade-in-scroll:not(.animate-visible) {
  opacity: 0;
  transform: translateY(20px);
}

.animate-fade-in-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in-up,
  .animate-fade-in-scroll {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
