/* ==========================================================================
   MASJID AL-IKHLAS — STYLESHEET
   Sections: 1. Tokens  2. Base  3. Layout helpers  4. Buttons/Badges
   5. Navbar  6. Hero  7. Prayer Times  8. Dividers  9. Section shell
   10. Profile  11. Programs  12. Articles  13. News  14. Gallery
   15. Videos  16. CTA Banner  17. Donation  18. Footer  19. Responsive
   ========================================================================== */

/* 1. TOKENS ============================================================ */
:root {
  --color-cream: #F7F4EE;
  --color-forest-deepest: #091C10;
  --color-forest-darkest: #0D2818;
  --color-forest-dark: #0F3B22;
  --color-forest: #1A5C38;
  --color-forest-light: #2D7A50;
  --color-forest-mid: #0D3320;
  --color-gold: #E8C068;
  --color-gold-dark: #C4923C;
  --color-white: #FFFFFF;

  --font-display: 'Crimson Pro', serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;

  --container-max: 1280px;
  --container-max-narrow: 1152px;

  --transition-base: 0.3s ease;
}

/* 2. BASE =============================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-forest-darkest);
  line-height: 1.5;
}

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

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

h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); }

p { margin: 0; }

ul { list-style: none; margin: 0; padding: 0; }

svg { display: block; }

/* 3. LAYOUT HELPERS ====================================================== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
}

.pattern-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  color: var(--color-white);
}

.pattern-overlay-forest { color: var(--color-forest-darkest); }

/* 4. BUTTONS / BADGES ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: gap var(--transition-base), filter var(--transition-base), background-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: var(--color-forest-darkest);
}
.btn-gold:hover { filter: brightness(1.1); box-shadow: 0 12px 30px rgba(196, 146, 60, 0.35); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-forest), var(--color-forest-light));
  color: var(--color-white);
}
.btn-primary:hover { filter: brightness(1.1); }

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.18); }

.btn-block { display: flex; justify-content: center; width: 100%; }

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-gold { background: rgba(196, 146, 60, 0.22); color: var(--color-gold); margin-bottom: 0.75rem; }
.badge-gold.badge-sm { background: rgba(196, 146, 60, 0.2); margin-bottom: 0.5rem; }
.badge-gold-solid { background: var(--color-gold-dark); color: var(--color-white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-forest);
  transition: gap var(--transition-base);
}
.link-arrow:hover { gap: 0.75rem; }

.text-gold { color: var(--color-gold); }

/* 5. NAVBAR ============================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
  transition: background-color var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}
.navbar.is-scrolled {
  background: rgba(10, 38, 22, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
}

.navbar-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand { display: flex; align-items: center; gap: 0.75rem; }

.navbar-brand-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-forest), var(--color-forest-light));
  color: var(--color-gold);
}

.navbar-brand-text { display: flex; flex-direction: column; line-height: 1; }
.navbar-brand-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
}
.navbar-brand-name {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--color-gold); margin-top: 0.15rem;
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-base);
}
.nav-link:hover { color: var(--color-white); }

.navbar-cta { display: none; }
.navbar-cta-mobile { display: none; }

.navbar-toggler {
  display: inline-flex;
  align-items: center; justify-content: center;
  background: none; border: none; color: var(--color-white);
  padding: 0.5rem; cursor: pointer;
}
.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.navbar-toggler-icon { position: relative; }
.navbar-toggler-icon::before,
.navbar-toggler-icon::after { content: ""; position: absolute; left: 0; }
.navbar-toggler-icon::before { top: -7px; }
.navbar-toggler-icon::after { top: 7px; }
/* ================= DROPDOWN NAVBAR ================= */

.nav-dropdown {
    width: 100%;
}

.nav-dropdown-toggle {
    width: 100%;
    background: none;
    border: none;

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

    padding: 0.85rem 0;

    color: rgba(255,255,255,.75);
    font-size: 1rem;
    font-family: inherit;
    text-align: left;

    cursor: pointer;
}

/* panah ikut muter */
.nav-dropdown-toggle span {
    display: inline-block;
    transition: transform 0.25s ease;
}

.nav-dropdown.active > .nav-dropdown-toggle span,
.nav-dropdown:hover > .nav-dropdown-toggle span {
    transform: rotate(180deg);
}

/* ===== Mobile: animasi expand pakai grid-template-rows ===== */
.nav-dropdown-menu {
    display: grid;
    grid-template-rows: 0fr;      /* collapsed */
    overflow: hidden;
    transition: grid-template-rows 0.3s ease;
}

