/* ===== Base tweaks ===== */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Header shadow on scroll */
#site-header.scrolled {
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
}

/* FAQ chevron rotation is handled via Tailwind group-open, this covers browsers without :has support fallback */
details > summary::-webkit-details-marker {
  display: none;
}

/* Smooth fade-in animation for sections */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Floating action button pulse */
#fab-contact {
  animation: pulse-fab 2.4s infinite;
}
@keyframes pulse-fab {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(255, 122, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0); }
}
