:root {
  --green-900: #123a2e;
  --green-800: #174c3a;
  --green-700: #1b6f4d;
  --green-600: #198754;
  --green-500: #239b68;
  --green-100: #dff1e7;
  --green-50: #eef8f2;
  --gold: #d7a91d;
  --gold-dark: #b1870b;
  --ink: #141a17;
  --muted: #65716b;
  --line: #dce7e1;
  --surface: #ffffff;
  --soft: #f4f9f6;
  --shadow: 0 12px 30px rgba(18, 58, 46, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}

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

.site-navbar {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(25, 135, 84, .15);
  box-shadow: 0 6px 20px rgba(15, 45, 36, .05);
  backdrop-filter: blur(14px);
}

.site-navbar .container { min-height: 74px; }
.navbar-brand { text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--green-700);
  background: linear-gradient(145deg, #fff 0%, #e8f5ed 100%);
  border: 1px solid #d1e6d9;
  font-size: 22px;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 5px;
  border-radius: 50%;
  bottom: 3px;
  background: var(--gold);
  opacity: .75;
}
.brand-mark i { position: relative; z-index: 1; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; color: var(--green-800); }
.brand-copy strong { font-size: 20px; }
.brand-copy small { font-size: 10px; font-weight: 700; }

.nav-links a {
  text-decoration: none;
  color: #27332e;
  font-size: 13px;
  font-weight: 700;
  padding: 26px 0 24px;
  position: relative;
}
.nav-links a.active,
.nav-links a:hover { color: var(--green-700); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 99px 99px 0 0;
  background: var(--green-600);
}
.login-link {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #2d3934;
  gap: 6px;
  align-items: center;
}

.btn { font-weight: 700; border-radius: 8px; }
.btn-success {
  background: var(--green-600);
  border-color: var(--green-600);
  box-shadow: 0 6px 12px rgba(25, 135, 84, .14);
}
.btn-success:hover { background: #146c43; border-color: #146c43; }
.btn-gold {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}
.btn-gold:hover { color: #fff; background: var(--gold-dark); border-color: var(--gold-dark); }

.hero-section {
  margin-top: 74px;
  background:
    radial-gradient(circle at 11% 12%, rgba(255,255,255,.9) 0 90px, transparent 92px),
    radial-gradient(circle at 4% 26%, rgba(255,255,255,.35) 0 75px, transparent 76px),
    linear-gradient(110deg, #f6fbf8 0%, #e7f3eb 48%, #cbe2d3 100%);
  border-bottom: 1px solid #c7ded0;
  overflow: hidden;
}
.min-vh-hero { min-height: 430px; }
.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green-700);
  background: rgba(255,255,255,.78);
  border: 1px solid #d5e8dd;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero-section h1 {
  max-width: 640px;
  font-size: clamp(2.15rem, 4.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 800;
}
.hero-lead {
  max-width: 620px;
  color: #43534b;
  font-size: 1.05rem;
  line-height: 1.75;
}
.hero-section .btn-lg { font-size: 14px; padding: .9rem 1.15rem; }

.hero-visual {
  position: relative;
  min-height: 360px;
  margin-top: 28px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 0 0 10%;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(27,111,77,.12);
  border-radius: 45% 12% 18% 12%;
}
.wall-card {
  position: absolute;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: #f9fdfb;
  border: 4px solid #9ab9a7;
  box-shadow: inset 0 0 0 3px #e6f0ea;
}
.certificate { left: 18%; top: 14%; width: 54px; height: 70px; font-size: 28px; }
.clock { left: 45%; top: 10%; width: 52px; height: 52px; border-radius: 50%; font-size: 24px; }
.window-shape {
  position: absolute;
  right: 4%; top: 16%; width: 86px; height: 150px;
  display: grid; place-items: center;
  background: linear-gradient(180deg,#d9ece0 0%,#f5faf7 100%);
  border: 6px solid #7fa78f;
  border-radius: 44px 44px 8px 8px;
  color: var(--green-700);
  font-size: 34px;
}
.table-shape {
  position: absolute;
  left: 22%; right: 4%; bottom: 30px; height: 48px;
  background: #7e987e;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 18px 0 -10px #415e4b;
}
.table-shape::before,
.table-shape::after {
  content: "";
  position: absolute;
  width: 14px; height: 64px;
  top: 32px;
  background: #3e5c49;
}
.table-shape::before { left: 14%; }
.table-shape::after { right: 14%; }
.person { position: absolute; z-index: 3; }
.person .head {
  position: absolute; width: 38px; height: 44px; border-radius: 48%;
  background: #efb596; border: 2px solid #2d4939;
}
.person .body {
  position: absolute; border: 2px solid #2d4939;
  background: #6da487;
}
.teacher { width: 100px; height: 170px; left: 44%; top: 22%; }
.teacher .head { left: 32px; top: 0; }
.teacher .head::after {
  content: ""; position: absolute; inset: -8px -10px 7px -10px;
  border-radius: 52% 52% 42% 42%; background: #43715a; z-index: -1;
}
.teacher .body { left: 18px; top: 38px; width: 70px; height: 104px; border-radius: 30px 30px 12px 12px; }
.teacher i { position: absolute; left: 40px; top: 82px; color: #fff; font-size: 26px; }
.student { width: 70px; height: 120px; }
.student .head { width: 30px; height: 34px; left: 20px; }
.student .body { width: 58px; height: 66px; left: 6px; top: 30px; border-radius: 18px 18px 8px 8px; }
.student-1 { left: 17%; top: 52%; }
.student-1 .body { background: #79a988; }
.student-2 { right: 18%; top: 49%; }
.student-2 .body { background: #d0b75c; }
.student-3 { right: 4%; top: 48%; }
.student-3 .body { background: #72a98d; }
.laptop { position: absolute; z-index: 4; left: 34%; bottom: 70px; color: #2d4939; font-size: 46px; }
.book-stack { position: absolute; z-index: 4; right: 12%; bottom: 80px; color: var(--gold); font-size: 32px; }

.section-pad { padding: 72px 0; }
.soft-section { background: var(--soft); }
.white-section { background: #fff; }
.section-title {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.section-subtitle { color: var(--muted); font-size: 14px; }
.section-intro { max-width: 760px; }

.soft-card,
.feature-card,
.campaign-card,
.service-card,
.library-card,
.stat-card,
.teacher-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.soft-card { border-radius: 14px; padding: 22px; }
.card-title-sm { font-size: 1rem; font-weight: 800; }
.badge-soft {
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
}
.countdown-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 11px;
}
.prayer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.prayer-grid div {
  text-align: center; padding: 12px 6px; border-radius: 10px;
  background: #edf8f1; border: 1px solid #cde4d6;
}
.prayer-grid span, .prayer-grid small { display: block; }
.prayer-grid span { font-size: 11px; font-weight: 700; }
.prayer-grid strong { display: block; margin: 4px 0; color: var(--green-700); font-size: 1.55rem; }
.prayer-grid small { font-size: 9px; color: var(--muted); }
.quote-card .arabic { font-family: Georgia, serif; font-size: 1.35rem; text-align: right; line-height: 1.9; margin: 14px 0 8px; }
.verse-label { font-size: 11px; font-weight: 700; color: var(--green-700); }
.icon-button { border: 0; background: transparent; }
.audio-button {
  border: 0; background: transparent; color: var(--green-700); font-weight: 800;
  display: inline-flex; align-items: center; gap: 8px; padding: 0;
}
.audio-button i {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; color: #fff; background: var(--green-600);
}

.stat-card {
  border-radius: 14px; padding: 20px; display: flex; gap: 16px; min-height: 142px;
}
.stat-icon {
  flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 14px; background: var(--green-50); color: var(--green-700); font-size: 30px;
}
.stat-card span, .stat-card strong, .stat-card small { display: block; }
.stat-card span { font-weight: 800; font-size: 13px; }
.stat-card strong { font-size: 1.55rem; margin: 4px 0 8px; }
.stat-card small { color: var(--muted); line-height: 1.5; }

.feature-card { border-radius: 14px; padding: 22px; }
.feature-art {
  height: 150px; border-radius: 12px; margin-bottom: 18px; position: relative;
  display: grid; place-items: center; overflow: hidden; color: var(--green-700);
  background: linear-gradient(145deg, #eff8f3, #e0f0e7);
}
.feature-art::before, .feature-art::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.7);
}
.feature-art::before { width: 120px; height: 120px; left: -35px; top: -40px; }
.feature-art::after { width: 85px; height: 85px; right: -25px; bottom: -25px; }
.feature-art i { position: relative; z-index: 2; font-size: 64px; }
.art-video i:last-child { font-size: 45px; margin-left: -18px; color: var(--gold); }
.art-audio .wave { font-size: 34px; color: var(--green-500); margin-left: 10px; }
.art-dashboard i:last-child { color: var(--gold); font-size: 46px; margin-left: -30px; margin-top: 34px; }
.feature-card h3 { font-size: 1.08rem; font-weight: 800; }
.feature-card h3 span { display: block; font-size: .9rem; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.65; min-height: 64px; }
.mini-progress { height: 7px; background: #d8e7df; border-radius: 99px; overflow: hidden; margin: 10px 0 18px; }
.mini-progress span { display: block; height: 100%; border-radius: inherit; background: var(--green-600); }

.campaign-card {
  min-height: 260px; border-radius: 14px; display: flex; align-items: stretch; overflow: hidden;
}
.campaign-content { flex: 1; padding: 26px; }
.campaign-label { color: var(--green-700); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.campaign-card h3 { font-size: 1.25rem; font-weight: 800; margin: 8px 0 24px; }
.campaign-card .progress { height: 7px; margin: 7px 0 12px; background: #dbe9e0; }
.campaign-card .progress-bar { background: var(--green-600); }
.campaign-card small { color: var(--muted); }
.campaign-art {
  flex: 0 0 36%; display: grid; place-items: center; font-size: 82px; color: var(--green-700);
  background: linear-gradient(145deg,#e7f3eb,#cfe6d7);
}
.scholarship-art { color: var(--gold-dark); }

.service-card, .library-card { border-radius: 14px; padding: 18px; }
.service-kicker { font-size: 11px; color: var(--green-700); font-weight: 800; }
.service-card h3, .library-card h3 { font-size: 1rem; font-weight: 800; margin: 5px 0 14px; }
.service-art {
  height: 165px; border-radius: 10px; margin-bottom: 14px; position: relative; overflow: hidden;
  background: #eaf4ee; display: grid; place-items: center;
}
.mosque-art { color: var(--green-700); font-size: 64px; }
.mosque-art i:first-child { position: absolute; top: 20px; left: 28px; color: var(--gold); font-size: 28px; }
.map-art {
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,.8) 49% 54%, transparent 55%),
    linear-gradient(22deg, transparent 47%, rgba(255,255,255,.9) 48% 52%, transparent 53%),
    #dfeee4;
}
.map-art .pin { position: absolute; color: var(--green-600); font-size: 24px; }
.pin-1 { top: 25px; left: 45px; }
.pin-2 { top: 80px; right: 45px; }
.pin-3 { bottom: 22px; left: 50%; }
.ticket-art { padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.ticket-row {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 10px;
  background: #fff; border: 1px solid #dce8e1; border-radius: 8px; font-size: 11px; font-weight: 700;
}
.ticket-row i { color: var(--green-600); }

.quran-ui, .quiz-ui { min-height: 185px; border-radius: 10px; margin-bottom: 14px; background: #eef7f1; padding: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.tag-row span { padding: 4px 7px; border-radius: 5px; background: var(--gold); color: #fff; font-size: 9px; font-weight: 700; }
.tag-row span:nth-child(2) { background: var(--green-600); }
.tag-row span:nth-child(3) { background: #7062a8; }
.quran-line, .quiz-ui div {
  display: flex; align-items: center; gap: 10px; padding: 10px; background: #fff;
  border: 1px solid #d8e6df; border-radius: 8px; margin-bottom: 8px; font-size: 11px;
}
.quran-line span, .quiz-ui span { flex: 1; }
.quran-line i, .quiz-ui i { color: var(--green-600); }
.counter-art {
  min-height: 185px; border-radius: 10px; margin-bottom: 14px; background: #e7f2eb;
  display: flex; align-items: center; justify-content: center; gap: 18px;
}
.counter-art span {
  display: inline-grid; place-items: center; width: 120px; height: 80px;
  border-radius: 40px 40px 18px 18px; color: #f4f8f6; background: var(--green-800);
  font-size: 28px; font-weight: 800; border: 8px solid #355e4d;
}
.counter-art i { font-size: 42px; color: var(--gold-dark); }
.quiz-ui { display: flex; flex-direction: column; justify-content: center; }
.quiz-ui b { color: var(--green-700); }

.teacher-card { border-radius: 14px; overflow: hidden; }
.teacher-card img { width: 100%; height: 245px; object-fit: cover; object-position: center 25%; }
.teacher-card h3 { font-size: 1rem; font-weight: 800; margin: 0 0 3px; }
.teacher-card p { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.teacher-badge {
  display: inline-block; padding: 5px 8px; border-radius: 6px; color: #694e00;
  background: #f7dfa0; font-size: 9px; font-weight: 800;
}
.article-card img { width: 100%; aspect-ratio: 16/8.8; object-fit: cover; border-radius: 14px; }
.article-card h3 { font-size: .95rem; line-height: 1.5; font-weight: 800; margin-bottom: 8px; }
.article-card small { color: var(--muted); }

.site-footer { background: linear-gradient(145deg, #193f33, #0e2d24); color: #e5f0eb; }
.footer-brand { color: #fff; text-decoration: none; font-size: 26px; }
.brand-mark.light { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.site-footer p, .site-footer a { color: #b9cbc3; font-size: 12px; line-height: 1.8; }
.site-footer h3 { color: #fff; font-size: .95rem; font-weight: 800; margin-bottom: 14px; }
.site-footer .col-6 a { display: block; text-decoration: none; margin-bottom: 5px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; font-size: 15px; text-decoration: none;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: #9cb2a8; }

@media (max-width: 1199.98px) {
  .site-navbar .btn-sm { padding-left: .7rem !important; padding-right: .7rem !important; font-size: 11px; }
  .hero-section h1 { font-size: 3rem; }
}

@media (max-width: 991.98px) {
  .site-navbar { position: sticky; }
  .hero-section { margin-top: 0; }
  .hero-visual { min-height: 310px; }
  .campaign-art { flex-basis: 30%; }
  .section-pad { padding: 56px 0; }
}

@media (max-width: 767.98px) {
  body { font-size: 14px; }
  .site-navbar .container { min-height: 64px; }
  .brand-copy { display: none; }
  .nav-actions .btn { font-size: 10px; padding: .45rem .6rem !important; }
  .hero-section h1 { font-size: 2.5rem; }
  .hero-lead { font-size: .95rem; }
  .hero-visual { min-height: 290px; transform: scale(.92); transform-origin: top center; margin-bottom: -20px; }
  .section-heading-row { align-items: flex-start !important; flex-direction: column; }
  .prayer-grid { grid-template-columns: repeat(3, 1fr); }
  .campaign-card { flex-direction: column; }
  .campaign-art { min-height: 150px; flex-basis: auto; }
  .teacher-card img { height: 320px; }
}

@media (max-width: 479.98px) {
  .hero-section .btn-lg { width: 100%; }
  .hero-visual { transform: scale(.78); margin: -15px -36px -55px; }
  .prayer-grid { grid-template-columns: repeat(2, 1fr); }
  .section-pad { padding: 48px 0; }
  .soft-card { padding: 18px; }
  .countdown-pill { width: 100%; justify-content: center; }
}
