/* Custom Transitions for Home Page Sections */

/* Section entrance animations */
.section--animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section--animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero section special animation */
.hero--animate {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.hero--animate.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* About section staggered animation */
.about--animate {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about--animate.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Features section staggered animation */
.features--animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.features--animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Individual feature cards animation */
.feature--animate {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature--animate.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* CTA section special animation */
.cta--animate {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.cta--animate.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Footer animation */
.footer--animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.footer--animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for features */
.feature--animate:nth-child(1) { transition-delay: 0.1s; }
.feature--animate:nth-child(2) { transition-delay: 0.2s; }
.feature--animate:nth-child(3) { transition-delay: 0.3s; }
.feature--animate:nth-child(4) { transition-delay: 0.4s; }

/* Hover effects for interactive elements */
.btn--outline-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Intersection Observer fallback for older browsers */
@media (prefers-reduced-motion: reduce) {
  .section--animate,
  .hero--animate,
  .about--animate,
  .features--animate,
  .feature--animate,
  .cta--animate,
  .footer--animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
} 