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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* kasih jarak konten dari navbar */
.page,
.page-container {
  padding-top: 40px;
}

/* =========================
   BASE PAGE LAYOUT
========================= */
.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.75;
}

/* judul halaman */
.page-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #0b2c5f;
}

/* garis pemisah */
.page-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
  margin-bottom: 28px;
}

/* deskripsi pembuka */
.page-lead {
  font-size: 1.05rem;
  color: #334155;
  margin-bottom: 36px;
}

/* =========================
   CONTENT TYPOGRAPHY
========================= */
.page p {
  margin-bottom: 18px;
  color: #1f2937;
}

.page ul {
  padding-left: 20px;
  margin: 18px 0;
}

.page ul li {
  margin-bottom: 10px;
}

/* kutipan */
.page blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  font-style: italic;
  color: #334155;
}

/* =========================
   FAQ
========================= */
.faq-item {
  margin-bottom: 18px;
  border-radius: 12px;
  background: #f8fafc;
  padding: 16px 18px;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
}

.faq-item.active .faq-question::after {
  content: "–";
}

.faq-answer {
  display: none;
  margin-top: 10px;
  color: #374151;
}

.faq-item.active .faq-answer {
  display: block;
}


/* =========================
   KONTAK
========================= */
.contact-list {
  margin-top: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
}

.contact-item i {
  color: #2563eb;
  font-size: 1.2rem;
}

/* =========================
   DARK MODE
========================= */
body.dark .page {
  color: #e5e7eb;
}

body.dark .page-title {
  color: #e5e7eb;
}

body.dark .page-divider {
  background: linear-gradient(90deg, #fde047, #facc15);
}

body.dark .page-lead,
body.dark .page p {
  color: #cbd5f5;
}

body.dark .faq-item {
  background: #020617;
}

body.dark .faq-answer {
  color: #cbd5f5;
}

body.dark .donate-page-box {
  background: linear-gradient(
    180deg,
    rgba(253,224,71,0.12),
    rgba(253,224,71,0.04)
  );
}

body.dark .donate-bank-item {
  background: #020617;
}

body.dark .donate-bank-item button {
  background: #fde047;
  color: #020617;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 640px) {
  .page {
    padding: 100px 16px 60px;
  }

  .page-title {
    font-size: 1.9rem;
  }
}

/* =========================
   ABOUT PAGE
========================= */
.about-section {
  margin-top: 36px;
}

.about-section h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #0b2c5f;
}

.about-note blockquote {
  margin-top: 48px;
  font-size: 0.95rem;
}

/* DARK */
body.dark .about-section h3 {
  color: #fde047;
}

/* =====================
   PRE FOOTER
===================== */

.prefooter {
  position: relative;
  background: url("../assets/images/islamic-pattern.png") center/cover no-repeat;
  padding: 70px 24px 48px;
  color: #ffffff;
}

.prefooter-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 32, 72, 0.92);
  z-index: 0;
}

.prefooter-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

/* ===============================
   KOLOM PREFOOTER
================================ */

.prefooter-col h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* ===============================
   PARAGRAF DESKRIPSI
================================ */

.prefooter-col p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #c8d6e5;
}

/* ===============================
   LIST KAJIAN & FITUR
================================ */

.prefooter-col ul,
.prefooter-col li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* jarak tiap item */
.prefooter-col li {
  margin-bottom: 10px;
}

/* ===============================
   LINK LIST
================================ */

.prefooter-col li a {
  text-decoration: none;
  color: #dfe6ed;
  font-size: 0.95rem;
  transition: 0.25s ease;
  position: relative;
}

/* underline elegan */
.prefooter-col li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #4ea1ff;
  transition: 0.3s ease;
}

/* hover */
.prefooter-col li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.prefooter-col li a:hover::after {
  width: 100%;
}

/* ===============================
   CATATAN KHUSUS
================================ */

.prefooter-note {
  font-size: 0.9rem;
  color: #b7c6d6;
  line-height: 1.7;
  font-style: italic;
}

