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

body {
  overflow-x: hidden;
}

/* ===== Header ===== */
#site-header {
  background: rgba(255, 255, 255, 0);
}
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px -8px rgba(13, 116, 90, 0.15);
}

.nav-link {
  color: #46554f;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #0d926e;
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FAQ ===== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-top: 0;
  padding-bottom: 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #a9efd4;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* ===== Form feedback ===== */
#form-feedback.success {
  color: #0d926e;
}
#form-feedback.error {
  color: #dc2626;
}

/* ===== Utility ===== */
.shadow-soft-hover:hover {
  box-shadow: 0 10px 40px -10px rgba(13, 116, 90, 0.25);
}

/* ===== Testimonial Carousel ===== */
.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 280px;
}
@media (min-width: 768px) {
  .testimonial-card {
    width: 320px;
  }
}
.testimonial-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d4f7ea;
  transition: all 0.25s ease;
  cursor: pointer;
}
.testimonial-dot.active {
  width: 20px;
  background: #0d926e;
}
