:root {
  --bg-white: #FFFFFF;
  --bg-soft: #F7FAFC;
  --bg-mint-tint: #F0FDF9;
  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-500: #64748B;
  --border-light: #E2E8F0;

  --emerald-600: #059669;
  --emerald-500: #10B981;
  --emerald-50: #ECFDF5;
  --teal-600: #0D9488;

  --amber-600: #D97706;
  --amber-500: #F59E0B;
  --amber-50: #FFFBEB;

  --blue-600: #0284C7;
  --blue-50: #F0F9FF;

  --rose-500: #F43F5E;
  --rose-50: #FFF1F2;

  --shadow-xs: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 42px rgba(13, 148, 136, 0.1);
  --shadow-gold: 0 14px 34px rgba(245, 158, 11, 0.16);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Noto Naskh Arabic', 'Amiri', serif;

  /* Crisp Islamic 8-Point Star, Rub el-Hizb & Girih Filigree SVG Pattern */
  --arabesque-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none'%3E%3Cpolygon points='48,6 58,28 80,18 70,40 92,48 70,56 80,78 58,68 48,90 38,68 16,78 26,56 4,48 26,40 16,18 38,28' fill='%2310B981' fill-opacity='0.045' stroke='%23059669' stroke-width='1.2' stroke-opacity='0.26'/%3E%3Cpolygon points='48,20 55,36 72,29 65,46 80,48 65,50 72,67 55,60 48,76 41,60 24,67 31,50 16,48 31,46 24,29 41,36' stroke='%230D9488' stroke-width='0.9' stroke-opacity='0.18'/%3E%3Ccircle cx='48' cy='48' r='12' stroke='%23D97706' stroke-width='1.15' stroke-opacity='0.25'/%3E%3Ccircle cx='48' cy='48' r='4' fill='%23F59E0B' fill-opacity='0.2'/%3E%3Cpath d='M0,16 L16,0 M80,0 L96,16 M0,80 L16,96 M80,96 L96,80' stroke='%23059669' stroke-width='1' stroke-opacity='0.2'/%3E%3C/g%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--ink-900);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.container {
  width: min(1320px, 95%);
  margin-inline: auto;
}

/* Ornamental Colorful Top Strip */
.islamic-top-strip {
  height: 6px;
  background: linear-gradient(90deg, #10B981 0%, #06B6D4 30%, #F59E0B 65%, #F43F5E 100%);
}

/* Top Banner */
.top-banner {
  background: linear-gradient(90deg, #ECFDF5 0%, #F0F9FF 50%, #FFFBEB 100%);
  border-bottom: 1px solid rgba(13, 148, 136, 0.12);
  padding: 0.55rem 0;
  font-size: 0.86rem;
  color: var(--ink-700);
}

.top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  color: var(--emerald-600);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.top-donate-link {
  font-weight: 700;
  color: var(--amber-600);
  background: #FFFFFF;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  transition: transform 0.15s ease;
}

.top-donate-link:hover {
  transform: translateY(-1px);
}

/* Clean White Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 10px 0;
  gap: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-logo-icon {
  height: 88px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo-icon {
  transform: scale(1.04);
}

.brand-logo-wordmark {
  height: 78px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.nav-links a:not(.btn):not(.nav-user-pill) {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  white-space: nowrap;
  padding: 0.42rem 0.78rem;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-700);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-links a:not(.btn):not(.nav-user-pill):hover {
  color: var(--emerald-600);
  background-color: var(--emerald-50);
}

/* Sub-Teks Bahasa Arab Berharakat di Bawah Menu, Tombol & Statistik (Bisa di-ON/OFF 1 Klik dari Admin) */
.ar-menu-sub {
  display: block;
  font-family: var(--font-arabic);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.28;
  direction: rtl;
  letter-spacing: 0;
  color: #059669;
}

.nav-links a:not(.btn):not(.nav-user-pill):hover .ar-menu-sub {
  color: #047857;
}

.btn-bilingual {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-bilingual .btn-bi-top {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  white-space: nowrap !important;
}

.btn-bilingual .ar-menu-sub {
  white-space: nowrap !important;
}

.btn-primary .ar-menu-sub,
.btn-cta-register .ar-menu-sub,
.btn-donate-nav .ar-menu-sub {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.84rem;
}

.btn-soft .ar-menu-sub {
  color: #047857;
  font-size: 0.76rem;
}

.hl-ar {
  font-size: 0.88rem;
  color: #059669;
  margin: 1px 0 2px;
}

body.hide-arab-sub .ar-menu-sub {
  display: none !important;
}

body.hide-arab-sub .nav-links a:not(.btn):not(.nav-user-pill) {
  flex-direction: row;
  border-radius: 999px;
  padding: 0.52rem 0.9rem;
  font-size: 0.9rem;
}

body.hide-arab-sub .btn-bilingual {
  flex-direction: row !important;
  gap: 0.45rem !important;
}

.menu-toggle {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.55rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.92rem 1.75rem;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
  padding: 0.9rem 1.3rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-500), var(--teal-600));
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.36);
}