.nav-dropdown-menu-inner {
    min-height: 0;
    overflow: hidden;
}

.nav-dropdown.active .nav-dropdown-menu {
    grid-template-rows: 1fr;      /* expanded */
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s;
}

.nav-dropdown.active .nav-dropdown-menu a {
    opacity: 1;
    transform: translateX(0);
}

.nav-dropdown-toggle span {
    display: inline-block;
    transition: transform 0.25s ease;
}

.nav-dropdown.active > .nav-dropdown-toggle span {
    transform: rotate(180deg);
}

/* Desktop */
@media (min-width: 64rem) {

    .nav-dropdown {
        position: relative;
        width: auto;
    }

    .nav-dropdown::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 12px;
    }

    .nav-dropdown-toggle {
        width: auto;
        padding: 0;
        font-size: 0.875rem;
        color: rgba(255,255,255,.75);
    }

    .nav-dropdown-toggle:hover {
        color: #fff;
    }

    .nav-dropdown-menu {
        display: block;               /* override grid di mobile */
        grid-template-rows: unset;

        position: absolute;
        top: calc(100% + 12px);
        left: 0;

        min-width: 220px;
        padding: 0.5rem;

        background: rgba(10, 38, 22, 0.98);
        backdrop-filter: blur(12px);

        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,.25);

        opacity: 0;
        visibility: hidden;
        transform: translateY(8px) scale(0.98);
        transform-origin: top left;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;

        pointer-events: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .nav-dropdown-menu a {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        opacity: 1;              /* reset animasi stagger dari mobile */
        transform: none;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-dropdown-menu a:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

    /* stagger halus tiap item saat dropdown terbuka */
    .nav-dropdown:hover .nav-dropdown-menu a:nth-child(1) { transition-delay: 0.02s; }
    .nav-dropdown:hover .nav-dropdown-menu a:nth-child(2) { transition-delay: 0.06s; }
    .nav-dropdown:hover .nav-dropdown-menu a:nth-child(3) { transition-delay: 0.1s; }
}

/* Mobile */
@media (max-width: 63.9375rem) {

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .nav-dropdown-menu {
        padding-left: 1rem;
        background: transparent;
    }
}
@media (max-width: 63.9375rem) {
   .navbar-nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    height: calc(100vh - 72px);   /* fallback */
    height: calc(100dvh - 72px);  /* lebih akurat di mobile browser */
    background: rgba(10, 38, 22, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1.5rem 1.5rem;
    gap: 0;
    overflow-y: auto;

    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }

  .navbar-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navbar-nav .nav-link {
    width: 100%; padding-block: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .navbar-cta-mobile {
    display: inline-flex;
    margin-top: 1rem;
    align-self: stretch;
    justify-content: center;
  }

  /* header dipaksa solid begitu menu mobile dibuka */
  .navbar.menu-open {
    background: rgba(10, 38, 22, 0.97);
    backdrop-filter: blur(12px);
  }
}
@media (min-width: 64rem) {
  .nav-dropdown-menu {
    display: block;
    grid-template-rows: unset;
    overflow: visible;
  }

  .nav-dropdown-menu a {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 64rem) {
  .navbar-nav {
    display: flex;
    position: static;
    background: none;
    flex-direction: row;
    align-items: center;
    padding: 0;
    box-shadow: none;
  }

  .navbar-nav .nav-link {
    width: auto;
    padding-block: 0;
    border-bottom: none;
    font-size: 0.875rem;
  }

  .navbar-cta-mobile {
    display: none;
  }

  .navbar-cta {
    display: inline-flex;
  }

  .navbar-toggler {
    display: none;
  }
}
@media (max-width: 63.9375rem) {

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-menu {
        display: none;
        position: static;
        padding-left: 1rem;
        background: transparent;
    }

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

/* 6. HERO ================================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(5, 20, 12, 0.82) 0%, rgba(5, 20, 12, 0.5) 55%, rgba(5, 20, 12, 0.22) 100%);
}
.hero-overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(to top, rgba(5, 20, 12, 0.75), transparent);
}

.hero-content-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.hero-content { max-width: 42rem; padding-inline: 1.5rem; margin-inline: auto; width: 100%; max-width: var(--container-max); }
.hero-content > * { max-width: 32rem; }

.hero-eyebrow {
  color: var(--color-gold);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero-title {
  color: var(--color-white);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600; line-height: 1.1; margin-bottom: 1.5rem;
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem; line-height: 1.6; margin-bottom: 2.5rem;
  max-width: 30rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; max-width: none; }
.hero-actions .btn-outline-light:hover { color: var(--color-forest-darkest); background: var(--color-white); }

.hero-dots {
  position: absolute; bottom: 8rem; left: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
@media (min-width: 64rem) { .hero-dots { left: 2.5rem; } }

.hero-dot {
  position: relative;
  height: 3px; width: 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.3);
  border: none; padding: 0; cursor: pointer;
  overflow: hidden;
  transition: width var(--transition-base);
}
.hero-dot.active { width: 52px; }
.hero-dot-progress {
  position: absolute; inset-block: 0; left: 0; width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(to right, var(--color-gold), var(--color-gold-dark));
}

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  color: var(--color-white); cursor: pointer;
  transition: background-color var(--transition-base);
}
.hero-arrow:hover { background: rgba(255, 255, 255, 0.2); }
.hero-arrow-prev { left: 1rem; }
.hero-arrow-next { right: 1rem; }

/* 7. PRAYER TIMES ========================================================= */
.prayer-times {
  position: relative;
  z-index: 10;
  max-width: var(--container-max-narrow);
  margin-inline: auto;
  padding-inline: 1rem;
  margin-top: -56px;
}
@media (min-width: 64rem) { .prayer-times { padding-inline: 2.5rem; } }

.prayer-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-forest-mid) 0%, var(--color-forest) 60%, var(--color-forest-dark) 100%);
  box-shadow: 0 24px 64px rgba(10, 38, 22, 0.45);
}
.prayer-card-body { position: relative; padding: 1.75rem 1.5rem; }
@media (min-width: 64rem) { .prayer-card-body { padding-inline: 2.5rem; } }

