/* Animations */

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

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

/* Slide In Right */
@keyframes slideInRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Slide In Left */
@keyframes slideInLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Fade Effect */
@keyframes fadeEffect {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Float */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Slow Float */
@keyframes floatSlow {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Pulse */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Animated Elements */
.floating {
  animation: float 4s ease-in-out infinite;
}

.floating-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

/* AOS (Animate On Scroll) Style Animations */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

/* Animation Delays */
[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos-delay="300"] {
  transition-delay: 0.3s;
}

[data-aos-delay="400"] {
  transition-delay: 0.4s;
}

/* Hover Animations */
.service-card .service-icon,
.benefit-card .benefit-icon,
.why-us-item .why-us-icon {
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon,
.benefit-card:hover .benefit-icon,
.why-us-item:hover .why-us-icon {
  transform: scale(1.1);
}

/* Scroll-based Header Animation */
.scrolled-header {
  background-color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Button Animation */
.btn-pulse {
  animation: pulse 2s infinite;
}