.btn-soft {
  background: #FFFFFF;
  color: var(--ink-900);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-soft:hover {
  border-color: var(--amber-500);
  background: var(--amber-50);
}

.btn-donate-nav {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  white-space: nowrap;
  margin-left: 0.35rem;
  background: linear-gradient(135deg, #F59E0B, #EA580C);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
}

.btn-cta-register {
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 58%, #E11D48 100%);
  color: #FFFFFF;
  border: 1.5px solid rgba(254, 243, 199, 0.75);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.32);
  font-weight: 800;
}

.btn-cta-register:hover {
  background: linear-gradient(135deg, #D97706 0%, #DC2626 100%);
  box-shadow: 0 16px 32px rgba(234, 88, 12, 0.42);
  transform: translateY(-2px);
}

/* Hero Section with Soft Emerald-Mint Tint + Clear Islamic Ornaments */
.hero {
  position: relative;
  padding: 3.8rem 0 4.8rem;
  background: radial-gradient(circle at 14% 20%, rgba(16, 185, 129, 0.18), transparent 48%),
              radial-gradient(circle at 86% 24%, rgba(20, 184, 166, 0.15), transparent 50%),
              radial-gradient(circle at 75% 84%, rgba(245, 158, 11, 0.14), transparent 46%),
              linear-gradient(180deg, #E2F8EE 0%, #ECFCF5 52%, #F6FEFB 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.16);
  overflow: hidden;
}

.arabesque-bg {
  position: absolute;
  inset: 0;
  background-image: var(--arabesque-svg);
  background-size: 96px 96px;
  opacity: 0.92;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.5rem;
  align-items: stretch;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #FFFFFF;
  border: 1px solid rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-xs);
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--teal-600);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(1.82rem, 2.82vw, 2.52rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.hero-h1-br {
  display: inline;
}

.grad-emerald {
  background: linear-gradient(135deg, #059669, #0284C7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grad-amber {
  background: linear-gradient(135deg, #D97706, #F43F5E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.02rem;
  line-height: 1.58;
  color: var(--ink-700);
  max-width: 60ch;
  margin-bottom: 0.9rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.hero-actions .btn-lg {
  padding: 0.92rem 1.45rem;
  font-size: 0.94rem;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-actions .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

.hero-highlights {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  flex-wrap: nowrap;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.3rem;
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.06);
}

@media (max-width: 680px) {
  .hero-highlights {
    flex-wrap: wrap;
  }
}

.hl-item {
  display: flex;
  flex-direction: column;
}

.hl-num {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink-900);
}

.hl-label {
  font-size: 0.8rem;
  color: var(--ink-500);
}

.hl-divider {
  width: 1px;
  height: 32px;
  background: var(--border-light);
}

/* Islamic Mihrab / Dome Arch Frame for Hero Image — Full Precision Top-to-Bottom Match */
.hero-visual {
  display: flex;
  flex-direction: column;
}

.arch-showcase {
  position: relative;
  width: 100%;
  max-width: 550px;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
}

.arch-main-frame {
  position: relative;
  width: 100%;
  flex: 1;
  height: 100%;
  min-height: 540px;
  border-radius: 275px 275px 28px 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #CCFBF1, #FEF3C7);
  padding: 8px;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(245, 158, 11, 0.32);
}

.arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 267px 267px 22px 22px;
  display: block;
}

.arch-gradient-overlay {
  position: absolute;
  inset: 8px;
  border-radius: 267px 267px 22px 22px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 42%, rgba(15, 23, 42, 0.78) 100%);
}

.arch-caption {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  text-align: center;
  color: #FFFFFF;
  z-index: 2;
}

.ar-calligraphy {
  display: block;
  font-family: var(--font-arabic);
  font-size: 1.65rem;
  font-weight: 700;
  color: #FDE68A;
  line-height: 1.5;
}

.arch-caption p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.92);
}

.float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  border-radius: 16px;
  padding: 0.65rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.float-top-right {
  top: 9%;
  right: -18px;
  z-index: 4;
}

.float-mid-right {
  bottom: 196px;
  right: -18px;
  z-index: 4;
}

.float-bottom-left {
  bottom: 120px;
  left: -22px;
  z-index: 4;
}

.float-donate-hero {
  position: absolute;
  top: 6px;
  left: -158px;
  z-index: 5;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  display: block;
  text-decoration: none;
  filter: drop-shadow(0 12px 22px rgba(217, 119, 6, 0.38));
  transition: transform 0.2s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.float-donate-hero:hover {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 16px 28px rgba(217, 119, 6, 0.5));
}

.float-donate-hero svg {
  display: block;
  overflow: visible;
}

.float-donate-hero .donasi-heart {
  transform-box: view-box;
}

/* Hati berdetak ketika tombol diklik */
.float-donate-hero.beat .donasi-heart {
  animation: donasiHeartBeat 0.95s ease-in-out 1;
}

.float-donate-hero.beat::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(239, 68, 68, 0.75);
  animation: donasiRing 0.95s ease-out 1;
  pointer-events: none;
}

