html {
  scroll-behavior: smooth;
}

/* Avoid content jump when jumping to anchors */
section[id] {
  scroll-margin-top: 16px;
}

/* Smooth fade-in for elements */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button loading state */
button[type="submit"].loading .btn-text::after {
  content: "...";
}

/* Custom scrollbar (optional, subtle) */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
