/* ==========================================================================
   MASJID AL MUHAJIRIN WAL ANSHOR (AMWA) - OFFICIAL STYLESHEET
   Design System: Islamic Sage Green, Pure White & Royal Gold Accent
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Sage Green Palette */
  --sage-900: #162e21;
  --sage-800: #1f3f2e;
  --sage-700: #284f3a;
  --sage-600: #336148;
  --sage-500: #427559;
  --sage-400: #5f9678;
  --sage-300: #88b79d;
  --sage-200: #b9d8c7;
  --sage-100: #e3efe8;
  --sage-50: #f4f8f5;

  /* Royal Gold Accents */
  --gold-900: #594212;
  --gold-700: #8f6c1e;
  --gold-600: #b08627;
  --gold-500: #c59b3f;
  --gold-400: #d6af58;
  --gold-300: #e6c87e;
  --gold-200: #f3e2b4;
  --gold-100: #fbf6e8;
  --gold-gradient: linear-gradient(135deg, #d6af58 0%, #c59b3f 50%, #b08627 100%);
  --gold-glow: 0 4px 20px rgba(197, 155, 63, 0.35);

  /* Neutrals */
  --white: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: #f6faf7;
  --bg-tertiary: #ebf3ee;
  --text-primary: #18261e;
  --text-secondary: #4a5c52;
  --text-muted: #74887e;
  --border-subtle: #dbe7df;
  --border-medium: #c2d5c9;

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 8px rgba(22, 46, 33, 0.05);
  --shadow-md: 0 8px 24px rgba(22, 46, 33, 0.08);
  --shadow-lg: 0 16px 36px rgba(22, 46, 33, 0.12);
  --shadow-xl: 0 24px 48px rgba(22, 46, 33, 0.16);

  /* Transitions & Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-arabic: 'Amiri', serif;
}

/* CSS Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Islamic Geometric Background Pattern Overlay */
.islamic-pattern-bg {
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(66, 117, 89, 0.04) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(197, 155, 63, 0.04) 0%, transparent 25%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23336148' fill-opacity='0.035' fill-rule='evenodd'%3E%3Cpath d='M30 30L0 0v30h30zM30 30l30-30v30H30zM30 30L0 60v-30h30zM30 30l30 30v-30H30z'/%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%23c59b3f' fill-opacity='0.02'/%3E%3C/g%3E%3C/svg%3E");
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--sage-100);
  color: var(--sage-700);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.badge-tag.gold {
  background: var(--gold-100);
  color: var(--gold-700);
  border-color: var(--gold-200);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--sage-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
  .section-desc {
    font-size: 0.98rem;
  }
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--sage-700);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(40, 79, 58, 0.28);
}

.btn-primary:hover {
  background: var(--sage-800);
  box-shadow: 0 8px 24px rgba(40, 79, 58, 0.36);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #1a1708;
  font-weight: 700;
  box-shadow: var(--gold-glow);
}

.btn-gold:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 24px rgba(197, 155, 63, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--sage-800);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--sage-600);
  color: var(--sage-900);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--sage-800);
}

.btn-white:hover {
  background: var(--sage-50);
  color: var(--sage-900);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   1. TOPBAR
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--sage-900);
  color: var(--sage-100);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-item i {
  color: var(--gold-300);
}

.prayer-indicator-badge {
  background: rgba(197, 155, 63, 0.22);
  color: var(--gold-200);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prayer-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(214, 175, 88, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(214, 175, 88, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(214, 175, 88, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(214, 175, 88, 0); }
}

.topbar-audio-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.topbar-audio-btn:hover {
  background: var(--gold-500);
  color: #1a1708;
  border-color: var(--gold-400);
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   2. NAVBAR
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(22, 46, 33, 0.06);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sage-700), var(--sage-900));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(40, 79, 58, 0.25);
  border: 1px solid rgba(197, 155, 63, 0.3);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--sage-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--gold-700);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-500);
  transition: var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--sage-800);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

#btnNavDonasi {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(197, 155, 63, 0.28);
}

#btnNavDonasi i {
  font-size: 0.85rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--sage-900);
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 1040px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 290px;
    height: calc(100vh - 72px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-smooth);
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   3. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(22, 46, 33, 0.88) 0%, rgba(40, 79, 58, 0.82) 100%),
              url('../assets/images/hero-mosque.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero-overlay-ornament {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(197, 155, 63, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(37, 75, 56, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-arabic-header {
  font-family: var(--font-arabic);
  font-size: 2.15rem;
  color: var(--gold-300);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--gold-200);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-main-title span {
  color: var(--gold-300);
  position: relative;
}