@keyframes donasiHeartBeat {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.38); }
  28%  { transform: scale(0.96); }
  42%  { transform: scale(1.32); }
  70%  { transform: scale(1); }
  100% { transform: scale(1); }
}

@keyframes donasiRing {
  0%   { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .float-donate-hero.beat .donasi-heart,
  .float-donate-hero.beat::after { animation: none; }
}

.float-donate-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.float-donate-hero strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
}

.float-donate-hero small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #FEF3C7;
  line-height: 1.2;
}

.float-flag {
  font-size: 1.5rem;
}

.float-badge strong {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-900);
  line-height: 1.2;
}

.float-badge small {
  font-size: 0.74rem;
  color: var(--ink-500);
}

/* Generic Sections */
.section {
  padding: 4.8rem 0;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.eyebrow-tag {
  display: inline-block;
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.tag-emerald {
  background: var(--emerald-50);
  color: var(--emerald-600);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tag-blue {
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.tag-rose {
  background: var(--rose-50);
  color: var(--rose-500);
  border: 1px solid rgba(244, 63, 94, 0.22);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--ink-700);
  font-size: 1.02rem;
}

/* Destination / Heritage Cards (Fushah, Cairo Mesir & Makkah-Madinah Saudi) */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.dest-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dest-image-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #E2E8F0;
}

.dest-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.dest-overlay {
  position: absolute;
  inset: 0;
}

.overlay-emerald {
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.12) 0%, rgba(6, 78, 59, 0.82) 100%);
}

.overlay-amber {
  background: linear-gradient(180deg, rgba(120, 53, 15, 0.12) 0%, rgba(120, 53, 15, 0.82) 100%);
}

.overlay-saudi {
  background: linear-gradient(180deg, rgba(0, 108, 53, 0.14) 0%, rgba(4, 78, 43, 0.86) 100%);
}

.dest-top-badges {
  position: absolute;
  top: 16px;
  left: 16px;
}