.prayer-card-header {
  display: flex; flex-direction: column; gap: 0.75rem;
  justify-content: space-between; margin-bottom: 1.5rem;
}
@media (min-width: 40rem) { .prayer-card-header { flex-direction: row; align-items: center; } }

.prayer-card-eyebrow {
  color: var(--color-gold);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.25rem;
}
.prayer-card-date { color: var(--color-white); font-size: 1.5rem; font-weight: 600; }
.prayer-card-region { display: none; text-align: right; }
@media (min-width: 40rem) { .prayer-card-region { display: block; } }
.prayer-card-region-label { color: rgba(255, 255, 255, 0.45); font-size: 0.75rem; }
.prayer-card-region-value { color: var(--color-white); font-weight: 500; }

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 40rem) { .prayer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .prayer-grid { grid-template-columns: repeat(6, 1fr); } }

.prayer-item {
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  transition: background-color var(--transition-base);
}
.prayer-item.active {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: var(--color-forest-darkest);
  box-shadow: 0 8px 24px rgba(196, 146, 60, 0.4);
}
.prayer-icon { width: 20px; height: 20px; margin-bottom: 0.15rem; }
.prayer-name { font-size: 0.75rem; font-weight: 500; }
.prayer-time { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--color-white); }
.prayer-item.active .prayer-time { color: var(--color-forest-darkest); }
.prayer-badge {
  font-size: 0.7rem; font-weight: 600; padding: 0.1rem 0.5rem; border-radius: var(--radius-pill);
  background: rgba(13, 40, 24, 0.25); color: var(--color-forest-darkest); margin-top: 0.15rem;
}

/* 8. DIVIDERS ============================================================= */
.divider { position: relative; width: 100%; height: 72px; overflow: hidden; line-height: 0; }
.divider::before {
  content: "";
  position: absolute; inset: 0;
  background-color: var(--divider-fill);
}
.divider-wave::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0,36 C240,72 480,0 720,36 C960,72 1200,0 1440,36 L1440,72 L0,72 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0,36 C240,72 480,0 720,36 C960,72 1200,0 1440,36 L1440,72 L0,72 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.divider-wave-flip { transform: rotate(180deg); }
.divider-slant::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,56 L1440,72 L0,72 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,56 L1440,72 L0,72 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* 9. SECTION SHELL ========================================================= */
.section { position: relative; padding-block: 6rem; overflow: hidden; }
.section-cream { background: var(--color-cream); }
.section-dark { background: var(--color-forest-darkest); }
.section-dark-alt { background: var(--color-forest-dark); }

