/* ── Base & Utilities ── */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ── Hero Blobs ── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: #D9E8DC;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: #B7D5B8;
  bottom: 10%;
  left: -50px;
  animation-delay: -3s;
}

.blob-3 {
  width: 200px;
  height: 200px;
  background: #F5F0E8;
  top: 40%;
  right: 30%;
  animation-delay: -5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Floating Cards ── */
.floating-card {
  animation: floatCard 4s ease-in-out infinite;
}

.card-stats-1 {
  animation-delay: 0s;
}

.card-stats-2 {
  animation-delay: -2s;
}

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

/* ── Navbar ── */
#navbar {
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

#navbar.scrolled {
  background: rgba(253, 252, 250, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(45, 90, 43, 0.08);
}

/* ── Service Cards ── */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2D5A2B, #6BA568);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 3px 3px 0 0;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* ── FAQ ── */
.faq-item {
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(45, 90, 43, 0.08);
}

.faq-btn:focus {
  outline: none;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-content.open {
  max-height: 300px;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Mobile Menu Animation ── */
#mobileMenu {
  animation: slideDown 0.3s ease;
}

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