/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-light: #97CCF2;
  --blue-main:  #21A3FF;
  --white:      #FFFFFF;
  --text-dark:  #1A1A2E;
  --text-body:  #3D3D4E;
}

html {
  scroll-behavior: smooth;
}

body {
   font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: linear-gradient(to right, var(--white) 0%, var(--blue-light) 60%, #b8ddf7 100%);
  background-attachment: fixed;
}

/* ── HERO BANNER GLASSMORPHISM (Sesuai Gambar Desain) ── */
.hero-banner-card {
  position: relative;
  width: 100%;
  max-width: 1100px;
  min-height: 540px;
  border-radius: 24px;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?q=80&w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  margin: 24px auto;
}

/* Modal/Glass Card Transparan */
.glass-overlay-box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
  padding: 44px 36px;
  max-width: 820px;
  width: 100%;
  text-align: center;
  color: var(--white);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Text & Typography */
.glass-eyebrow {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.glass-eyebrow strong {
  font-weight: 700;
}

.glass-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.glass-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* Tombol Aksi (CTA) */
.btn-glass-cta {
  display: inline-block;
  background: var(--white);
  color: #52a3e2;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-glass-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: #f4f9fd;
}

.btn-glass-cta:active {
  transform: scale(0.97);
}

/* Responsif Mobile — hero banner glassmorphism */
@media (max-width: 600px) {
  .hero-banner-card {
    min-height: auto;
    border-radius: 16px;
    padding: 16px;
    margin: 12px auto;
  }

  .glass-overlay-box {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .glass-desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/* ── STYLE MODAL POP-UP ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(8px);     
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Class aktif saat pop-up muncul */
.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  text-align: center;
}

.modal-overlay.show .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #b0b7c3;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #1A1A2E;
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.modal-content h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.modal-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #5A6A85;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Tombol aksi di dalam pop-up */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.modal-btn.btn-primary {
  background: #21A3FF;
  color: #ffffff;
}

.modal-btn.btn-primary:hover {
  background: #008be5;
}

.modal-btn.btn-secondary {
  background: #f4f7fa;
  color: #21A3FF;
}

.modal-btn.btn-secondary:hover {
  background: #e4edf7;
}
/* ── SCROLLBAR CUSTOM ── */
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--blue-main) transparent;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--blue-main);
  border: 3px solid transparent;   /* jarak biar thumb keliatan ramping */
  border-radius: 99px;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #1a8fe0;
  background-clip: padding-box;
}

/* ── NAVBAR ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 56px;
}

/* ── NAVBAR AUTO-HIDE (khusus desktop) ──
   Navbar disembunyikan ke atas, hanya menyisakan garis tipis 6px.
   .nav-hover-zone adalah area TAK TERLIHAT yang jauh lebih besar
   (160px) menempel di tepi atas layar sebagai target hover —
   supaya user tidak perlu presisi arahkan mouse ke garis tipis itu.
   Mode mobile (hamburger) tidak terpengaruh. */
.nav-hover-zone {
  display: none;
}

@media (min-width: 901px) {
  .nav-hover-zone {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    z-index: 99;
  }

  header {
    transform: translateY(calc(-100% + 6px));
    transition: transform 0.35s ease;
  }

  .nav-hover-zone:hover + header,
  header:hover,
  header:focus-within,
  header.at-top {
    transform: translateY(0);
  }
}

/* ── HAMBURGER MENU (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--blue-main);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--white);
  border-radius: 99px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-dark);
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav a:hover {
  background: var(--blue-main);
  color: var(--white);
}

.mobile-nav .mobile-nav-divider {
  width: 48px;
  height: 2px;
  background: rgba(33, 163, 255, 0.2);
  border-radius: 99px;
  margin: 8px 0;
}

.mobile-nav .btn-signup-mobile {
  background: var(--blue-main);
  color: var(--white) !important;
  margin-top: 8px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--white);
  border-radius: 50px;
  padding: 10px 16px;
}
.logo.auth-logo {
  flex-direction: column;
  background: none;      /* ini yang menghapus bg putihnya */
  border-radius: 0;
  padding: 0;
  gap: 10px;
  margin-bottom: 24px;
}

.logo.footer-logo{
  background: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #97CCF2, #21A3FF);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.logo-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-dark);
}

/* Nav pill (landing page header only — jangan kena dashboard bottom nav) */
header nav {
  background: var(--blue-main);
  border-radius: 50px;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

header nav a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background 0.2s;
}

header nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 4px;
}

.btn-signup {
  background: var(--white) !important;
  color: var(--blue-main) !important;
  font-weight: 700 !important;
  padding: 8px 22px !important;
}

