.timeline-box {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When the element is in the viewport, add this class via CSS scroll triggering */
.timeline-box.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Optional: Add a smooth fade-in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}