.fade-in-image {
    opacity: 0;
    transform: translateY(20px); /* Starts 20px lower */
    transition: opacity 1s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-image.appear {
    opacity: 1;
    transform: translateY(0); /* Drifts up to its natural position */
}

/* Initial State: Off-screen to the left and invisible */
.jump-from-left {
    opacity: 0;
    transform: translateX(-100px); /* Adjust distance as needed */
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.8s ease;
    will-change: transform, opacity;
}

/* Active State: Snaps to original position */
.jump-from-left.appear {
    opacity: 1;
    transform: translateX(0);
}

/* Initial State: Off-screen to the right and invisible */
.jump-from-right {
    opacity: 0;
    transform: translateX(100px); /* Positive value for the right side */
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.8s ease;
    will-change: transform, opacity;
}

/* Active State: Snaps to original position */
.jump-from-right.appear {
    opacity: 1;
    transform: translateX(0);
}