.hero-quote {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold-200);
  line-height: 1.55;
  margin-bottom: 18px;
  font-style: italic;
  border-left: 3px solid var(--gold-400);
  padding-left: 16px;
  letter-spacing: 0.01em;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating Prayer Widget in Hero */
.hero-prayer-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  position: relative;
}

.hero-prayer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214, 175, 88, 0.2);
  color: var(--gold-200);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.location-tag {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown-box {
  background: rgba(22, 46, 33, 0.65);
  border: 1px solid rgba(197, 155, 63, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.countdown-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: 4px;
  font-weight: 600;
}

.countdown-prayer-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.countdown-timer {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.mini-prayer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-prayer-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  transition: var(--transition-fast);
}

.mini-prayer-item.active {
  background: var(--gold-gradient);
  color: #1a1708;
  border-color: var(--gold-300);
  transform: scale(1.04);
}

.mini-prayer-item .name {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  opacity: 0.85;
}

.mini-prayer-item.active .name {
  opacity: 1;
  font-weight: 700;
}

.mini-prayer-item .time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-main-title {
    font-size: 2.45rem;
  }
}

/* --------------------------------------------------------------------------
   4. TENTANG KAMI SECTION
   -------------------------------------------------------------------------- */
.about-section {
  background: var(--white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  border: 4px solid var(--white);
}

.about-floating-card {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--gold-500);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 280px;
}

.about-floating-icon {
  width: 48px;
  height: 48px;
  background: var(--sage-100);
  color: var(--sage-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--sage-900);
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.vision-card {
  background: var(--sage-50);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--sage-700);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.vision-card h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--sage-700);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  font-weight: 700;
}

.vision-card p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sage-900);
  font-style: italic;
}

.mission-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.mission-check {
  width: 26px;
  height: 26px;
  background: var(--gold-100);
  color: var(--gold-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--sage-800);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-floating-card {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }
  .mission-list {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   5. JADWAL SHOLAT SECTION
   -------------------------------------------------------------------------- */
.prayer-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--white) 100%);
  position: relative;
}

.prayer-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.meta-date-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.meta-date-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sage-800);
}

.meta-date-item i {
  color: var(--gold-600);
}

.prayer-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.prayer-card {
  background: var(--white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.prayer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-400);
}

.prayer-card.current-prayer {
  background: linear-gradient(135deg, var(--sage-800), var(--sage-900));
  color: var(--white);
  border-color: var(--gold-400);
  box-shadow: 0 10px 28px rgba(40, 79, 58, 0.3);
  transform: translateY(-6px);
}

.prayer-card.current-prayer .prayer-name {
  color: var(--gold-300);
}

.prayer-card.current-prayer .prayer-time {
  color: var(--white);
}

.prayer-card.current-prayer .prayer-icon-wrap {
  background: rgba(197, 155, 63, 0.2);
  color: var(--gold-300);
}

.prayer-badge-active {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold-500);
  color: #1a1708;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.prayer-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 14px;
  transition: var(--transition-fast);
}

.prayer-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sage-900);
  margin-bottom: 6px;
}

.prayer-time {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--sage-800);
  letter-spacing: -0.01em;
}

.prayer-quote-box {
  background: linear-gradient(135deg, var(--sage-50) 0%, #fefcf7 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 30px;
  text-align: center;
  position: relative;
}

.prayer-arabic-quote {
  font-family: var(--font-arabic);
  font-size: 1.8rem;
  color: var(--sage-900);
  margin-bottom: 12px;
  line-height: 1.5;
}

.prayer-quote-translation {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 720px;
  margin: 0 auto;
}

.prayer-quote-ref {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-700);
  margin-top: 8px;
  display: block;
}

@media (max-width: 1024px) {
  .prayer-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .prayer-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prayer-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   6. PROGRAM & KEGIATAN
   -------------------------------------------------------------------------- */
.programs-section {
  background: var(--white);
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--sage-50);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  background: var(--sage-100);
  color: var(--sage-900);
}

.tab-btn.active {
  background: var(--sage-700);
  color: var(--white);
  border-color: var(--sage-700);
  box-shadow: 0 4px 14px rgba(40, 79, 58, 0.25);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-300);
}

