﻿/* Core India Movement - reusable animation utilities */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scrollDot {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  70% {
    transform: translate(-50%, 14px);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.34);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(255, 153, 51, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.fade-in {
  animation: floatUp 0.72s ease both;
}

.pulse {
  animation: pulseGlow 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

