/**
 * NexusTech Academy - Micro-Interactions & Animations
 */

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.15;
    transform: scale(1);
  }
  50% {
    opacity: 0.28;
    transform: scale(1.05);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-backdrop-glow {
  animation: pulseGlow 8s ease-in-out infinite;
}

.floating-badge.badge-top-right {
  animation: floatSlow 6s ease-in-out infinite;
}

.floating-badge.badge-bottom-left {
  animation: floatSlow 7s ease-in-out infinite 1.5s;
}

/* Accessible prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-backdrop-glow,
  .floating-badge {
    animation: none !important;
  }
}
