/* ── Base & Utilities ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Navbar ── */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
#navbar.scrolled {
  background: rgba(253, 248, 240, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
#navbar.scrolled .font-display { color: #1A1A17 !important; }
#navbar.scrolled .text-neutral-500 { color: #78786E !important; }

/* ── Hero Stat Cards ── */
.stat-card {
  animation: floatIn 0.7s ease-out both;
}
.card-1 { animation-delay: 0.2s; }
.card-2 { animation-delay: 0.4s; }
.card-3 { animation-delay: 0.6s; }
.card-4 { animation-delay: 0.8s; }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.stat-card {
  animation: floatCard 6s ease-in-out infinite;
}
.card-2 { animation-delay: -1.5s; animation-duration: 7s; }
.card-3 { animation-delay: -3s; animation-duration: 6.5s; }
.card-4 { animation-delay: -4.5s; animation-duration: 7.5s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Service Cards ── */
.service-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Review Cards ── */
.review-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.review-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll Reveal (general) ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Menu ── */
#mobileMenu {
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F2F2EF; }
::-webkit-scrollbar-thumb { background: #D4D4CE; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #A8A89E; }

/* ── Selection ── */
::selection { background: #FBC4B0; color: #4F2316; }
