/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables */
:root {
  --green-dark: #006838;
  --green-light: #38b54a;
  --orange: #f8941d;
}

/* Base */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f5f5;
  color: #333;
  scroll-behavior: smooth;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo,
.tagline {
  height: 40px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg,
      #0f766e 0%,
      #16a34a 55%,
      #22c55e 100%);
  border-radius: 28px;
  padding: 60px 24px;
  margin: 24px 0 32px;
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 28px;
}

/* Hero Button */
.btn-hero {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f9a53a, #f8941d);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(248, 148, 29, 0.45);
  transition: all 0.28s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(248, 148, 29, 0.6);
}

/* Section */
.section {
  margin-bottom: 32px;
  line-height: 1.7;
}

.section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section ul {
  list-style: none;
  margin-top: 16px;
}

.section ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
}

.section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(56, 181, 74, 0.15);
}

/* Ayat */
.ayat {
  background: #fff;
  border-left: 4px solid var(--green-light);
  padding: 16px;
  border-radius: 12px;
  font-style: italic;
}

.reference {
  font-size: 12px;
  color: #777;
  margin-top: 8px;
}

/* Carousel */
.carousel {
  overflow: hidden;
  margin-top: 24px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
  flex: 0 0 100%;
  max-width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dots button.active {
  background: var(--green-light);
  opacity: 1;
  transform: scale(1.3);
}

/* Slider Heading */
.slider-section h2 {
  text-align: center;
}

/* Slider Note */
.slider-note {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  text-align: center;
}

.slider-note a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.slider-note a:hover {
  text-decoration: underline;
}

/* Highlight */
.highlight-orange {
  background: var(--orange);
  color: #fff;
  padding: 28px;
  border-radius: 18px;
  text-align: center;
}

/* Donation */
.donation-box {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
}

.donation-box .qris {
  width: 220px;
  margin: 20px auto;
  display: block;
}

.small {
  font-size: 12px;
  color: #777;
}

/* Rekening */
.rekening-box {
  background: #e9f7ef;
  border: 2px solid var(--green-light);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  margin-bottom: 32px;
}

.rekening-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 10px 0;
}

/* CTA */
.cta-wakaf {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 40px;
}

.cta-wakaf:hover {
  background: #e88516;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(248, 148, 29, 0.35);
}

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 20px 20px;
  text-align: center;
}

.footer-logo {
  height: 42px;
  margin: 0 auto 12px;
  display: block;
  opacity: 0.9;
}

.footer p {
  line-height: 1.6;
  margin-bottom: 6px;
}

.footer .dark {
  color: var(--green-dark);
}

.footer .light {
  color: var(--green-light);
}

.footer .orange {
  color: var(--orange);
}

.footer small {
  font-size: 12px;
  line-height: 1.5;
  color: #777;
}

/* Animations */
.animate-fade-up {
  animation: fadeUp 0.8s ease-out both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-soft-pop {
  animation: softPop 0.9s ease-out both;
}

@keyframes softPop {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }

  60% {
    opacity: 1;
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}