/* ============================================
   SCROLL REVEAL ANIMATIONS
   Add these rules to com-cmpnts-index-body.css
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger each child item */
.reveal-child:nth-child(1)  { transition-delay: 0.05s; }
.reveal-child:nth-child(2)  { transition-delay: 0.12s; }
.reveal-child:nth-child(3)  { transition-delay: 0.19s; }
.reveal-child:nth-child(4)  { transition-delay: 0.26s; }
.reveal-child:nth-child(5)  { transition-delay: 0.33s; }
.reveal-child:nth-child(6)  { transition-delay: 0.40s; }
.reveal-child:nth-child(7)  { transition-delay: 0.47s; }
.reveal-child:nth-child(8)  { transition-delay: 0.54s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-child {
    opacity: 1;
    transform: none;
    transition: none;
  }
}