/* animations.css */
/* Base animation class */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When element is visible, trigger animation */
.animate.visible {
  opacity: 1;
  transform: none;
}

/* Fade-in keyframes (optional) */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Slide-up animation */
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Example usage */
.fade-in {
  animation: fadeIn 0.8s forwards;
}
.slide-up {
  animation: slideUp 0.8s forwards;
}
