/* Common base */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease-out;
  }
  
  /* From Bottom to Top */
  .from-bottom {
    transform: translateY(50px);
  }
  .from-bottom.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* From Top to Bottom */
  .from-top {
    transform: translateY(-50px);
  }
  .from-top.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* From Left to Right */
  .from-left {
    transform: translateX(-50px);
  }
  .from-left.visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* From Right to Left */
  .from-right {
    transform: translateX(50px);
  }
  .from-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Zoom In */
  .zoom-in {
    transform: scale(0.8);
  }
  .zoom-in.visible {
    opacity: 1;
    transform: scale(1);
  }
  