html {
  scroll-behavior: smooth;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F0EAE0; }
::-webkit-scrollbar-thumb { background: #2A6B3F; border-radius: 4px; }

/* ── Navbar ── */
.nav-link {
  font-size: 0.875rem;       /* 14px */
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: #1a8358;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Open state — morph to × */
#hamburger.open .hamburger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#hamburger.open .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open .hamburger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: #1a8358;
  color: #fefefe;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: #156b48; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: #fefefe;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { background: #f5f5f5; }

@media (min-width: 1024px) {
  .btn-primary,
  .btn-outline {
    padding: 16px 32px;
  }
}

/* ── FAQ accordion ── */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}
.faq-answer.faq-open {
  max-height: 300px;
  opacity: 1;
}

/* Question text: gray/normal when closed, dark/semibold when open */
.faq-question {
  color: #666;
  font-weight: 400;
}
.faq-trigger[aria-expanded="true"] .faq-question {
  color: #1a1a1a;
  font-weight: 600;
}

/* Icon toggle: show plus when closed, minus when open */
.faq-icon .faq-icon-minus { display: none; }
.faq-icon.open .faq-icon-plus { display: none; }
.faq-icon.open .faq-icon-minus { display: block; }

/* ── Slider dots (testimonial + benefits + menu) ── */
.testimonial-dot, .benefit-dot, .menu-dot {
  height: 7px;
  border-radius: 9999px;
  background: #C8B89A;
  border: none;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
  width: 24px;
  padding: 0;
}
.testimonial-dot.active-dot, .benefit-dot.active-dot, .menu-dot.active-dot {
  width: 48px;
  background: #2A6B3F;
}

/* ── Menu slider: hide scrollbar ── */
#menu-slider {
  scrollbar-width: none;
}
#menu-slider::-webkit-scrollbar {
  display: none;
}

/* ── Paket + benefit2 dots (aqiqah page) ── */
.paket-dot, .benefit2-dot {
  height: 7px; border-radius: 9999px; background: #C8B89A;
  border: none; cursor: pointer;
  transition: width 0.3s, background 0.3s;
  width: 24px; padding: 0;
}
.paket-dot.active-dot, .benefit2-dot.active-dot {
  width: 48px; background: #2A6B3F;
}
#paket-slider, #benefit-slider { scrollbar-width: none; }
#paket-slider::-webkit-scrollbar, #benefit-slider::-webkit-scrollbar { display: none; }

/* ── Scroll reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ── Image fallback (shown when img fails to load) ── */
img[src=""] , img:not([src]) { visibility: hidden; }
