/* Base custom styles */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth fade-in for hero elements (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  #hero h1,
  #hero p,
  #hero a {
    animation: heroFadeUp 0.8s ease forwards;
    opacity: 0;
  }
  #hero h1 { animation-delay: 0.1s; }
  #hero p { animation-delay: 0.3s; }
  #hero a:first-child { animation-delay: 0.5s; }
  #hero a:last-child { animation-delay: 0.6s; }

  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(45, 90, 61, 0.08);
}

/* Mobile menu transition */
#mobileMenu {
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FAQ animation */
.faq-content {
  animation: faqOpen 0.3s ease;
}

@keyframes faqOpen {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 200px; }
}

/* Custom focus styles */
input:focus, textarea:focus, button:focus {
  outline: none;
}

/* Subtle card hover lift */
.group:hover {
  transform: translateY(-2px);
}

.group {
  transition: transform 0.3s ease;
}
