/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@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);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

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

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

.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
  opacity: 0;
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
  opacity: 0;
}

.scale-in {
  animation: scaleIn 0.8s ease forwards;
  opacity: 0;
}

/* For scroll animations */
.animate {
  opacity: 0;
  transition: all 0.8s ease;
}

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

.animate.fade-left {
  transform: translateX(-30px);
}

.animate.fade-right {
  transform: translateX(30px);
}

.animate.scale {
  transform: scale(0.9);
}

.animate.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}