/* =============================
   SOCIAL MEDIA ICON
============================= */

.prefooter-social {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.prefooter-social a {
  width: 56px;
  height: 56px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  border: none;

  font-size: 22px;
  color: white;

  position: relative;
  z-index: 3;

  transition: 0.3s ease;
}

/* Hover */
.prefooter-social a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

/* WARNA BRAND */
.prefooter-social a:nth-child(1) {
  background: linear-gradient(135deg,#25D366,#128C7E);
}

.prefooter-social a:nth-child(2) {
  background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af);
}

.prefooter-social a:nth-child(3) {
  background: linear-gradient(135deg,#000,#333);
}

.prefooter-social a:nth-child(4) {
  background: linear-gradient(135deg,#00aaff,#0077cc);
}
/* =====================
   PREFooter Social — MOBILE
===================== */
@media (max-width: 600px) {

  .prefooter-social {
    margin-top: 32px;
    gap: 20px;           /* 🔽 lebih rapat */
  }

  .prefooter-social a {
    width: 48px;         /* 🔽 dari 56 */
    height: 48px;
    font-size: 1.8rem;   /* 🔽 dari 2.2rem */
  }
  
}

/* =====================
   FOOTER
===================== */
.site-footer {
  background: #0b2c5f;
  text-align: center;
  padding: 25px 15px;
  font-size: 15px;
  color: #e7eaed;
  font-family: "Source Serif 4", serif;
}

/* =====================
   FOOTER — DARK ONLY
===================== */

body.dark .site-footer {
  background: #020617;
  color: #a8b2c0;
  font-size: 0.8rem;
  text-align: center;
  padding: 18px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: "Source Serif 4", serif;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  margin: 0 10px;
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  opacity: 0.8;
}


/* =====================
   PRE FOOTER — DARK ONLY
===================== */

body.dark .prefooter {
  position: relative;
  background: linear-gradient(135deg, #020617, #020617);
  padding: 72px 20px 56px;
  color: #e5e7eb;
}

body.dark .prefooter-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(96, 165, 250, 0.18),
    transparent 60%
  );
  pointer-events: none;
}

body.dark .prefooter-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

/* Judul kolom */
body.dark .prefooter-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #9cabba;
  letter-spacing: 0.2px;
}

/* Isi teks */
body.dark .prefooter-col p,
body.dark .prefooter-col li {
  font-size: 0.85rem;
  line-height: 1.75;
  color: #cbd5e1;
}

body.dark .prefooter-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.dark .prefooter-col li {
  margin-bottom: 6px;
}

/* =====================
   SOCIAL ICONS — DARK
===================== */

body.dark .prefooter-social {
  position: relative;
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 22px;
}

body.dark .prefooter-social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 1.35rem;
  transition: all 0.25s ease;
}

body.dark .prefooter-social a:hover {
  background: #953b14;
  color: #07175b;
  transform: translateY(-3px);
}

/* =========================
   NAVBAR – PAGES FINAL
========================= */

.navbar {
  width: 100%;
  background: linear-gradient(135deg, #0f2a44, #143a5f);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 24px;
}


/* LEFT */
.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-burger {
  font-size: 22px;
  background: none;
  border: none;
  color: #eaf2ff;
  cursor: pointer;
  opacity: .85;
}

.nav-burger:hover {
  opacity: 1;
}

/* BRAND */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;

  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 600;

  color: #ffffff;
  text-decoration: none;
  letter-spacing: .3px;
}

.nav-brand-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 26px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand-text {
  white-space: nowrap;
}

.nav-brand .nav-brand-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  padding: 10px 14px;
  text-decoration: none;
  color: #eaeaea;
  font-weight: 500;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #f5c76a, #e0a93b);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* aktif */
.nav-links a.active::after {
  width: 100%;
}

/* hover doang (opsional) */
.nav-links a:hover::after {
  width: 100%;
}