.btn-signup:hover {
  background: #e8f4ff !important;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* ── DESKTOP: hero-bg DISEMBUNYIKAN, foto tampil di hero-image-wrap ── */
.hero-bg {
  display: none;
}

.hero-overlay {
  display: none;
}

/* Konten teks (kiri) */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 60px 80px 72px;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;

  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 0.8s cubic-bezier(.22, .68, 0, 1.2) 0.2s forwards;
}

.hero-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 28px;
  max-width: 460px;

  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s cubic-bezier(.22, .68, 0, 1.2) 0.45s forwards;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;

  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s cubic-bezier(.22, .68, 0, 1.2) 0.65s forwards;
}

/* Button Donasi Sekarang */
.btn-hero {
  background: var(--blue-main);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  padding: 14px 38px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(33, 163, 255, 0.4);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(33, 163, 255, 0.5);
}

.btn-hero:active {
  transform: scale(0.97);
}

/* Social proof text */
.hero-social-proof {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-body);
}

.hero-social-proof strong {
  font-weight: 700;
}

.proof-link {
  color: var(--blue-main);
  text-decoration: none;
  font-weight: 700;
}

.proof-link:hover {
  text-decoration: underline;
}

/* Foto kanan (desktop) */
.hero-image-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;

  opacity: 0;
  animation: fadeIn 1s ease 0.4s forwards;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Gradient fade kiri agar foto menyatu dengan background */
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 45%;
  
  z-index: 1;
  pointer-events: none;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

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

/* ── MOBILE: foto jadi full background, gradient dari bawah ke atas ── */
@media (max-width: 768px) {
  #hero {
    align-items: stretch;
    min-height: auto;
    height: auto;
    /* Background matching body agar saat overlay transparent, warna nyambung */
    background: linear-gradient(to right, var(--white) 0%, var(--blue-light) 60%, #b8ddf7 100%);
  }

  /* Tampilkan hero-bg sebagai full background */
  .hero-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  /* Gradient kuat dari bawah ke atas, pakai rgba biar body background tembus = no clash */
  .hero-overlay {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(151, 204, 242, 1)    0%,
      rgba(151, 204, 242, 0.97) 18%,
      rgba(151, 204, 242, 0.75) 40%,
      rgba(151, 204, 242, 0.2)  65%,
      transparent               100%
    );
  }

  /* Teks mengikuti konten secara natural */
  .hero-content {
    position: relative;
    z-index: 2;
    flex: none;
    width: 100%;
    padding: 100px 24px 60px;
    justify-content: flex-start;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    text-align: center;
  }

  .hero-sub {
    text-align: center;
    max-width: 100%;
  }

  .hero-actions {
    align-items: center;
    width: 100%;
  }

  /* Sembunyikan foto kanan di mobile */
  .hero-image-wrap {
    display: none;
  }
}
/* ── PROGRAM DONASI ── */
#program-donasi {
  padding: 180px 48px;
}
 
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
 
.section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
 
.section-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: var(--text-body);
}
 
/* Cards Grid */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cards-grid .donation-card {
  flex: 1 1 calc(25% - 15px);
  min-width: 220px;
}
 
/* Single Card */
.donation-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(33, 163, 255, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
 
.card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
 
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
 
.card-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.3;
}
 
.card-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}
 
/* Progress bar */
.card-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
 
.progress-bar {
  width: 100%;
  height: 6px;
  background: #d6eeff;
  border-radius: 99px;
  overflow: hidden;
}
 
.progress-fill {
  height: 100%;
  background: var(--blue-main);
  border-radius: 99px;
  transition: width 1s ease;
}
 
.progress-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--text-body);
  text-align: right;
}
 
/* Donasi Button */
.btn-donasi {
  width: 100%;
  background: var(--white);
  color: var(--blue-main);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--blue-main);
  border-radius: 50px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 4px;
}

/* [DIKEMBALIKAN dari style.css lama — sepertinya kelupaan di style2.css,
   soalnya .btn-donasi di atas masih punya transition: background/color] */
.btn-donasi:hover {
  background: var(--blue-main);
  color: var(--white);
}

/* ── PROGRAM DONASI LAIN (List Style) ── */
.donation-list-section {
  margin-top: 56px;
}

.donation-list-section .section-header {
  text-align: left;
  margin-bottom: 24px;
}

.donation-list-section .section-title {
  font-size: 1.6rem;
}

.donation-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.donation-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--blue-main) 0%, #4fb8ff 55%, var(--blue-light) 100%);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 6px 20px rgba(33, 163, 255, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.donation-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(33, 163, 255, 0.28);
}