.section-heading { margin-bottom: 3rem; }
.section-heading-center { text-align: center; }
.section-heading-split {
  display: flex; flex-direction: column; gap: 1rem;
  justify-content: space-between; margin-bottom: 3rem;
}
@media (min-width: 40rem) { .section-heading-split { flex-direction: row; align-items: flex-end; } }
.section-heading-end { align-items: center; }

.section-eyebrow {
  color: var(--color-gold-dark);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.5rem; display: block;
}
.section-eyebrow-light { color: var(--color-gold); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600; line-height: 1.2; color: var(--color-forest-darkest);
}
.section-title em { font-style: italic; color: var(--color-forest); }
.section-title-light { color: var(--color-white); }
.section-title-light em { color: var(--color-gold); font-style: italic; }

.section-lead {
  margin-top: 0.75rem; max-width: 36rem; margin-inline: auto;
  color: rgba(13, 40, 24, 0.52); font-size: 0.95rem;
}

.section-footer-center { margin-top: 2.5rem; text-align: center; }

/* 10. PROFILE ============================================================= */
.profile-grid {
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 64rem) { .profile-grid { grid-template-columns: repeat(2, 1fr); } }

.profile-media { position: relative; }
.profile-image-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 560px; position: relative; }
.profile-image-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 40, 24, 0.45) 0%, transparent 65%);
}
.profile-image { width: 100%; height: 100%; object-fit: cover; }

.profile-badge {
  position: absolute; bottom: -1.5rem; right: 1.5rem;
  border-radius: var(--radius-md); padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  box-shadow: 0 16px 40px rgba(196, 146, 60, 0.35);
}
@media (min-width: 64rem) { .profile-badge { right: -1rem; } }
.profile-badge-value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--color-forest-darkest); }
.profile-badge-label { color: rgba(13, 40, 24, 0.65); font-size: 0.875rem; margin-top: 0.15rem; }

.profile-content { padding-top: 4rem; }
@media (min-width: 64rem) { .profile-content { padding-top: 0; } }

.profile-text {
  color: rgba(13, 40, 24, 0.62); font-size: 0.95rem; line-height: 1.65;
  margin-block: 1.25rem;
}

.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block: 2.5rem; }
.stat-item { text-align: center; padding: 1rem; border-radius: var(--radius-md); background: rgba(26, 92, 56, 0.07); }
.stat-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-forest-light); }
.stat-label { color: rgba(45, 122, 80, 0.55); font-size: 0.75rem; margin-top: 0.25rem; }

/* 11. PROGRAMS ============================================================= */
.program-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 64rem) {
    .program-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.program-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.program-card-featured {
    min-height: 440px;
}

@media (min-width: 64rem) {
    .program-card-featured {
        grid-column: span 3;
    }
}

.program-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.program-card:hover .program-card-image {
    transform: scale(1.05);
}

.program-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5, 20, 12, 0.9) 0%,
        rgba(5, 20, 12, 0.2) 60%,
        transparent 100%
    );
}

.program-card-overlay-side {
    background: linear-gradient(
        to right,
        rgba(5, 20, 12, 0.88) 0%,
        rgba(5, 20, 12, 0.38) 100%
    );
}

/* Card besar */
.program-card-featured .program-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 2rem;
}

/* Card kecil */
.program-card-sm {
    min-height: 120px;
}

.program-card-sm .program-card-body {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 1.5rem;
}

.program-card-title {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.program-card-text {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.875rem;
    line-height: 1.6;
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 64rem) {
    .program-list {
        grid-column: span 2;
    }
}

.program-card-title-sm {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

.badge {
    width: fit-content;
}

/* 12. ARTICLES ============================================================= */
.article-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 64rem) { .article-grid { grid-template-columns: repeat(5, 1fr); } }

.article-featured { cursor: pointer; }
@media (min-width: 64rem) { .article-featured { grid-column: span 3; } }

.article-featured-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 320px; margin-bottom: 1.25rem; }
.article-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.article-featured:hover .article-featured-media img { transform: scale(1.05); }
.article-featured-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 40, 24, 0.45), transparent);
}
.article-featured-media .badge { position: absolute; top: 1.25rem; left: 1.25rem; z-index: 1; }

.article-featured-title {
  font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem;
  color: var(--color-forest-darkest); line-height: 1.3;
  transition: color var(--transition-base);
}
.article-featured:hover .article-featured-title { color: var(--color-forest-light); }
.article-featured-excerpt { color: rgba(13, 40, 24, 0.58); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1rem; }