/* Link utama + pemilih bahasa */
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  background: #0f2a44;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  display: none;
  z-index: 1200;
}

.lang-menu button {
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: none;
  color: #f1f5f9;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
}

.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown.active .lang-menu {
  display: block;
}

html[lang="ar"] .lang-menu {
  right: auto;
  left: 0;
}

html[lang="ar"] .lang-menu button {
  text-align: right;
}

@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nav-left {
    width: 100%;
    justify-content: center;
  }

  .nav-right {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 0;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
    font-size: .9rem;
    padding: 10px 0;
  }
}

/* ===============================
   AUTHOR SECTION
================================ */
.author-section {
  margin-top: 60px;
}

.author-card {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  gap: 28px;

  background: linear-gradient(
    135deg,
    #f8fafc,
    #eef3f9
  );

  border-radius: 18px;
  border-left: 4px solid #2563eb;
  padding: 28px 32px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

/* FOTO */
.author-photo img {
  width: 130px;
  height: 130px;
  object-fit: cover;

  border-radius: 16px;
  border: 3px solid #fff;

  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
/* INFO */
.author-info h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: #0f172a;
}

.author-role {
  display: block;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* TAG */
.author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.author-tags span {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;

  color: #1e40af;
  background: #e0ecff;

  border-radius: 999px;
}
/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .author-card {
    flex-direction: column;
    text-align: center;
  }

  .author-photo img {
    margin: 0 auto;
  }

  .author-tags {
    justify-content: center;
  }
}

/* ===============================
   ABOUT – CATATAN EDITORIAL
================================ */

.about-note blockquote {
  margin: 0;
  padding: 16px 20px;
  background: #f6f8fc;
  border-left: 4px solid #2563eb;
  border-radius: 6px;

  font-size: 14.5px;
  line-height: 1.7;
  font-style: italic;
  color: #374151;
}

/* ===============================
   FAQ
================================ */

.faq-section {
  margin-top: 40px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
}

/* QUESTION */
.faq-question {
  width: 100%;
  padding: 16px 18px;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border: none;
  outline: none;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.faq-question:hover {
  background: #e0e7ff;
}

.faq-icon {
  font-size: 18px;
  font-weight: bold;
  color: #2563eb;
  transition: transform 0.3s ease;
}

/* ANSWER */
.faq-answer {
  display: none;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #334155;
  background: #ffffff;
}

/* ACTIVE */
.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* =====================
   QRIS ACCORDION
===================== */

.qris-toggle {
  width: 100%;
  margin: 18px 0 10px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.qris-toggle:hover {
  background: #eef4ff;
}

.qris-icon {
  font-size: 20px;
  transition: transform 0.25s ease;
}

.qris-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  text-align: center;
}

.qris-content img {
  max-width: 220px;
  margin: 16px auto 10px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

.qris-text {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 12px;
}

/* ACTIVE STATE */
.qris-open .qris-content {
  max-height: 420px;
}

.qris-open .qris-icon {
  transform: rotate(45deg);
}


/* =========================
   DONASI PAGE – POLISHED (REFINED)
========================= */

.donation-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  margin-top: 36px;
}

/* CARD UMUM */
.donation-card {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.donation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.09);
}

/* CARD UTAMA */
.donation-card.primary {
  background: linear-gradient(135deg, #0f2a44, #153a5c);
  color: #ffffff;
}

.donation-card.primary h3,
.donation-card.primary p,
.donation-card.primary li {
  color: #ffffff;
}

.donation-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.donation-card p {
  color: #4b5563;
  line-height: 1.65;
}

/* LIST */
.donation-list {
  margin-top: 18px;
  padding-left: 0;
  list-style: none;
}

.donation-list li {
  margin-bottom: 10px;
  opacity: 0.95;
}

/* INFO BLOK */
.donation-info {
  margin-bottom: 18px;
}

.donation-info strong {
  display: block;
  margin-bottom: 6px;
  color: #0f2a44;
  font-weight: 600;
}

/* =========================
   QRIS TOGGLE
========================= */

.qris-toggle {
  margin-top: 18px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #f1f4f8, #e9eef5);
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all .25s ease;
}

.qris-toggle:hover {
  background: linear-gradient(180deg, #e7edf4, #dde6f0);
}

.qris-icon {
  font-size: 20px;
  font-weight: bold;
  transition: transform .25s ease;
}

.donation-card.qris-open .qris-icon {
  transform: rotate(45deg);
}

/* QRIS CONTENT */
.qris-box {
  display: none;
  margin-top: 18px;
  text-align: center;
  animation: fadeSlide .35s ease;
}

.donation-card.qris-open .qris-box {
  display: block;
}

.qris-box img {
  max-width: 220px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

/* ANIMASI */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   NOTE
========================= */

.donation-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: #f8fafc;
  border-left: 4px solid #1e88e5;
  border-radius: 12px;
  color: #555;
  font-size: 0.95rem;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {
  .donation-card {
    padding: 22px;
  }

  .qris-box img {
    max-width: 180px;
  }
}

/* =========================
   COPY BUTTON
========================= */

.copy-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 6px;
}

.copy-row span {
  font-weight: 600;
  color: #0f2a44;
}

.copy-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: #1e88e5;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background .2s ease;
}

.copy-btn:hover {
  background: #1565c0;
}

.copy-btn.copied {
  background: #2e7d32;
}

/* ======================
   DONATION HERO
====================== */

.donation-hero {

  background:
    linear-gradient(
      135deg,
      #0f172a 0%,
      #1e3a8a 60%,
      #2563eb 100%
    );

  color: white;
  padding: 90px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Glow background */
.donation-hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -120px;
  right: -120px;
}

/* Content */
.donation-hero-content {
  max-width: 700px;
  margin: auto;
}

/* Tag kecil */
.donation-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 14px;
  margin-bottom: 18px;
}

/* Judul besar */
.donation-hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.donation-hero h1 span {
  color: #fbbf24;
}

/* Deskripsi */
.donation-hero p {
  font-size: 20px;
  opacity: 0.9;
  line-height: 1.8;
}

.donation-card {
  margin-top: -5px;
  position: relative;
  z-index: 5;
}

.donation-highlights {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top:20px;
  flex-wrap: wrap;
}

.highlight {
  background: white;
  color: #1e293b;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 500;
}

/* =========================
   CONTACT PAGE – FINAL
========================= */

.page-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f2a44;
}