.donation-list-img {
  flex: 0 0 130px;
  width: 130px;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
}

.donation-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donation-list-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.donation-list-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.3;
}

.donation-list-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.donation-list-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.donation-list-progress {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.donation-list-progress .progress-bar {
  background: rgba(255, 255, 255, 0.35);
}

.donation-list-progress .progress-fill {
  background: var(--white);
}

.donation-list-progress .progress-label {
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.btn-donasi-list {
  flex: 0 0 auto;
  width: auto;
  background: var(--white);
  color: var(--blue-main);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

/* Responsif mobile — donation list */
@media (max-width: 600px) {
  .donation-list-item {
    flex-wrap: wrap;
  }

  .donation-list-img {
    flex: 0 0 100%;
    width: 100%;
    height: 160px;
  }

  .donation-list-footer {
    flex-wrap: wrap;
  }

  .btn-donasi-list {
    width: 100%;
  }
}


/* ── KATALOG PRODUK ── */
#katalog-produk {
  padding: 180px 48px;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
 
.katalog-masonry {
  columns: 6;
  column-gap: 12px;
  flex: 1;
}
 
.katalog-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
 
.katalog-item img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
  transition: transform 0.3s ease;
}

.katalog-item.tall img {
  height: auto;   
}
 
.katalog-item:hover img {
  transform: scale(1.05);
}
 
/* Overlay label saat hover */
.katalog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 163, 255, 0.55);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 14px;
}
 
.katalog-item:hover .katalog-overlay {
  opacity: 1;
}
 
.katalog-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 12px;
  border-radius: 99px;
}

/* ── LIGHTBOX (preview besar saat katalog diklik) ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(27, 27, 82, 0.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  background: var(--blue-main);
  padding: 8px 20px;
  border-radius: 99px;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
  background: #f0f0f0;
}

@media (max-width: 600px) {
  .lightbox-close { top: 8px; right: 8px; }
}

/* ── FOOTER ── */
.site-footer {
  background: #21A3FF;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 48px 28px;
  margin-top: 80px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Proporsional seperti 1.6fr 1fr 1fr 1fr 1.5fr */
.footer-top > .footer-brand   { flex: 1.6 1 180px; min-width: 160px; }
.footer-top > .footer-links   { flex: 1   1 100px; min-width: 100px; }
.footer-top > .footer-newsletter { flex: 1.5 1 160px; min-width: 160px; }

.footer-logo {
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: var(--blue-main);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4,
.footer-newsletter h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-links a {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-newsletter p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.footer-subscribe {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 5px 5px 5px 18px;
}

.footer-subscribe input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
}

.footer-subscribe input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe button {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--blue-main);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.footer-subscribe button:hover {
  background: #1a8fe0;
  transform: scale(1.05);
}

.footer-subscribe button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Footer responsif ditangani di seksi RESPONSIVE (FLEXBOX) di bawah */
 
/* ── RESPONSIVE (FLEXBOX) ── */

/* Tablet: 900px ke bawah */
@media (max-width: 900px) {
  header {
    padding: 18px 24px;
    /* Flexbox sudah di-set di base styles, cukup override padding */
  }

  header nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  /* Hero: tumpuk vertikal di tablet */
  #hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 120px 24px 48px;
    gap: 32px;
  }

  .hero-content {
    max-width: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    white-space: normal;
    font-size: clamp(2rem, 6vw, 3.2rem);
  }

  .hero-actions {
    align-items: center;
    flex-direction: column;
  }

  .hero-sub {
    max-width: 100%;
  }

  .btn-hero {
    margin-left: 0;
  }

  .hero-social-proof {
    margin-left: 0;
  }

  .hero-image-wrap {
    margin-top: 0;
    width: 100%;
    max-width: 360px;
    flex: none;
  }

  .hero-image-wrap img {
    width: 100%;
    margin-top: 0;
  }

  /* Program Donasi */
  #program-donasi {
    padding: 110px 24px;
  }
  .cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .cards-grid .donation-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  /* Katalog */
  #katalog-produk {
    padding: 110px 24px;
  }

  .katalog-masonry {
    columns: 3;
  }

  /* Stats Flexbox */
  .stats-grid {
    gap: 16px;
  }

  .stat-item {
    flex: 1 1 140px;
  }

  #jejak-kebaikan {
    padding: 110px 24px;
  }

  /* Slider sections */
  #para-hero,
  #testimoni {
    padding: 114px 20px;
  }

  .hero-card {
    min-width: calc(100vw - 20px - 20px - 52px - 52px);
  }

  .testi-card {
    flex-basis: calc(100vw - 20px - 20px - 52px - 52px);
    width: calc(100vw - 20px - 20px - 52px - 52px);
    min-width: calc(100vw - 20px - 20px - 52px - 52px);
  }

  /* Footer: 2 kolom flexbox */
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-brand {
    flex: 1 1 100%;
  }

  .footer-links {
    flex: 1 1 calc(33% - 16px);
    min-width: 120px;
  }

  .footer-newsletter {
    flex: 1 1 100%;
  }

  .site-footer {
    padding: 56px 24px 24px;
  }
}

