/* =========================================================
   SISTEMA DI ANIMAZIONE UNIFICATO E COMPATIBILE
========================================================= */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.video-grid > .animate-on-scroll:nth-of-type(1) { transition-delay: 0.1s; }
.video-grid > .animate-on-scroll:nth-of-type(2) { transition-delay: 0.15s; }
.video-grid > .animate-on-scroll:nth-of-type(3) { transition-delay: 0.2s; }
.video-grid > .animate-on-scroll:nth-of-type(4) { transition-delay: 0.25s; }
.video-grid > .animate-on-scroll:nth-of-type(5) { transition-delay: 0.3s; }
.video-grid > .animate-on-scroll:nth-of-type(6) { transition-delay: 0.35s; }
.video-grid > .animate-on-scroll:nth-of-type(7) { transition-delay: 0.4s; }
.video-grid > .animate-on-scroll:nth-of-type(8) { transition-delay: 0.45s; }
.video-grid > .animate-on-scroll:nth-of-type(9) { transition-delay: 0.5s; }

.contact-page-container > .page-title.animate-on-scroll { 
  transition-delay: 0.1s; 
}
.contact-page-container .contact-grid > .animate-on-scroll:nth-of-type(1) { 
  transition-delay: 0.2s; 
}
.contact-page-container .contact-grid > .animate-on-scroll:nth-of-type(2) { 
  transition-delay: 0.3s; 
}