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

/* Scroll padding for fixed nav */
html {
  scroll-padding-top: 4.5rem;
}

/* Hero section background */
.hero-section {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 25%, #f5f3ff 50%, #faf5ff 75%, #ffffff 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Optional: subtle floating shape (decorative) */
.hero-section::before {
  content: "";
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 15%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

/* Fade-in animation for hero content */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.animation-delay-1 {
  animation-delay: 0.15s;
}

.animation-delay-2 {
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Section title reveal (optional, used by JS when in viewport) */
.section-title {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-title.revealed {
  opacity: 1;
  transform: translateY(0);
}