.glass-pill {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-900);
}

.dest-title-overlay {
  position: absolute;
  bottom: 18px;
  left: 22px;
  right: 22px;
  color: #FFFFFF;
}

.dest-ar {
  display: block;
  font-family: var(--font-arabic);
  font-size: 1.35rem;
  color: #FDE68A;
  line-height: 1.4;
}

.dest-title-overlay h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.dest-body {
  padding: 1.65rem 1.8rem;
}

.dest-body p {
  color: var(--ink-700);
  font-size: 0.96rem;
  margin-bottom: 1.2rem;
}

.dest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dest-tags span {
  background: var(--emerald-50);
  color: var(--emerald-600);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.tags-amber span {
  background: var(--amber-50);
  color: var(--amber-600);
}

.tags-saudi span {
  background: #ECFDF5;
  color: #006C35;
  border: 1px solid rgba(0, 108, 53, 0.22);
}

/* Conversation Self-Study Hub — Dilebarkan Penuh agar Tabel 3 Bahasa Lega & Presisi */
.section-hub {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #F0FDF9 50%, #FFFBEB 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.arabesque-bg-subtle {
  position: absolute;
  inset: 0;
  background-image: var(--arabesque-svg);
  background-size: 96px 96px;
  opacity: 0.55;
  pointer-events: none;
}

.hub-container {
  position: relative;
  z-index: 1;
  width: min(1780px, 96.5vw) !important;
  max-width: 1780px !important;
}

.study-toolbar {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  display: grid;
  gap: 1rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  font-size: 1.05rem;
}

.search-box input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border-radius: 14px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-soft);
  font-size: 0.96rem;
  color: var(--ink-900);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--emerald-500);
  background: #FFFFFF;
}

.study-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mode-switch {
  display: inline-flex;
  background: var(--bg-soft);
  padding: 0.28rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.mode-btn {
  background: transparent;
  border: none;
  padding: 0.48rem 0.95rem;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.15s ease;
}

.mode-btn.active {
  background: #FFFFFF;
  color: var(--emerald-600);
  box-shadow: var(--shadow-xs);
}

.helper-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.toggle-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.15s ease;
}

.toggle-chip:hover {
  border-color: var(--emerald-500);
}

.toggle-chip[aria-pressed="true"] {
  background: var(--emerald-600);
  color: #FFFFFF;
  border-color: var(--emerald-600);
}

/* Field Category Tabs */
.field-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.field-tab {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.18s ease;
}

.field-tab:hover {
  border-color: var(--teal-600);
  color: var(--teal-600);
}

.field-tab.active {
  background: linear-gradient(135deg, var(--emerald-500), var(--teal-600));
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

/* Scenario Dialogue Cards */
.scenarios-wrapper {
  display: grid;
  gap: 1.75rem;
}

.scenario-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.scenario-head {
  padding: 1.35rem 1.65rem;
  background: linear-gradient(90deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.scenario-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.scenario-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cat-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-600);
}

.updated-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-600);
  background: var(--emerald-50);
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
}

.scenario-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink-900);
}

