/**
 * Career Evolution - Animation & Motion System
 * Works progressively with GSAP CDN & graceful fallback
 */

/* Content should NEVER be hidden permanently if JS is unavailable */
.no-js .gsap-reveal,
.no-js .gsap-hero-title,
.no-js .gsap-hero-sub,
.no-js .gsap-hero-cta,
.no-js .gsap-card {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

@media (prefers-reduced-motion: reduce) {
  .gsap-reveal,
  .gsap-hero-title,
  .gsap-hero-sub,
  .gsap-hero-cta,
  .gsap-card,
  .gsap-counter {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
  }
}

/* Subtle Shimmer for interactive badges and skeletons */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}

/* Pulse badge for live classes and hot admissions */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--ce-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite cubic-bezier(0.66, 0, 0, 1);
  display: inline-block;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

