/* Noor Al-Quran Academy – Emerald & Gold Aesthetic */
:root {
  --em: #093227;       /* Deep Royal Emerald */
  --em2: #0f4c3a;      /* Rich Forest Emerald */
  --gold: #d4af37;     /* Warm Champagne Gold */
  --gold-lt: #f3e5ab;  /* Soft Gold Tint */
  --bg: #faf8f3;       /* Warm Alabaster Cream */
  --tx: #16241f;       /* Deep Charcoal-Green Text */
  --mu: #4d6159;       /* Muted Sage-Slate */
  --ln: #e2ddd0;       /* Subtle Warm Border */
  --sh: 0 12px 30px rgba(9, 50, 39, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 16.5px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

h1, h2, h3 {
  font-family: "Amiri", Georgia, serif;
  color: var(--em);
  line-height: 1.18;
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(28px, 3.8vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
a { color: var(--em2); }

.w { max-width: 1140px; margin: auto; padding: 0 22px; }
section { padding: 76px 0; }
.alt { background: #ffffff; }
.lead { max-width: 46em; color: var(--mu); font-size: 17px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--em2);
  margin-bottom: 8px;
}
.sec-head { margin-bottom: 32px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Top Announcement Bar */
.topbar {
  background: #06221a;
  color: #d8e5df;
  font-size: 13px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.tb-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 22px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: var(--gold); text-decoration: none; font-weight: 600; }
@media (max-width: 680px) { .topbar span { display: none; } .tb-in { justify-content: center; } }

/* Compact Header & Clean Logo */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 50, 39, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.bar {
  display: flex;
  align-items: center;
  min-height: 68px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}
.brand-icon { width: 38px; height: 38px; flex-shrink: 0; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt strong { font-family: "Amiri", Georgia, serif; font-size: 23px; color: #ffffff; letter-spacing: 0.01em; }
.brand-txt small { font-size: 10px; letter-spacing: 0.22em; color: var(--gold); font-weight: 700; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: #e6f0ec;
  text-decoration: none;
  padding: 8px 11px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover { background: rgba(255, 255, 255, 0.08); color: var(--gold); }
nav .btn-sm {
  margin-left: 10px;
  padding: 0.55em 1.2em;
  font-size: 14px;
  color: var(--em);
}
nav .btn-sm:hover { background: #e3c14d; color: var(--em); }

.mb {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  font-size: 20px;
  padding: 4px 12px;
  cursor: pointer;
}
@media (max-width: 980px) {
  .mb { display: block; }
  nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--em);
    padding: 12px 22px 22px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  }
  nav.open { display: flex; }
  nav a { padding: 11px 8px; }
  nav .btn-sm { margin: 10px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--em);
  font: 700 15.5px "Plus Jakarta Sans", system-ui, sans-serif;
  padding: 0.8em 1.55em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  background: #e3c14d;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}
.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: none;
}
.btn-full { width: 100%; text-align: center; }
.acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Hero Section */
.hero {
  color: #eef5f2;
  padding: 76px 0 84px;
  background:
    radial-gradient(circle at 82% 45%, rgba(212, 175, 55, 0.12), transparent 52%),
    linear-gradient(135deg, #072920 0%, #093227 55%, #0f4c3a 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 44px;
  align-items: center;
}
.pill {
  display: inline-block;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-lt);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 { color: #ffffff; margin-bottom: 16px; }
.hero-sub { font-size: 17.5px; color: #d5e3dd; max-width: 38em; }

.trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust-row div { display: flex; flex-direction: column; }
.trust-row strong { color: var(--gold); font-size: 16px; }
.trust-row span { color: #bdd1c9; font-size: 13px; }

.hero-art { display: flex; justify-content: center; }
.emblem-stage {
  width: min(290px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(6, 34, 26, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 0 14px rgba(212, 175, 55, 0.06), 0 24px 48px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
}
.emblem-stage svg { width: 78%; height: 78%; }
@media (max-width: 860px) {
  .hero { padding: 52px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-content: flex-start; }
  .emblem-stage { width: 210px; }
}

/* Chips & Cards */
.chips {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  background: var(--bg);
  border: 1px solid var(--ln);
  color: var(--em);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 999px;
  padding: 0.45em 1.15em;
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  align-items: start;
}
.card {
  background: #ffffff;
  border: 1px solid var(--ln);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--sh);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.alt .card { background: var(--bg); }
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 16px 34px rgba(9, 50, 39, 0.12);
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--em2);
  background: rgba(15, 76, 58, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--em);
  color: var(--gold);
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 14px;
}

/* Course Syllabus Accordion */
.cs { margin-top: 14px; }
.cs summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--em);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.5em 1.15em;
  font-size: 14px;
  font-weight: 600;
}
.cs summary::-webkit-details-marker { display: none; }
.cs summary::after { content: "+"; color: var(--gold); font-size: 16px; }
.cs[open] summary::after { content: "−"; }
.cs .in { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ln); }
.cs ul { padding-left: 18px; margin: 0 0 12px; color: var(--mu); font-size: 15px; }
.goal { font-size: 14.5px; margin-bottom: 14px; }

/* Teacher Section */
.tc {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 38px;
  align-items: center;
}
.tv {
  background: var(--em);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--sh);
}
.teacher-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.teacher-tags span {
  background: var(--bg);
  border: 1px solid var(--ln);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--em);
}
@media (max-width: 720px) { .tc { grid-template-columns: 1fr; } .tv { max-width: 220px; } }

/* Timeline & Schedule Strip */
.tl {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  counter-reset: s;
}
.tl li { position: relative; padding-top: 52px; counter-increment: s; }
.tl li::before {
  content: counter(s);
  position: absolute;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--em);
  color: var(--gold);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.tl li::after {
  content: "";
  position: absolute;
  top: 18px; left: 44px; right: -10px;
  height: 2px;
  background: var(--ln);
}
.tl li:last-child::after { display: none; }
.tl h3 { font-size: 19px; margin-bottom: 4px; }
.tl p { font-size: 14.5px; color: var(--mu); }
@media (max-width: 960px) {
  .tl { grid-template-columns: 1fr; gap: 0; }
  .tl li { padding: 0 0 24px 56px; }
  .tl li::after { top: 42px; left: 18px; right: auto; bottom: 0; width: 2px; height: auto; }
}

.schedule-strip {
  margin-top: 38px;
  background: var(--em);
  color: #ffffff;
  border-radius: 18px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.schedule-strip strong { display: block; color: var(--gold); font-size: 19px; font-family: "Amiri", Georgia, serif; }
.schedule-strip span { font-size: 14px; color: #cfe0d9; }

/* FAQ */
.fq { max-width: 820px; }
.fq details {
  background: #ffffff;
  border: 1px solid var(--ln);
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 16px 20px;
}
.fq summary { cursor: pointer; font-weight: 600; color: var(--em); }
.fq p { margin: 10px 0 0; color: var(--mu); font-size: 15.5px; }

/* CTA & Contact Form Section */
.cta-sec {
  background: linear-gradient(135deg, #072920 0%, #093227 60%, #0f4c3a 100%);
  color: #eef5f2;
}
.cta-sec h2 { color: #ffffff; }
.cta-sec p { color: #d5e3dd; }
.cta-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--gold-lt); font-weight: 500; }
.cg { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .cg { grid-template-columns: 1fr; } }

.fm { display: grid; gap: 14px; color: var(--tx); }
.fm h3 { margin: 0 0 4px; font-size: 25px; }
.fm label { display: grid; gap: 5px; font-weight: 600; font-size: 14px; color: var(--em); }
.fm input, .fm select, .fm textarea {
  font: inherit;
  font-size: 15px;
  padding: 0.7em 0.9em;
  border: 1px solid #cfc9ba;
  border-radius: 10px;
  background: #ffffff;
  color: var(--tx);
  width: 100%;
}
.fm input:focus, .fm select:focus, .fm textarea:focus {
  outline: none;
  border-color: var(--em2);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.14);
}
.note { font-size: 13px; color: var(--mu); margin: 0; text-align: center; }

/* Footer */
footer { background: #051d16; color: #b8ccc4; padding: 54px 0 26px; }
footer h3 { color: var(--gold); font-size: 20px; }
footer a { color: #e2ebe7; text-decoration: none; }
footer a:hover { color: var(--gold); }
.fg { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.fg ul { list-style: none; padding: 0; margin: 0; }
.fg li { margin: 6px 0; }
.cp { border-top: 1px solid rgba(255, 255, 255, 0.1); margin: 32px 0 0; padding-top: 18px; font-size: 14px; }
@media (max-width: 760px) { .fg { grid-template-columns: 1fr; } }

/* Clean Floating WhatsApp Pill */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: #1ea851;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.wa-float:hover { transform: translateY(-2px); background: #199446; }.brand-logo{width:44px;height:44px;border-radius:50%;object-fit:contain;background:#fff;padding:2px;border:2px solid var(--gold);box-shadow:0 2px 8px rgba(0,0,0,.25);flex-shrink:0} .emblem-stage{width:min(320px,76vw);aspect-ratio:1;border-radius:50%;background:#fff;padding:12px;border:4px solid var(--gold);box-shadow:0 0 0 12px rgba(212,175,55,.14),0 24px 48px rgba(0,0,0,.38);display:grid;place-items:center;overflow:hidden} .emblem-stage img,.tv img{width:100%;height:100%;object-fit:contain;border-radius:50%} .tv{background:#fff;border:3px solid var(--gold);border-radius:50%;padding:12px;box-shadow:var(--sh);display:grid;place-items:center;aspect-ratio:1}  