.scenario-play-bar {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn-play-all {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-play-fushah {
  background: var(--emerald-50);
  color: var(--emerald-600);
  border-color: rgba(16, 185, 129, 0.3);
}

.btn-play-fushah:hover {
  background: var(--emerald-600);
  color: #FFFFFF;
}

.btn-play-masri {
  background: var(--amber-50);
  color: var(--amber-600);
  border-color: rgba(245, 158, 11, 0.35);
}

.btn-play-masri:hover {
  background: var(--amber-500);
  color: #FFFFFF;
}

/* Dialogue Turns */
.dialogue-lines {
  padding: 1.35rem 1.65rem;
  display: grid;
  gap: 1.1rem;
}

.turn-row {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  display: grid;
  gap: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.turn-row.active-speaking {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  background: #FFFFFF;
}

.turn-speaker-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.speaker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
}

.speaker-a {
  background: #E0F2FE;
  color: #0369A1;
}

.speaker-b {
  background: #FCE7F3;
  color: #BE185D;
}

.turn-indo {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink-900);
  transition: filter 0.2s ease;
}

.hide-meaning .turn-indo {
  filter: blur(6px);
  user-select: none;
  cursor: pointer;
}

.hide-meaning .turn-indo:hover {
  filter: none;
}

.turn-dialects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.view-fushah-only .turn-dialects,
.view-masri-only .turn-dialects {
  grid-template-columns: 1fr;
}

.view-fushah-only .col-masri {
  display: none;
}

.view-masri-only .col-fushah {
  display: none;
}

.dialect-pane {
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
}

.col-fushah {
  border-left: 4px solid var(--emerald-500);
}

.col-masri {
  border-left: 4px solid var(--amber-500);
}

.pane-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.pane-tag {
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.col-fushah .pane-tag {
  color: var(--emerald-600);
}

.col-masri .pane-tag {
  color: var(--amber-600);
}

.btn-line-audio {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.22rem 0.68rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-line-audio:hover,
.btn-line-audio.speaking {
  background: var(--emerald-600);
  color: #FFFFFF;
  border-color: var(--emerald-600);
}

.pane-ar {
  font-family: var(--font-arabic);
  font-size: 1.42rem;
  line-height: 1.95;
  font-weight: 600;
  color: var(--ink-900);
}

.pane-lat {
  font-size: 0.87rem;
  font-style: italic;
  color: var(--ink-500);
  transition: opacity 0.2s ease;
}

.hide-translit .pane-lat {
  display: none;
}

.scenario-tip {
  margin: 0 1.65rem 1.4rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--amber-50);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 0.85rem;
  color: var(--ink-700);
}

.empty-search {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--border-light);
  color: var(--ink-500);
}

/* Weekly Updates Grid */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.update-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.55rem;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-500);
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.badge-new {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

.badge-amber {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.update-cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-500);
}

.update-card h4 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.update-card p {
  font-size: 0.9rem;
  color: var(--ink-500);
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.jump-link {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--emerald-600);
}

/* Self-Learning Tips Banner */
.section-tips {
  padding-top: 1rem;
}

.tips-banner {
  background: linear-gradient(135deg, #ECFDF5 0%, #F0F9FF 55%, #FFFBEB 100%);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.4rem;
}

.tips-head {
  text-align: center;
  margin-bottom: 2.2rem;
}

.tips-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
}

