/* Subtle initial fade-in for the homepage carousel banner */
.carousel-container {
  opacity: 0;
  transform: translateY(6px);
  animation: nlcBannerIn 900ms ease-out 120ms forwards;
}

.carousel-container .carousel-caption {
  opacity: 0;
  transform: translateY(10px);
  animation: nlcBannerCaption 900ms ease-out 260ms forwards;
}

@keyframes nlcBannerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nlcBannerCaption {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .carousel-container,
  .carousel-container .carousel-caption {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