/* Mobile: 600px ke bawah */
@media (max-width: 600px) {
  header {
    padding: 14px 16px;
  }

  #hero {
    padding: 100px 16px 40px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    white-space: normal;
  }

  /* Kartu donasi: 1 kolom di mobile (flexbox) */
  .cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .cards-grid .donation-card {
    flex: 1 1 100%;
    width: 100%;
  }

  /* Katalog: 2 kolom di mobile */
  .katalog-masonry {
    columns: 2;
  }

  /* Stats: tumpuk di mobile */
  .stats-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .stat-item {
    flex: none;
    width: 100%;
    max-width: 280px;
  }

  .stat-number {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  #program-donasi,
  #katalog-produk,
  #jejak-kebaikan {
    padding: 88px 16px 64px;
  }

  /* Footer: 1 kolom di mobile */
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-brand,
  .footer-links,
  .footer-newsletter {
    flex: 1 1 100%;
    min-width: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Modal responsif */
  .modal-box {
    padding: 24px 18px;
  }

  .modal-actions {
    flex-direction: column;
    gap: 8px;
  }

  /* Section headers */
  .section-header {
    padding: 0 8px;
  }
}

/* Ekstra kecil: 400px ke bawah */
@media (max-width: 400px) {
  .katalog-masonry {
    columns: 1;
  }

  .hero-card,
  .testi-card {
    min-width: calc(100vw - 32px);
    width: calc(100vw - 32px);
  }

  .btn-hero {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-sub,
  .hero-actions,
  .hero-image-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-image-wrap img,
  .hero-image-wrap svg {
    animation: none;
  }
}
/* ── JEJAK KEBAIKAN ── */
#jejak-kebaikan {
  padding: 180px 48px;
  text-align: center;
}
 
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.stat-item {
  flex: 1 1 180px;
  max-width: 240px;
}
 
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
 
.stat-number {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 5rem);
  color: var(--text-dark);
  line-height: 1;
}
 
.stat-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
}
 
.stat-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
  max-width: 180px;
}
/* ── PARA HERO ── */
#para-hero {
  padding: 180px 48px;
}

.slider-outer {
  position: relative;
  margin-top: 40px;
}

.slider-outer.fade-left::before,
.slider-outer.fade-right::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 6;
  pointer-events: none;
}

.slider-outer.fade-left::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.92), transparent);
}

.slider-outer.fade-right::after {
  right: 0;
  background: linear-gradient(to left, rgba(184, 221, 247, 0.92), transparent);
}

.hero-slider-wrap,
.testi-slider-wrap {
  cursor: grab;
  touch-action: pan-y;      /* scroll vertikal halaman tetap jalan, geser horizontal diurus JS */
  user-select: none;        /* biar teks ga keblok saat di-drag */
}
.hero-slider-wrap.dragging,
.testi-slider-wrap.dragging {
  cursor: grabbing;
}

.hero-slider-wrap {
  overflow: hidden;
  padding: 0 52px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
.testi-slider-wrap {
  overflow: hidden;
  padding: 0 52px;
}

.hero-slider,
.testi-slider {
  display: flex;
  gap: 24px;
  /* ease-out halus tanpa mantul */
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-card {
  min-width: 320px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(33, 163, 255, 0.1);
  flex-shrink: 0;
  cursor: pointer;
}

.hero-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-main);
}

.hero-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.hero-role {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--text-body);
  text-align: center;
}

/* Grid produk hero — ini yang difokusin */
.hero-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.hero-products img {
  flex: 1 1 calc(33.333% - 6px);
  min-width: 0;
  width: 100%;
  aspect-ratio: 1;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

/* hero5: produknya screenshot website → tampilkan bagian atas (header) */
.hero5-prods img {
  object-position: top;
}

.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.75rem;
  background: var(--blue-main);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 99px;
}

/* ── MODAL DETAIL HERO ── */
.hero-detail-box {
  max-width: 380px;
  padding: 36px 26px 28px;
}

.hero-detail-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-main);
  margin: 0 auto 14px;
  display: block;
}

.hero-detail-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.hero-detail-role {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 14px;
}