.tips-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tip-step {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.step-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-weight: 800;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.step-1 { background: linear-gradient(135deg, #10B981, #0D9488); }
.step-2 { background: linear-gradient(135deg, #0284C7, #4F46E5); }
.step-3 { background: linear-gradient(135deg, #F59E0B, #F43F5E); }

.tip-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.tip-step p {
  font-size: 0.9rem;
  color: var(--ink-700);
}

/* Scenic Voluntary Donation Showcase */
.donation-showcase {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  padding: 3.2rem;
  color: #FFFFFF;
}

.donation-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.donation-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(125deg, rgba(6, 78, 59, 0.93) 0%, rgba(15, 23, 42, 0.88) 60%, rgba(120, 53, 15, 0.88) 100%);
}

.donation-content-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.8rem;
  align-items: center;
}

.glass-pill-gold {
  display: inline-block;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #FDE68A;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.donation-story h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.22;
  margin-bottom: 1rem;
}

.donation-story p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.arab-dua {
  margin-top: 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1rem 1.25rem;
}

.arab-dua span {
  display: block;
  font-family: var(--font-arabic);
  font-size: 1.38rem;
  color: #FDE68A;
  line-height: 1.75;
}

.arab-dua small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.donation-card {
  background: #FFFFFF;
  color: var(--ink-900);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.don-card-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.don-heart {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.don-card-head h3 {
  font-size: 1.25rem;
}

.don-card-head p {
  font-size: 0.86rem;
  color: var(--ink-500);
}

.don-amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.don-chip {
  background: var(--bg-soft);
  border: 1.5px solid var(--border-light);
  padding: 0.6rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.15s ease;
}

.don-chip:hover {
  border-color: var(--emerald-500);
}

.don-chip.active {
  background: var(--emerald-50);
  border-color: var(--emerald-500);
  color: var(--emerald-600);
}

.don-impact-note {
  background: var(--amber-50);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font-size: 0.85rem;
  color: var(--ink-700);
  margin-bottom: 1.1rem;
}

.bank-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bank-name {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--teal-600);
}

.bank-rek {
  display: block;
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  color: var(--ink-900);
}

.bank-info small {
  font-size: 0.78rem;
  color: var(--ink-500);
}

.btn-copy {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.48rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.btn-copy:hover {
  background: var(--emerald-600);
  color: #FFFFFF;
  border-color: var(--emerald-600);
}

.btn-share-web {
  background: linear-gradient(135deg, #F59E0B, #EA580C);
  color: #FFFFFF;
  font-size: 0.9rem;
  box-shadow: var(--shadow-gold);
}

.share-feedback {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-600);
}

/* Light Fresh Footer */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  padding: 2.8rem 0 1.6rem;
  display: grid;
  grid-template-columns: 0.95fr 2.05fr;
  align-items: stretch;
  gap: 2.2rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  max-width: 42ch;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-500);
}

.footer-eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footer-eco-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-eco-card:hover {
  transform: translateY(-3px);
  border-color: #34D399;
  box-shadow: 0 12px 26px rgba(16, 185, 129, 0.1);
}

.footer-eco-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.footer-eco-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.footer-eco-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink-900);
}

.footer-eco-desc {
  font-size: 0.8rem;
  line-height: 1.52;
  color: var(--ink-500);
  margin: 0 0 0.7rem;
}

.footer-eco-link {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-nav-wrap {
  padding: 0 0 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.footer-owner-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
  border: 1.5px solid #86EFAC;
  color: #065F46;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.footer-owner-wa:hover {
  transform: translateY(-2px);
  border-color: #22C55E;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.24);
  color: #064E3B;
}

@media (max-width: 1020px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .footer-eco-grid {
    grid-template-columns: 1fr;
  }
}

.footer-nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-700);
}

.footer-nav a:hover {
  color: var(--emerald-600);
}

.footer-bottom {
  padding: 1.3rem 0 2rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.84rem;
  color: var(--ink-500);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .destination-grid,
  .updates-grid,
  .tips-steps,
  .donation-content-grid,
  .turn-dialects {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: center;
  }

  .arch-main-frame {
    min-height: 0;
    aspect-ratio: 4 / 4.4;
  }

  .hero-h1-br {
    display: none;
  }

  .float-top-right,
  .float-mid-right {
    right: 8px;
  }

  .float-bottom-left {
    left: 8px;
    bottom: 108px;
  }

  .float-mid-right {
    bottom: 174px;
  }

  .float-donate-hero {
    left: 8px;
    top: 14px;
    width: 96px;
    height: 96px;
  }

  .donation-showcase {
    padding: 2rem 1.4rem;
  }
}

@media (max-width: 1180px) {
  .brand-logo-icon {
    height: 70px;
  }
  .brand-logo-wordmark {
    height: 60px;
  }
  .nav-links a:not(.btn):not(.nav-user-pill) {
    padding: 0.45rem 0.68rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem 4%;
    gap: 0.45rem;
  }

  .nav-links a:not(.btn):not(.nav-user-pill) {
    padding: 0.7rem 1rem;
    border-radius: 12px;
  }

  .btn-donate-nav {
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .nav-links.open {
    display: flex;
  }
}

@media (max-width: 760px) {
  .brand-logo-icon {
    height: 50px;
  }

  .brand-logo-wordmark {
    height: 44px;
  }

  .hero {
    padding: 2.6rem 0 3.8rem;
  }

  .scenario-head,
  .dialogue-lines {
    padding: 1.15rem;
  }

  .scenario-tip {
    margin: 0 1.15rem 1.15rem;
  }
}
