/* ==========================================================================
   EDUCARE ACADEMY - ANIMATION & PERFORMANCE STYLES (animations.css)
   Seamless Marquee Ticker, Custom Luxury Orange Cursor, Keyframes & Accessibility
   ========================================================================== */

/* ==========================================================================
   HERO SUB TICKER BAND (CRISP CONTINUOUS SMOOTH INFINITE MARQUEE)
   ========================================================================== */
.hero-sub-ticker-band {
  background-color: var(--color-navy) !important;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 10;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.hero-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeContinuous 36s linear infinite;
  will-change: transform;
  user-select: none;
}

.hero-sub-ticker-band:hover .hero-ticker-track {
  animation-play-state: paused;
}

.ticker-content-set {
  display: flex;
  align-items: center;
  gap: 3.25rem;
  padding-right: 3.25rem;
  flex-shrink: 0;
}

@keyframes marqueeContinuous {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-25%, 0, 0);
  }
}

.ticker-badge-item {
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-transform: uppercase;
  transition: color 200ms ease;
  white-space: nowrap;
  line-height: 1;
}

.ticker-badge-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.ticker-badge-item:hover {
  color: #FFFFFF;
}

.ticker-badge-item.highlight-badge {
  color: #FFFFFF;
  background: rgba(234, 88, 12, 0.25);
  border: 1px solid rgba(234, 88, 12, 0.6);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
}

/* =========================================================
   CUSTOM LUXURY ORANGE CURSOR & TOGGLING CIRCLE
   ========================================================= */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background-color: #EA580C;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.08s ease-out, background-color 0.25s ease, width 0.2s ease, height 0.2s ease;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.6);
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(234, 88, 12, 0.55);
  background: radial-gradient(circle, rgba(234, 88, 12, 0.12) 0%, rgba(234, 88, 12, 0.02) 65%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease, border-color 0.25s ease, background-color 0.25s ease, width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.custom-cursor-follower.is-hovered {
  width: 52px;
  height: 52px;
  border-color: #EA580C;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.22) 0%, rgba(234, 88, 12, 0.05) 70%, transparent 100%);
  box-shadow: 0 0 20px rgba(234, 88, 12, 0.25);
}

.custom-cursor-dot.is-hovered {
  background-color: #F97316;
  width: 9px;
  height: 9px;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.8);
}

.custom-cursor-follower.is-clicking {
  transform: translate(-50%, -50%) scale(0.8);
  border-color: #C2410C;
  background-color: rgba(234, 88, 12, 0.3);
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-follower {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker-track {
    animation: none !important;
  }
  .custom-cursor-dot,
  .custom-cursor-follower {
    display: none !important;
  }
}





/* ==========================================================================
   PERFECT VISIBILITY & GPU-ACCELERATED TRANSFORMS
   ========================================================================== */
.section,
.hero-section,
.neat-stats-section,
#about-strip,
#programs-strip,
#why-educare,
#faculty,
#testimonials,
.program-vertical-card,
.neat-stat-card,
.ref-about-card-left,
.ref-about-card-right,
.testimonial-card,
.cta-banner-reference {
  opacity: 1 !important;
  visibility: visible !important;
}

.gsap-reveal {
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   100% NATURAL CRISP IMAGES & ZERO GRAYSCALE/BLUR OVERLAYS
   ========================================================================== */
img,
.ref-about-photo,
.hero-visual img,
.program-vertical-card img,
.why-photo-main,
.cinematic-img {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  image-rendering: -webkit-optimize-contrast;
}

/* Smooth Progressive Entrance Animations */
@keyframes smoothGlideIn {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.glide-in {
  animation: smoothGlideIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}
