/* Initial states */
.fade-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
}

.fade-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease-out;
}

.fade-up {
  opacity: 0;
  transform: translateY(100px); /* Pushes it down initially */
  transition: all 0.8s ease-out;
}

/* Final visible state added by JavaScript */
.fade-left.in-view, 
.fade-right.in-view,
.fade-up.in-view {
  opacity: 1;
  transform: translate(0);
}

/* Box styling for visibility */
/* .box {
  background: #f3f4f6;
  padding: 30px;
  margin: 40px auto;
  max-width: 500px;
  border-radius: 8px;
} */