/* CSS Animations */

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Slide Up Animation */
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

/* Scale In Animation */
@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.scale-in {
  animation: scaleIn 0.8s ease forwards;
}

/* Testimonial fade-in animations */
.testimonial-item:nth-child(1) {
  animation: fadeIn 0.8s ease-in-out;
}

.testimonial-item:nth-child(2) {
  animation: fadeIn 0.8s ease-in-out 0.2s forwards;
}

.testimonial-item:nth-child(3) {
  animation: fadeIn 0.8s ease-in-out 0.4s forwards;
}

/* Stats Counter Animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-item {
  opacity: 0;
}

.stat-item.animate {
  animation: countUp 0.8s ease forwards;
}

/* Delay classes for staggered animations */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}
