/* ==========================================================================
   BHARATHNET WEB HOSTING - ANIMATIONS STYLESHEET (animations.css)
   ========================================================================== */

/* Keyframe Animations */

/* Fade Up Reveal */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Zoom In */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Pulse Glowing Effect */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 174, 239, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 174, 239, 0);
  }
}

/* Floating Animation */
@keyframes floatY {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Ripple effect on click */
@keyframes rippleEffect {
  0% {
    width: 0px;
    height: 0px;
    opacity: 0.5;
  }
  100% {
    width: 400px;
    height: 400px;
    opacity: 0;
  }
}

/* Utility Animation Classes */
.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-in-out forwards;
}

.animate-zoom-in {
  animation: zoomIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.pulse-glow {
  animation: pulseGlow 2s infinite;
}

/* Scroll Reveal Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.scroll-reveal-delay-1 { transition-delay: 0.15s; }
.scroll-reveal-delay-2 { transition-delay: 0.3s; }
.scroll-reveal-delay-3 { transition-delay: 0.45s; }

/* Button Ripple Element */
.ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: rippleEffect 0.6s linear;
}

/* Hover Lift Effect for Cards */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 87, 217, 0.12);
}