.hero-detail-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-detail-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 20px;
}

.hero-detail-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-detail-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(33, 163, 255, 0.08);
  border-radius: 12px;
  padding: 10px 6px;
}

.hero-detail-stat-num {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue-main);
}

.hero-detail-stat-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.65rem;
  color: var(--text-body);
  line-height: 1.3;
}

.hero-detail-karya-label {
  width: 100%;
  text-align: left;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.hero-detail-karya-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin-bottom: 24px;
}

.hero-detail-karya-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f4f7fa;
}

.hero-detail-cta {
  display: block;
  width: 100%;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--blue-main);
  padding: 14px;
  border-radius: 99px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.hero-detail-cta:hover {
  background: #008be5;
}

/* ── TESTIMONI SAVIOR ── */
#testimoni {
  padding: 180px 48px;
}

.testi-card {
  position: relative;
  flex: 0 0 360px;
  width: 360px;
  background: #fff;
  border-radius: 24px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(33, 163, 255, 0.1);
  box-shadow: 0 12px 32px rgba(33, 163, 255, 0.12);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(33, 163, 255, 0.18);
}

/* tanda kutip dekoratif di pojok */
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 2px;
  right: 22px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(33, 163, 255, 0.12);
  pointer-events: none;
}

.testi-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-top img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-main);
  box-shadow: 0 0 0 4px rgba(33, 163, 255, 0.12);
}

/* dua foto ini wajahnya agak ke atas → geser fokus crop ke atas */
.testi-top img[src*="savior5"],
.testi-top img[src*="savior6"] {
  object-position: top;
}

.testi-top h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
}

.testi-top span {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--blue-main);
}

.testi-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* rating bintang di atas teks review */
.testi-card p::before {
  content: '★★★★★';
  display: block;
  color: #ffc83d;
  font-size: 0.95rem;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

/* ── SLIDER BUTTONS (shared) ── */
.slider-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slider-controls .slider-btn {
  pointer-events: auto;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-main);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(33, 163, 255, 0.35);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider-btn:hover {
  background: #1a8fe0;
  transform: translateY(-50%) scale(1.08);
}

.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

/* ── SLIDER DOTS (shared) ── */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 99px;
  background: rgba(33, 163, 255, 0.3);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.slider-dot:hover {
  background: rgba(33, 163, 255, 0.6);
}

.slider-dot.active {
  width: 28px;          /* titik aktif memanjang jadi pill */
  background: var(--blue-main);
}

/* ── POLISH: scroll-reveal & micro-interaction ── */
/* elemen muncul lembut (fade + naik) saat masuk layar */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease,
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* kartu hero ikut "naik" saat hover, senada dgn kartu lain */
.hero-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(33, 163, 255, 0.18);
}

/* zoom halus gambar kartu donasi saat hover */
.donation-card .card-img-wrap img {
  transition: transform 0.45s ease;
}
.donation-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

/* efek "menekan" saat tombol diklik */
.btn-donasi,
.btn-hero {
  transition: transform 0.12s ease, background 0.2s, box-shadow 0.2s;
}
.btn-donasi:active,
.btn-hero:active {
  transform: scale(0.96);
}

/* hormati pengguna yang mematikan animasi */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 20px 50px rgba(33, 163, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-logo {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.auth-logo .logo-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #97CCF2, #21A3FF);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(33, 163, 255, 0.3);
}

.auth-logo .logo-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.auth-logo .logo-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-dark);
}

.auth-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-dark);
  text-align: center;
}

.auth-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-body);
  margin-top: 6px;
  margin-bottom: 28px;
  text-align: center;
}

.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field span {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-dark);
}

.auth-field input {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 12px 16px;
  border: 1.5px solid rgba(33, 163, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input::placeholder {
  color: #9aa0ad;
}

.auth-field input:focus {
  border-color: var(--blue-main);
  box-shadow: 0 0 0 4px rgba(33, 163, 255, 0.12);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-body);
  cursor: pointer;
}

.auth-remember input {
  accent-color: var(--blue-main);
}

.auth-link {
  color: var(--blue-main);
  text-decoration: none;
  font-weight: 600;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-btn {
  margin-top: 4px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--blue-main);
  border: none;
  border-radius: 50px;
  padding: 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(33, 163, 255, 0.35);
  transition: transform 0.12s ease, background 0.2s, box-shadow 0.2s;
}

.auth-btn:hover {
  background: #1a8fe0;
}

.auth-btn:active {
  transform: scale(0.97);
}

.auth-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--text-body);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(33, 163, 255, 0.2);
}