.program-card-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--sage-50) 0%, var(--white) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.program-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--sage-100);
  color: var(--sage-800);
}

.program-icon-lg {
  font-size: 1.8rem;
  color: var(--gold-600);
}

.program-card-body {
  padding: 24px;
  flex: 1;
}

.program-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sage-900);
  margin-bottom: 10px;
}

.program-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.program-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.program-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
}

.program-highlights li i {
  color: var(--gold-600);
  font-size: 0.95rem;
}

.program-card-footer {
  padding: 16px 24px;
  background: var(--sage-50);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.program-schedule-tag {
  font-size: 0.82rem;
  color: var(--sage-800);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 600px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   7. GALERI KEGIATAN
   -------------------------------------------------------------------------- */
.gallery-section {
  background: var(--bg-secondary);
}

.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
  group: hover;
}

.gallery-item.span-2 {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 46, 33, 0.85) 0%, rgba(22, 46, 33, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-300);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gallery-item-title {
  font-size: 1.05rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 550px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   8. DONASI & INFAQ SECTION
   -------------------------------------------------------------------------- */
.donation-section {
  background: var(--white);
  position: relative;
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.donation-info-card {
  background: linear-gradient(145deg, var(--sage-900) 0%, var(--sage-800) 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.donation-info-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(197, 155, 63, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.donation-info-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--white);
}

.donation-info-card p {
  color: var(--sage-100);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.donation-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: rgba(197, 155, 63, 0.2);
  border: 1px solid rgba(197, 155, 63, 0.4);
  color: var(--gold-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.benefit-text h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.benefit-text p {
  font-size: 0.85rem;
  color: var(--sage-200);
  margin: 0;
}

/* Campaign Progress Bar */
.campaign-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.campaign-header-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.progress-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

.campaign-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--sage-200);
}

/* Donation Methods Panel */
.donation-interactive-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.method-switch-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.method-btn {
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--white);
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.method-btn.active {
  background: var(--sage-700);
  color: var(--white);
  border-color: var(--sage-700);
  box-shadow: 0 4px 14px rgba(40, 79, 58, 0.2);
}

/* Bank Account Cards */
.bank-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bank-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.bank-card:hover {
  border-color: var(--sage-400);
  box-shadow: var(--shadow-sm);
}

.bank-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bank-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--sage-100);
  color: var(--sage-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.bank-info h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sage-900);
}

.bank-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.bank-owner {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.copy-btn {
  background: var(--sage-50);
  border: 1px solid var(--border-medium);
  color: var(--sage-700);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.copy-btn:hover {
  background: var(--sage-700);
  color: var(--white);
  border-color: var(--sage-700);
}

.copy-btn.copied {
  background: #10b981;
  color: var(--white);
  border-color: #10b981;
}

/* QRIS Content Box */
.qris-panel {
  text-align: center;
  padding: 10px;
}

.qris-card {
  background: var(--white);
  border: 2px solid var(--gold-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 320px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.qris-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--border-medium);
  padding-bottom: 12px;
}

.qris-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #c00;
  letter-spacing: 0.05em;
}

.qris-code-img {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  background: #fff;
  padding: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.qris-merchant-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--sage-900);
}

.qris-nmid {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Zakat & Infaq Mini Calculator */
.calc-box {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.calc-box h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sage-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-input-group {
  display: flex;
  gap: 10px;
}

.calc-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .donation-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   9. LAPORAN KEUANGAN & TRANSPARANSI KAS
   -------------------------------------------------------------------------- */
.finance-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-secondary) 100%);
}

.finance-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.finance-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 26px;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
}

.finance-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.finance-icon-box.green {
  background: var(--sage-100);
  color: var(--sage-700);
}

.finance-icon-box.gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

.finance-icon-box.blue {
  background: #e0f2fe;
  color: #0369a1;
}

.finance-card-info h6 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 700;
}

.finance-amount {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--sage-900);
}

.finance-table-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.finance-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.finance-table th {
  background: var(--sage-50);
  color: var(--sage-900);
  padding: 16px 20px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-medium);
}

.finance-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.finance-table tr:last-child td {
  border-bottom: none;
}