.page-divider {
  width: 64px;
  height: 4px;
  background: #1e88e5;
  border-radius: 2px;
  margin: 12px 0 22px;
}

.page-lead {
  max-width: 720px;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 42px;
}

/* =========================
   CONTACT GRID
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-bottom: 48px;
}

.contact-card {
  background: linear-gradient(180deg, #ffffff, #f6f9fd);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.contact-icon {
  font-size: 26px;
  transition: transform .3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.2) rotate(-5deg);
}

.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #0f2a44;
}

.contact-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 14px;
}

.contact-link {
  color: #1e3a8a;        /* biru elegan */
  text-decoration: none; /* hilangkan garis bawah */
  font-weight: 500;
}

.contact-link:hover {
  color: #1e40af;        /* biru lebih terang saat hover */
  text-decoration: underline;
}

.contact-link {
  font-weight: 600;
  position: relative;
}

.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #1e88e5;
  transition: width .3s ease;
}

.contact-link:hover::after {
  width: 100%;
}

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

/* =========================
   CATATAN DISKUSI
========================= */

.contact-note {
  margin-top: 40px;
  padding: 22px;
  background: #f8fafc;
  border-left: 4px solid #1e88e5;
  border-radius: 10px;
}

.contact-note h3 {
  margin-bottom: 12px;
  color: #0f2a44;
}

.contact-note ul {
  padding-left: 18px;
  margin: 0;
}