.auth-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid rgba(33, 163, 255, 0.2);
  border-radius: 50px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.auth-google:hover {
  background: #f4faff;
  border-color: var(--blue-main);
}

.auth-google svg {
  width: 18px;
  height: 18px;
}

.auth-footer {
  margin-top: 24px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-body);
  text-align: center;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 32px 22px;
    border-radius: 22px;
  }
}

/* ── animasi masuk halaman sign in / sign up ── */
@keyframes authPop {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes authFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* kartu "pop" muncul */
.auth-card {
  animation: authPop 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

/* isi kartu muncul bertahap */
.auth-card > * {
  animation: authFadeUp 0.5s ease both;
}
.auth-card > .auth-logo    { animation-delay: 0.15s; }
.auth-card > .auth-title   { animation-delay: 0.22s; }
.auth-card > .auth-sub     { animation-delay: 0.29s; }
.auth-card > .auth-form    { animation-delay: 0.36s; }
.auth-card > .auth-divider { animation-delay: 0.43s; }
.auth-card > .auth-google  { animation-delay: 0.50s; }
.auth-card > .auth-footer  { animation-delay: 0.57s; }

@media (prefers-reduced-motion: reduce) {
  .auth-card,
  .auth-card > * {
    animation: none;
  }
}
/* ── COMPONENT: DOWNLOAD MANAGER STYLE ── */
.download-manager-container {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(33, 163, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  margin-top: 10px;
  width: 100%;
}

/* Control Bar Atas */
.dm-control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #f8fcff;
  border-bottom: 1px solid rgba(33, 163, 255, 0.08);
}

.dm-search-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 6px;
  width: 260px;
}

.dm-search-input {
  border: none;
  outline: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  color: #1A1A2E;
  width: 100%;
}

.dm-total-info {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  color: #718096;
  font-weight: 600;
}

/* Table Style */
.dm-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.dm-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dm-table th {
  background: #f1f8fd;
  color: #4a5568;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(33, 163, 255, 0.08);
}

.dm-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  color: #2d3748;
  vertical-align: middle;
}

.dm-table tbody tr:hover {
  background: rgba(33, 163, 255, 0.02); 
}
.text-center {
  text-align: center;
  color: #a0aec0 !important;
}

/* File Info & Icon Wrapper */
.dm-file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dm-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
}

/* Variasi Warna Ikon Berdasarkan Tipe Dokumen */
.dm-file-icon.pdf { background: #fff5f5; color: #e53e3e; }
.dm-file-icon.zip { background: #fefcbf; color: #b7791f; }
.dm-file-icon.blank { background: #edf2f7; color: #718096; }
.dm-file-icon.ppt { background: #fff3eb; color: #d8501e; }

.dm-file-name-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dm-file-name {
  font-weight: 600;
  color: #1a202c;
  word-break: break-all;
}

.dm-project-source {
  font-size: 0.75rem;
  color: #718096;
}

/* Status Badges */
.dm-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.dm-badge.success {
  background: #c6f6d5;
  color: #22543d;
}

.dm-badge.pending {
  background: #feebc8;
  color: #744210;
}

/* Tombol Download */
.btn-dm-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: #21A3FF;
  border: 1.5px solid #21A3FF;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dm-action:hover:not(:disabled) {
  background: #21A3FF;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(33, 163, 255, 0.25);
}

.btn-dm-action:disabled {
  background: #edf2f7;
  border-color: #cbd5e0;
  color: #a0aec0;
  cursor: not-allowed;
}

/* ── ALIRAN KEBAIKAN (Proses 3 Langkah) ── */
.alur-kebaikan {
  padding: 180px 48px;
}

.alur-flow {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* garis penghubung di belakang ikon, menandakan alur/urutan proses */
.alur-line {
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(33, 163, 255, 0.35) 0 10px,
    transparent 10px 18px
  );
  z-index: 0;
}

.alur-item {
  position: relative;
  z-index: 1;
  flex: 1 1 260px;
  max-width: 300px;
  background: var(--white);
  border-radius: 20px;
  padding: 44px 22px 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(33, 163, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alur-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(33, 163, 255, 0.2);
}

.alur-icon-circle {
  width: 64px;
  height: 64px;
  margin: -66px auto 18px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-main));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(33, 163, 255, 0.35);
}

.alur-icon-circle svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.alur-card-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.alur-card-tag {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--blue-main);
  margin-bottom: 14px;
}

.alur-card-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-body);
}

@media (max-width: 900px) {
  .alur-kebaikan {
    padding: 110px 24px;
  }

  .alur-flow {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .alur-line {
    display: none;
  }
}

/* ── TIM DI BALIK LAYAR ── */
.tim-kami {
  padding: 180px 48px;
}

.tim-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 56px 24px;
  max-width: 980px;
  margin: 44px auto 0;
}

