/* ==========================================================================
   CORVUS STAFFING - ANIMATIONS & KINETIC MOTION
   ========================================================================== */

/* Orb floating background keyframe */
@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, 60px) scale(1.08);
  }
  100% {
    transform: translate(-30px, -40px) scale(0.95);
  }
}

/* Floating UI Pill animation */
@keyframes pillFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

/* Fade in down entry */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-down {
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Marquee Left & Right */
@keyframes marqueeLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.animate-marquee-left {
  display: flex;
  width: max-content;
  animation: marqueeLeft 35s linear infinite;
}

.animate-marquee-left:hover,
.animate-marquee-right:hover {
  animation-play-state: paused;
}

.animate-marquee-right {
  display: flex;
  width: max-content;
  animation: marqueeRight 38s linear infinite;
}

/* Pulse Glow */
@keyframes glowPulse {
  0%, 100% {
    opacity: 0.4;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  }
  50% {
    opacity: 0.9;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.6);
  }
}

.animate-glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Reduced Motion preferences */
@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;
  }
  .animate-marquee-left,
  .animate-marquee-right {
    animation: none !important;
  }
}