.contact-note li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #555;
}



/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  .page-title {
    font-size: 1.6rem;
  }

  .page-container {
    padding: 36px 16px 56px;
  }
}

.contact-link {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnim .6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(15);
    opacity: 0;
  }
}

.contact-card {
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

.contact-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0f2a44;
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  transition: .35s;
  z-index: 9999;
}

.contact-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== LAYOUT HALAMAN ===== */
.page {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Judul halaman */
.page-title {
  font-size: 2rem;
  margin-bottom: 8px;
}

/* Garis bawah judul */
.page-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 4px;
  margin-bottom: 28px;
}

/* ===== PARAGRAF ===== */
.page-lead,
.about-section p {
  text-align: justify;
  line-height: 1.9;
  margin-bottom: 18px;
  text-indent: 28px;
  color: #1f2937;
}

/* ===== HEADING SECTION ===== */
.about-section h3 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

/* ===== LIST ===== */
.about-section ul,
.about-section ol {
  margin-top: 10px;
  margin-bottom: 18px;
  padding-left: 22px;
}

.about-section li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Sub text nilai */
.sub-text {
  display: block;
  font-size: 0.92rem;
  color: #6b7280;
  margin-top: 4px;
}

/* ===== QUOTE BAGIAN BAWAH ===== */
.about-note {
  margin-top: 40px;
}

.about-note blockquote {
  border-left: 4px solid #2563eb;
  padding: 14px 18px;
  background: #f1f5f9;
  font-style: italic;
  line-height: 1.7;
  border-radius: 6px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  margin: 0 10px;
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  opacity: 0.8;
}

.faq-update-info {
  background: linear-gradient(135deg, #eaf2ff, #f6f9ff);
  border: 1px solid #cddfff;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1a2a4a;
  box-shadow: 0 6px 18px rgba(0, 70, 180, 0.08);
}

/* AUTO RTL SAAT GOOGLE SET ARAB */
html[lang="ar"] body {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .hero,
html[lang="ar"] .navbar,
html[lang="ar"] .quick-menu,
html[lang="ar"] .article-content {
  text-align: right;
}

.paypal-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0070ba, #00457c);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 70, 140, 0.35);
}

 .scroll-to-top{
   position: fixed;
 
   left: 18px;          /* pindah ke kiri */
   bottom: 26px;
 
   width: 42px;         /* lebih kecil */
   height: 36px;
 
   border: none;
   border-radius: 10px; /* bukan bulat */
 
   display: flex;
   align-items: center;
   justify-content: center;
 
   cursor: pointer;
 
   background: linear-gradient(135deg,#ef4444,#dc2626); /* merah modern */
 
   color: white;
 
   box-shadow:
     0 6px 16px rgba(0,0,0,0.25),
     0 3px 8px rgba(239,68,68,0.35);
 
   opacity: 0;
   visibility: hidden;
 
   transform: translateY(14px);
   transition: all 0.28s ease;
 
   z-index: 999;
   pointer-events: none;
 }
 
 /* icon */
 .scroll-to-top svg{
   width: 16px;
   height: 16px;
 }
 
 /* muncul */
 .scroll-to-top.show{
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
   pointer-events: auto;
 }
 
 /* hover */
 .scroll-to-top:hover{
   transform: translateY(-2px);
   box-shadow:
     0 10px 22px rgba(0,0,0,0.3),
     0 6px 14px rgba(239,68,68,0.45);
 }
 
 /* klik */
 .scroll-to-top:active{
   transform: scale(0.95);
 }

.paypal-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 70, 140, 0.5);
}

.donation-note {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 8px;
}

/* Container preset */
.preset-amounts {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

/* Tombol preset */
.preset-amounts a {
  padding: 8px 16px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
  border: 1px solid #e2e8f0;
}

/* Hover effect */
.preset-amounts a:hover {
  background: linear-gradient(135deg, #0070ba, #00457c);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 70, 140, 0.35);
}