.tim-card {
  position: relative;
  flex: 1 1 260px;
  max-width: 290px;
  background: var(--white);
  border-radius: 20px;
  padding: 42px 20px 26px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(33, 163, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tim-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(33, 163, 255, 0.2);
}

/* Bubble foto ala speech-bubble yang "menempel" di atas kartu */
.tim-photo-wrap {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 132px;
  height: 64px;
  background: var(--blue-light);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(33, 163, 255, 0.3);
}

/* ekor bubble yang menyambung ke kartu */
.tim-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--blue-light);
  border-radius: 4px;
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
}

.tim-photo-wrap img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tim-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.tim-role {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--blue-main);
  background: #eaf6ff;
  border: 1px solid rgba(33, 163, 255, 0.35);
  padding: 3px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.tim-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-body);
}

@media (max-width: 900px) {
  .tim-kami {
    padding: 110px 24px;
  }

  .tim-grid {
    gap: 48px 20px;
  }
}

@media (max-width: 600px) {
  .tim-grid {
    flex-direction: column;
    align-items: center;
  }

  .tim-card {
    max-width: 320px;
    width: 100%;
  }
}

/* ── KEPERCAYAAN & TRANSPARANSI DANA ── */
.kepercayaan {
  padding: 190px 48px;
}

.kepercayaan-flex {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.kepercayaan-text {
  flex: 1 1 380px;
}

.kepercayaan-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.kepercayaan-title .text-accent {
  color: var(--blue-main);
}

.kepercayaan-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 440px;
}

/* Kartu kaca ringkasan penyaluran dana */
.kepercayaan-card {
  flex: 1 1 420px;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 32px 30px;
  box-shadow: 0 12px 36px rgba(33, 163, 255, 0.15);
}

.kepercayaan-card-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.dana-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dana-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dana-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dana-percent {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue-main);
  flex-shrink: 0;
}

.dana-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.4;
}

/* progress bar mengikuti gaya .progress-bar / .progress-fill yang sudah ada */
.dana-item .progress-bar {
  background: rgba(33, 163, 255, 0.15);
}

@media (max-width: 900px) {
  .kepercayaan {
    padding: 110px 24px;
  }

  .kepercayaan-flex {
    flex-direction: column;
    text-align: center;
  }

  .kepercayaan-desc {
    max-width: 100%;
    margin: 0 auto;
  }

  .kepercayaan-card {
    width: 100%;
  }

  .dana-top {
    justify-content: center;
  }
}

/* ── PAGE BANNER (mis. header "Katalog Produk") ── */
.landing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}

.page-banner {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.page-banner-img {
  display: block;
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.page-banner-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(to top,
    rgba(255, 255, 255, 0.97) 20%,
    rgba(255, 255, 255, 0.72) 55%,
    rgba(255, 255, 255, 0) 100%);
}

.page-banner-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  padding: 0 24px;
  text-align: center;
}

.page-banner-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text-dark);
  margin-bottom: 10px;
}

.page-banner-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  /* Teks banner di bagian bawah foto agar section berikutnya tidak terasa mepet */
  .page-banner-text {
    top: auto;
    bottom: 24px;
    padding: 0 24px;
  }

  .page-banner + .landing-section,
  .page-banner + #program-donasi.landing-section {
    padding-top: 80px;
    padding-bottom: 64px;
  }

  .page-banner + .produk-populer {
    padding: 80px 20px 64px;
  }

  #hero + #program-donasi,
  #program-donasi + #katalog-produk {
    padding-top: 96px;
  }

  .produk-populer {
    padding: 80px 20px 64px;
  }

  .all-produk {
    padding: 80px 0 100px;
  }
}

@media (max-width: 600px) {
  .page-banner-img {
    height: 360px;
  }

  .page-banner-text {
    bottom: 20px;
    padding: 0 16px;
  }

  .page-banner + .landing-section,
  .page-banner + #program-donasi.landing-section {
    padding: 72px 16px 56px;
  }

  .page-banner + .produk-populer {
    padding: 72px 16px 56px;
  }

  .landing-section {
    padding: 72px 16px 56px;
  }

  .produk-populer {
    padding: 72px 16px 56px;
  }

  .all-produk {
    padding: 72px 0 80px;
  }

  .page-banner-desc {
    font-size: 0.85rem;
  }
}

/* ═══════════════════════════════════════
   PRODUK POPULER – KATALOG
═══════════════════════════════════════ */
.produk-populer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 170px 24px 130px;
}