.article-author { display: flex; align-items: center; gap: 0.6rem; }
.article-author-avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--color-forest);
  color: var(--color-white); font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.article-author-meta { font-size: 0.75rem; color: rgba(0, 95, 70, 0.55); }

.article-list { display: flex; flex-direction: column; gap: 1.25rem; justify-content: space-between; }
@media (min-width: 64rem) { .article-list { grid-column: span 2; } }

.article-list-item {
  display: flex; gap: 1rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(26, 92, 56, 0.1);
  cursor: pointer;
}
.article-list-item:last-child { border-bottom: none; padding-bottom: 0; }

.article-list-thumb { flex-shrink: 0; width: 88px; height: 68px; border-radius: var(--radius-sm); overflow: hidden; }
.article-list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-list-item:hover .article-list-thumb img { transform: scale(1.1); }

.article-list-content { flex: 1; min-width: 0; }
.eyebrow-sm { color: var(--color-gold-dark); font-size: 0.75rem; font-weight: 600; }
.article-list-title {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  color: var(--color-forest-darkest); margin-block: 0.25rem 0.35rem; line-height: 1.375;
  transition: color var(--transition-base);
}
.article-list-item:hover .article-list-title { color: var(--color-forest-light); }
.article-list-meta { font-size: 0.75rem; color: rgba(13, 40, 24, 0.45); }

/* 13. NEWS ================================================================= */
.news-nav { display: none; gap: 0.5rem; }
@media (min-width: 40rem) { .news-nav { display: flex; } }
.news-nav-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: none; color: var(--color-white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--transition-base);
}
.news-nav-btn:hover { background: rgba(255, 255, 255, 0.15); }

.news-scroll {
  display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: 1rem;
  scrollbar-width: none;
}
.news-scroll::-webkit-scrollbar { display: none; }

.news-card { flex-shrink: 0; width: 320px; cursor: pointer; }
.news-card-media { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 200px; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.news-card:hover .news-card-media img { transform: scale(1.05); }
.news-card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 20, 12, 0.82) 0%, transparent 60%);
}
.news-card-date { position: absolute; bottom: 1rem; left: 1rem; z-index: 1; font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.news-card-title {
  margin-top: 1rem; color: var(--color-white); font-weight: 500; font-size: 1.05rem; line-height: 1.375;
  transition: color var(--transition-base);
}
.news-card:hover .news-card-title { color: var(--color-gold); }

/* 14. GALLERY =============================================================== */
.gallery-grid { columns: 2 240px; gap: 1rem; }
.gallery-item {
  position: relative; margin: 0 0 1rem; border-radius: var(--radius-md);
  overflow: hidden; break-inside: avoid; display: block; cursor: pointer;
}
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.7s ease; }
.gallery-item-tall img { height: 360px; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 40, 24, 0.82) 0%, transparent 55%);
  opacity: 0; transition: opacity var(--transition-base);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; margin: 0;
  color: var(--color-white); font-size: 0.875rem; font-weight: 500;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* 15. VIDEOS ================================================================= */
.video-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 64rem) { .video-grid { grid-template-columns: repeat(3, 1fr); } }

.video-featured { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; cursor: pointer; }
@media (min-width: 64rem) { .video-featured { grid-column: span 2; } }
.video-featured-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.video-featured:hover .video-featured-image { transform: scale(1.05); }
.video-featured-overlay { position: absolute; inset: 0; background: rgba(5, 20, 12, 0.48); }

.video-play-btn {
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(196, 146, 60, 0.88);
  color: var(--color-forest-darkest);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition-base);
}
.video-play-btn-lg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  box-shadow: 0 8px 32px rgba(196, 146, 60, 0.6);
}
.video-featured:hover .video-play-btn-lg { transform: translate(-50%, -50%) scale(1.1); }
.video-play-btn:not(.video-play-btn-lg) { width: 40px; height: 40px; flex-shrink: 0; }

.video-featured-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem;
  background: linear-gradient(to top, rgba(5, 20, 12, 0.9), transparent);
}
.video-duration { color: var(--color-gold); font-size: 0.75rem; }
.video-featured-title { color: var(--color-white); font-size: 1.25rem; font-weight: 600; margin-top: 0.25rem; }

