/* ============================================
   Scroll Reveal Animations - Clean Approach
   ============================================ */

/* Hide elements initially */
[data-animate] {
  opacity: 0;
}

/* Base animation classes */
[data-animate].animated {
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fade In Up - Primary animation for content */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

[data-animate="fadeInUp"].animated {
  animation-name: fadeInUp;
}

/* Fade In - Simple fade for text */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

[data-animate="fadeIn"].animated {
  animation-name: fadeIn;
}

/* Zoom In - For images and focal points */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.92, 0.92, 0.92);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

[data-animate="zoomIn"].animated {
  animation-name: zoomIn;
}

/* Slide In Left - For alternating content */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translate3d(-50px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

[data-animate="slideInLeft"].animated {
  animation-name: slideInLeft;
}

/* Slide In Right - For alternating content */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translate3d(50px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

[data-animate="slideInRight"].animated {
  animation-name: slideInRight;
}

/* Animation delays for staggering */
[data-animate][data-delay="100"].animated { animation-delay: 0.1s; }
[data-animate][data-delay="200"].animated { animation-delay: 0.2s; }
[data-animate][data-delay="300"].animated { animation-delay: 0.3s; }
[data-animate][data-delay="400"].animated { animation-delay: 0.4s; }
[data-animate][data-delay="500"].animated { animation-delay: 0.5s; }
[data-animate][data-delay="600"].animated { animation-delay: 0.6s; }
[data-animate][data-delay="700"].animated { animation-delay: 0.7s; }
[data-animate][data-delay="800"].animated { animation-delay: 0.8s; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ============================================
   Enhanced Hover Effects
   ============================================ */

.feature-card,
.benefit-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.benefit-card:hover {
  transform: translateY(-6px);
}

/* Button hover */
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 63, 125, 0.25);
}

.btn:active {
  transform: translateY(0);
}