/* ============================================================
   HHPOKER Official - Custom Stylesheet
   ============================================================ */

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #4f46e5;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4338ca;
}

/* --- Section Padding Helper --- */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* --- Card Hover Effect --- */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* --- Gradient Button --- */
.btn-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-gradient:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
  transform: translateY(-2px);
}

/* --- FAQ Accordion --- */
.faq-accordion .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-top: 0;
  padding-bottom: 0;
}
.faq-accordion .faq-answer.open {
  max-height: 500px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.faq-accordion .faq-chevron {
  transition: transform 0.3s ease;
}
.faq-accordion .faq-chevron.rotate {
  transform: rotate(180deg);
}

/* --- Stat Number --- */
.stat-number {
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

/* --- Testimonial Card --- */
.testimonial-card {
  border-left: 4px solid #6366f1;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 8px -4px rgba(0, 0, 0, 0.04);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
  padding: 5rem 2rem 2rem;
}
.mobile-menu.active {
  right: 0;
}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
body.menu-open {
  overflow: hidden;
}

/* --- Fade In Up Animation --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero Gradient Overlay --- */
.hero-gradient {
  background: linear-gradient(135deg, #312e81 0%, #4c1d95 50%, #312e81 100%);
}

/* --- Navbar Scroll Transition --- */
#navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
#navbar.bg-white {
  background-color: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
}

/* --- Dot Indicator for Carousel --- */
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c7d2fe;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.carousel-dot.active {
  background: #4f46e5;
  transform: scale(1.3);
}

/* --- Donation / Step number circle --- */
.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto;
  flex-shrink: 0;
}

/* --- Download card accent --- */
.download-card {
  border-top: 4px solid #6366f1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.download-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(79, 70, 229, 0.2);
}

/* --- Benefit check icon --- */
.benefit-check {
  color: #6366f1;
  font-size: 1.25rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* --- Responsive Typography --- */
@media (max-width: 768px) {
  .stat-number {
    font-size: 1.75rem;
  }
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .step-circle {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

/* --- Nav link active state --- */
.nav-link {
  position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: #6366f1;
  transition: transform 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* --- Gold star color --- */
.fa-star.gold {
  color: #f59e0b;
}