.tag-type-in {
  display: inline-block;
  padding: 3px 10px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.tag-type-out {
  display: inline-block;
  padding: 3px 10px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

@media (max-width: 800px) {
  .finance-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   10. BERITA & PENGUMUMAN
   -------------------------------------------------------------------------- */
.news-section {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-300);
}

.news-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.news-card:hover .news-thumb img {
  transform: scale(1.06);
}

.news-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(22, 46, 33, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-cat {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 8px;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sage-900);
  line-height: 1.35;
  margin-bottom: 12px;
}

.news-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.news-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sage-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link:hover {
  color: var(--gold-600);
  gap: 10px;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   11. LIVE STREAMING & KAJIAN ONLINE
   -------------------------------------------------------------------------- */
.streaming-card-box {
  background: linear-gradient(135deg, var(--sage-900), #102117);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  border: 1px solid rgba(197, 155, 63, 0.3);
}

.video-mockup {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16/9;
}

.video-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: var(--gold-gradient);
  color: #1a1708;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: var(--gold-glow);
  transition: var(--transition-normal);
}

.play-video-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 850px) {
  .streaming-card-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* --------------------------------------------------------------------------
   12. KONTAK & LOKASI
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-item {
  background: var(--white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.contact-card-item:hover {
  border-color: var(--sage-400);
  transform: translateY(-2px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--sage-100);
  color: var(--sage-700);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-detail h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sage-900);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-detail a {
  color: var(--sage-700);
  font-weight: 600;
}

.contact-detail a:hover {
  color: var(--gold-600);
}

.map-wrapper {
  background: var(--white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.map-container {
  height: 380px;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-footer {
  padding: 18px 24px;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
  background: var(--sage-900);
  color: var(--sage-100);
  padding: 70px 0 24px;
  position: relative;
  border-top: 4px solid var(--gold-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--sage-200);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--gold-500);
  color: #1a1708;
  border-color: var(--gold-400);
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--sage-200);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--sage-300);
}

.footer-motto {
  font-style: italic;
  color: var(--gold-200);
}

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

@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   14. MODAL COMPONENT (Pendaftaran TPQ & Lightbox)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 28, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-medium);
  animation: modal-slide-up 0.3s ease-out;
}

@keyframes modal-slide-up {
  from { transform: translateY(30px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--sage-50);
}

.modal-header h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sage-900);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--sage-200);
  color: var(--sage-900);
}

.modal-body {
  padding: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sage-900);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--sage-600);
  box-shadow: 0 0 0 3px rgba(66, 117, 89, 0.15);
}

/* Lightbox Modal */
.lightbox-content {
  max-width: 900px;
  background: transparent;
  box-shadow: none;
  border: none;
}

.lightbox-img-wrapper {
  position: relative;
  text-align: center;
}

.lightbox-img-wrapper img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 14px;
}

/* Floating Actions */
.floating-actions-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
}

.floating-wa-btn {
  background: #25d366;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-top-btn {
  background: var(--sage-800);
  opacity: 0;
  visibility: hidden;
}

.floating-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.floating-top-btn:hover {
  background: var(--sage-900);
  transform: translateY(-4px);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--sage-900);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gold-500);
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   ADMIN INTEGRATION STYLES (FRONT-END)
   ========================================================================== */
.topbar-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 155, 63, 0.18);
  color: var(--gold-300);
  border: 1px solid rgba(197, 155, 63, 0.35);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.topbar-admin-btn:hover {
  background: var(--gold-gradient);
  color: var(--sage-900);
  box-shadow: var(--gold-glow);
}

.btn-outline-admin {
  background: transparent;
  color: var(--sage-700);
  border: 1.5px solid var(--sage-300);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-outline-admin:hover {
  background: var(--sage-50);
  color: var(--sage-900);
  border-color: var(--sage-600);
}

/* Admin Sticky Top Bar on index.html */
.admin-sticky-bar {
  background: linear-gradient(90deg, #162e21 0%, #1f3f2e 100%);
  border-bottom: 2px solid var(--gold-400);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-badge-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-badge-indicator .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.admin-bar-welcome {
  color: var(--sage-200);
  font-weight: 600;
}

.admin-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-bar-btn {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  border: none;
}

.admin-bar-btn.dashboard {
  background: var(--gold-gradient);
  color: var(--sage-900);
}

.admin-bar-btn.dashboard:hover {
  filter: brightness(1.1);
  box-shadow: var(--gold-glow);
}

.admin-bar-btn.logout {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.admin-bar-btn.logout:hover {
  background: #dc2626;
  color: #ffffff;
}