.produk-populer-header {
  text-align: center;
  margin-bottom: 48px;
}

.produk-populer-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #1a1a2e;
  margin: 0 0 10px;
}

.produk-populer-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.produk-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.produk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

.produk-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.produk-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.produk-card:hover .produk-img-wrap img {
  transform: scale(1.05);
}

.produk-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.produk-tag {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 3px 10px;
  width: fit-content;
}

.produk-name {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.produk-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.15s;
}

.produk-link:hover {
  color: #1d4ed8;
}

@media (max-width: 900px) {
  .produk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .produk-grid { grid-template-columns: 1fr; }
  .produk-populer-title { font-size: 1.15rem; }
}


/* ═══════════════════════════════════════
   ALL PRODUK – SEARCH, FILTER, MASONRY
═══════════════════════════════════════ */
.all-produk {
  
  padding: 140px 0 170px;
}

.all-produk-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Search bar */
.katalog-search-wrap {
  position: relative;
  width: 100%;
  margin: 0 0 20px;
}

.katalog-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
  flex-shrink: 0;
}

.katalog-search-input {
  width: 100%;
  padding: 14px 22px 14px 48px;
  border: none;
  border-radius: 999px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #1a1a2e;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(33, 163, 255, 0.08), 0 1px 4px rgba(0,0,0,0.06);
  outline: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.katalog-search-input::placeholder {
  color: #94a3b8;
}

.katalog-search-input:focus {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 2px rgba(33, 163, 255, 0.25), 0 4px 16px rgba(33, 163, 255, 0.12);
}

/* Filter pills */
.katalog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid #21A3FF;
  background: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #21A3FF;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.filter-btn::after {
  content: '▾';
  font-size: 0.75rem;
  line-height: 1;
  opacity: 0.8;
}

/* Tombol "Semua" tidak perlu chevron */
.filter-btn[data-cat="semua"]::after {
  display: none;
}

.filter-btn:hover {
  background: rgba(33, 163, 255, 0.08);
  box-shadow: 0 2px 8px rgba(33, 163, 255, 0.15);
}

.filter-btn.active {
  background: #21A3FF;
  border-color: #21A3FF;
  color: #fff;
  box-shadow: 0 2px 8px rgba(33, 163, 255, 0.3);
}

.filter-btn.active::after {
  opacity: 1;
}

/* Masonry grid */
.all-produk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ap-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ap-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ap-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ap-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.ap-card:hover .ap-img-wrap img {
  transform: scale(1.04);
}

.ap-body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ap-name {
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.4;
}

.katalog-empty {
  text-align: center;
  padding: 60px 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .all-produk-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .all-produk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .all-produk-grid { grid-template-columns: 1fr; }
}

/* ── ANIMASI LOAD FAQ HERO ── */
.faq-hero-inner .faq-eyebrow {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s cubic-bezier(.22, .68, 0, 1.2) 0.1s forwards;
}

.faq-hero-inner .faq-title {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s cubic-bezier(.22, .68, 0, 1.2) 0.3s forwards;
}

.faq-hero-inner .faq-subtitle {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s cubic-bezier(.22, .68, 0, 1.2) 0.5s forwards;
}

/* =========================================
   TAMBAHAN ANIMASI BARU 
========================================= */

/* 1. Animasi Pulse Glow untuk Tombol Aksi (CTA) */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(33, 163, 255, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(33, 163, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(33, 163, 255, 0); }
}

.btn-donasi, 
.btn-donasi-list, 
.btn-signup, 
.btn-signup-mobile {
  animation: pulseGlow 2s infinite;
}

/* Hentikan efek denyut saat tombol disorot kursor */
.btn-donasi:hover, 
.btn-donasi-list:hover, 
.btn-signup:hover, 
.btn-signup-mobile:hover {
  animation: none; 
}

/* 2. Animasi Float & Slide Up untuk Page Banner */
.page-banner-img {
  /* Menggunakan keyframes 'float' yang sudah ada di kodemu */
  animation: float 6s ease-in-out infinite;
  transform-origin: center;
}

.page-banner-text {
  opacity: 0;
  transform: translateY(30px);
  /* Menggunakan keyframes 'slideUp' yang sudah ada di kodemu */
  animation: slideUp 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s forwards;
}

/* 3. Persiapan CSS untuk 3D Tilt Effect pada Kartu */
.donation-card, 
.ap-card, 
.produk-card {
  transition: transform 0.5s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Animasi transisi saat kartu katalog difilter (senada dgn .reveal) ── */
.ap-card.ap-hide {
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .ap-card,
  .ap-card.ap-hide {
    transition: none;
    transform: none;
    opacity: 1;
  }
}