.video-list { display: flex; flex-direction: column; gap: 1rem; }
.video-list-item { position: relative; flex: 1; min-height: 88px; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; }
.video-list-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.video-list-item:hover .video-list-image { transform: scale(1.05); }
.video-list-overlay { position: absolute; inset: 0; background: rgba(5, 20, 12, 0.58); }
.video-list-body { position: relative; height: 100%; min-height: 88px; display: flex; align-items: center; padding: 1rem; gap: 1rem; }
.video-list-title { color: var(--color-white); font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; line-height: 1.375; }
.video-list-duration { color: rgba(255, 255, 255, 0.48); font-size: 0.75rem; margin-top: 0.15rem; }

/* 16. CTA BANNER ============================================================= */
.cta-banner { position: relative; min-height: 420px; overflow: hidden; }
.cta-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13, 40, 24, 0.93) 0%, rgba(26, 92, 56, 0.8) 100%);
}
.cta-banner-content {
  position: relative; display: flex; justify-content: center; align-items: center;
  padding: 8rem 1.5rem; text-align: center;
}
.cta-banner-content > * { max-width: 42rem; }
.cta-divider {
  display: inline-block; width: 4rem; height: 1px; margin-bottom: 1.5rem;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}
.cta-title { color: var(--color-white); font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 600; line-height: 1.25; margin-bottom: 1.25rem; }
.cta-text { color: rgba(255, 255, 255, 0.68); line-height: 1.6; margin-bottom: 2.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* 17. DONATION ================================================================ */
.donation-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .donation-grid { grid-template-columns: repeat(3, 1fr); } }

.donation-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--color-white); box-shadow: 0 4px 24px rgba(13, 40, 24, 0.08); }
.donation-card-media { position: relative; height: 200px; overflow: hidden; }
.donation-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.donation-card:hover .donation-card-media img { transform: scale(1.05); }
.donation-card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 40, 24, 0.55), transparent);
}
.donation-card-percent {
  position: absolute; top: 1rem; right: 1rem; z-index: 1;
  padding: 0.25rem 0.75rem; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: var(--color-forest-darkest); font-size: 0.75rem; font-weight: 700;
}

.donation-card-body { padding: 1.5rem; }
.donation-card-title { font-size: 1.125rem; font-weight: 600; color: var(--color-forest-darkest); margin-bottom: 0.5rem; }
.donation-card-text { color: rgba(13, 40, 24, 0.52); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }

.progress { height: 6px; border-radius: var(--radius-pill); background: #EBE8E0; overflow: hidden; margin-bottom: 0.5rem; }
.progress-bar { height: 100%; border-radius: var(--radius-pill); background: linear-gradient(to right, var(--color-forest), var(--color-gold-dark)); }

.donation-card-stats { display: flex; justify-content: space-between; margin-bottom: 1.25rem; }
.donation-collected { font-size: 0.75rem; font-weight: 600; color: var(--color-forest); }
.donation-target { font-size: 0.75rem; color: rgba(13, 40, 24, 0.38); }

.donation-donors {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: rgba(13, 40, 24, 0.45); margin-bottom: 1.25rem;
}

/* 18. FOOTER ================================================================== */
.footer { position: relative; background: var(--color-forest-deepest); padding-top: 4rem; padding-bottom: 2rem; }

.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; margin-bottom: 3.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-brand { margin-bottom: 1.25rem; }
.footer-text { color: rgba(255, 255, 255, 0.42); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.55);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition-base), background-color var(--transition-base);
}
.footer-social-link:hover { transform: scale(1.1); background: var(--color-forest); }

.footer-heading { color: var(--color-white); font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 1.25rem; }

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.42); transition: color var(--transition-base); }
.footer-links a:hover { color: var(--color-gold); }

.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer-contact-list svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--color-gold-dark); }
.footer-contact-list span { font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.42); }

.footer-map { position: relative; height: 180px; border-radius: var(--radius-md); overflow: hidden; background: rgba(26, 92, 56, 0.22); border: 1px solid rgba(196, 146, 60, 0.18); }
.footer-map img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.footer-map-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; }
.footer-map-pin { width: 40px; height: 40px; border-radius: 50%; background: rgba(196, 146, 60, 0.92); color: var(--color-white); display: flex; align-items: center; justify-content: center; }
.footer-map-overlay p { color: rgba(255, 255, 255, 0.7); font-size: 0.75rem; }

.footer-divider { height: 1px; margin-bottom: 1.5rem; background: linear-gradient(to right, transparent, rgba(196, 146, 60, 0.28), transparent); }

.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
@media (min-width: 40rem) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-copyright { font-size: 0.75rem; color: rgba(255, 255, 255, 0.28); }
.footer-arabic { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: rgba(255, 255, 255, 0.22); }

