/* Animation CSS - Wondle */

/* Keyframe Animations */

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Appear on Load Animations */

.animate-on-load {
  animation-duration: 0.6s;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
}

.fade-in-up {
  animation-name: fadeInUp;
}

.fade-in-down {
  animation-name: fadeInDown;
}

.fade-in {
  animation-name: fadeIn;
}

.slide-in-left {
  animation-name: slideInLeft;
}

.slide-in-right {
  animation-name: slideInRight;
}

.scale-in {
  animation-name: scaleIn;
}

/* Staggered Load Animation Delays */

.delay-75 {
  animation-delay: 0.075s;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-150 {
  animation-delay: 0.15s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-225 {
  animation-delay: 0.225s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-375 {
  animation-delay: 0.375s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-450 {
  animation-delay: 0.45s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-525 {
  animation-delay: 0.525s;
}

.delay-600 {
  animation-delay: 0.6s;
}

.delay-675 {
  animation-delay: 0.675s;
}

.delay-700 {
  animation-delay: 0.7s;
}

.delay-750 {
  animation-delay: 0.75s;
}

.delay-800 {
  animation-delay: 0.8s;
}

.delay-900 {
  animation-delay: 0.9s;
}

.delay-1000 {
  animation-delay: 1s;
}

/* Appear on Scroll Animations */

.animate-on-scroll {
  opacity: 0;
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animate {
  opacity: 1;
}

.animate-on-scroll.fade-up {
  transform: translateY(30px);
}

.animate-on-scroll.fade-up.animate {
  transform: translateY(0);
}

.animate-on-scroll.fade-down {
  transform: translateY(-30px);
}

.animate-on-scroll.fade-down.animate {
  transform: translateY(0);
}

.animate-on-scroll.fade-left {
  transform: translateX(-50px);
}

.animate-on-scroll.fade-left.animate {
  transform: translateX(0);
}

.animate-on-scroll.fade-right {
  transform: translateX(50px);
}

.animate-on-scroll.fade-right.animate {
  transform: translateX(0);
}

.animate-on-scroll.scale-up {
  transform: scale(0.8);
}

.animate-on-scroll.scale-up.animate {
  transform: scale(1);
}

/* Staggered Scroll Animation Delays */

.animate-on-scroll.delay-scroll-75 {
  transition-delay: 0.075s;
}

.animate-on-scroll.delay-scroll-100 {
  transition-delay: 0.1s;
}

.animate-on-scroll.delay-scroll-150 {
  transition-delay: 0.15s;
}

.animate-on-scroll.delay-scroll-200 {
  transition-delay: 0.2s;
}

.animate-on-scroll.delay-scroll-225 {
  transition-delay: 0.225s;
}

.animate-on-scroll.delay-scroll-300 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-scroll-375 {
  transition-delay: 0.375s;
}

.animate-on-scroll.delay-scroll-400 {
  transition-delay: 0.4s;
}

.animate-on-scroll.delay-scroll-450 {
  transition-delay: 0.45s;
}

.animate-on-scroll.delay-scroll-500 {
  transition-delay: 0.5s;
}

.animate-on-scroll.delay-scroll-525 {
  transition-delay: 0.525s;
}

.animate-on-scroll.delay-scroll-600 {
  transition-delay: 0.6s;
}

.animate-on-scroll.delay-scroll-700 {
  transition-delay: 0.7s;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .animate-on-load,
  .animate-on-scroll {
    animation: none;
    transition: none;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
