/* ====================================
   SCROLL ANIMATIONS — DRAU Design
   ==================================== */

/* Fade-in Up Animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Fade-in Left Animation */
@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Fade-in Right Animation */
@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Base scroll animation class */
.scroll-animate {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
	            transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.is-visible {
	opacity: 1;
	transform: translateY(0);
	animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger effect for list items */
.scroll-animate-stagger {
	opacity: 0;
	transform: translateY(40px);
}

.scroll-animate-stagger.is-visible {
	animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Delay classes for stagger effect */
.scroll-animate-stagger:nth-child(1) { animation-delay: 0s; }
.scroll-animate-stagger:nth-child(2) { animation-delay: 0.1s; }
.scroll-animate-stagger:nth-child(3) { animation-delay: 0.2s; }
.scroll-animate-stagger:nth-child(4) { animation-delay: 0.3s; }
.scroll-animate-stagger:nth-child(5) { animation-delay: 0.4s; }
.scroll-animate-stagger:nth-child(6) { animation-delay: 0.5s; }
.scroll-animate-stagger:nth-child(7) { animation-delay: 0.6s; }
.scroll-animate-stagger:nth-child(8) { animation-delay: 0.7s; }
