/* ==========================================================================
   TALENT IMPROVEMENT EDUCATION INSTITUTE
   Fluid Micro-Animations & Motion Engine
   Zero-framework high performance CSS3
   ========================================================================== */

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes shimmerEffect {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-float {
  animation: floatGentle 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatGentle 4.5s ease-in-out infinite 1.5s;
}

/* Marquee Scroller */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  gap: 20px;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #070e1f, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #070e1f, transparent);
}

.marquee-track {
  display: flex;
  gap: 30px;
  flex-shrink: 0;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: 0.9rem;
  color: #cbd5e1;
  white-space: nowrap;
}

/* Interactive Card Reveal on Scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
