/* Animation Definitions - PixelzLab Apps Studio */

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 300ms ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 300ms ease-out forwards;
}

.animate-slide-down {
  animation: slideDown 300ms ease-out forwards;
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 100ms; }
.stagger-2 { animation-delay: 200ms; }
.stagger-3 { animation-delay: 300ms; }
.stagger-4 { animation-delay: 400ms; }
.stagger-5 { animation-delay: 500ms; }
.stagger-6 { animation-delay: 600ms; }
.stagger-7 { animation-delay: 700ms; }
.stagger-8 { animation-delay: 800ms; }
.stagger-9 { animation-delay: 900ms; }
.stagger-10 { animation-delay: 1000ms; }

/* Initial hidden state for animated elements */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.is-visible {
  animation: slideUp 300ms ease-out forwards;
}
