/* ============================================
   BISA UMRAH SENDIRI — MAIN STYLESHEET
   Palette: Warm White · Forest Green · Gold
   ============================================ */

:root {
  --green-dark:   #1a3a2a;
  --green:        #2d6a4f;
  --green-light:  #40916c;
  --green-muted:  #d8f3dc;
  --gold:         #b7962e;
  --gold-light:   #f4e4a1;
  --cream:        #fdf8f2;
  --white:        #ffffff;
  --ink:          #1c1c1e;
  --ink-muted:    #4a4a4a;
  --ink-light:    #8a8a8a;
  --border:       #e8e0d4;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --shadow-md:    0 8px 40px rgba(0,0,0,0.12);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,106,79,0.3); }
.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-ghost:hover { background: var(--green-muted); }
.btn-nav {
  background: var(--green);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.88rem;
}
.btn-nav:hover { background: var(--green-dark); }
.btn-white {
  background: var(--white);
  color: var(--green-dark);
  font-weight: 700;
}
.btn-white:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green-muted); }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(253,248,242,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-dark);
}
.brand-icon { font-size: 1.3rem; color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--green-dark);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 60%, var(--green-light) 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(183,150,46,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(183,150,46,0.2);
  border: 1px solid rgba(183,150,46,0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-actions .btn-ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.1); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ── SECTIONS ── */
.section { padding: 100px 0; }
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 580px;
  margin-bottom: 56px;
  line-height: 1.8;
}

/* ── ABOUT / CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-muted); }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.card p { font-size: 0.93rem; color: var(--ink-muted); line-height: 1.75; }

.free-notice {
  background: linear-gradient(135deg, var(--green-muted), #b7e4c7);
  border: 1px solid #74c69d;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.free-notice-icon { font-size: 2.5rem; flex-shrink: 0; }
.free-notice strong { font-size: 1.1rem; color: var(--green-dark); display: block; margin-bottom: 6px; }
.free-notice p { font-size: 0.93rem; color: var(--green-dark); opacity: 0.85; }
.free-notice .btn-primary { flex-shrink: 0; }

/* ── STEPS ── */
.steps-section { background: var(--white); }
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--green-muted);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}
.step-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step-body p { color: var(--ink-muted); font-size: 0.95rem; max-width: 560px; }

/* ── TESTIMONIALS ── */
.testi-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testi-card.featured {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.testi-card.featured p { color: rgba(255,255,255,0.88); }
.testi-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.8;
  margin-bottom: 16px;
  color: var(--gold);
}
.testi-card p { font-size: 0.95rem; line-height: 1.8; color: var(--ink-muted); margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-muted);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testi-card.featured .testi-avatar { background: rgba(255,255,255,0.2); color: var(--white); }
.testi-author strong { display: block; font-size: 0.92rem; }
.testi-author span { font-size: 0.8rem; color: var(--ink-light); }
.testi-card.featured .testi-author span { color: rgba(255,255,255,0.6); }
.testi-card.featured .testi-author strong { color: var(--white); }

/* ── FAQ ── */
.faq-section { background: var(--cream); }
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 22px 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--green); }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--green); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 22px; color: var(--ink-muted); font-size: 0.95rem; line-height: 1.8; }

/* ── CTA FINAL ── */
.cta-final {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 100px 0;
  text-align: center;
}
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-icon { font-size: 3rem; margin-bottom: 16px; color: var(--gold-light); }
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-final p { color: rgba(255,255,255,0.75); margin-bottom: 36px; font-size: 1.05rem; }

/* ── FOOTER ── */
.footer { background: var(--ink); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-note { font-size: 0.83rem; color: rgba(255,255,255,0.4); line-height: 1.8; }

/* ── FORM PAGES (apply, success, etc) ── */
.page-wrap {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: var(--cream);
}
.page-header { text-align: center; margin-bottom: 48px; }
.page-header .section-eyebrow { justify-content: center; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.page-header p { color: var(--ink-muted); font-size: 1rem; max-width: 500px; margin: 0 auto; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.82rem; color: var(--ink-light); margin-top: 6px; }

.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--cream);
  position: relative;
}
.upload-area:hover, .upload-area.drag-over { border-color: var(--green); background: var(--green-muted); }
.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
}
.upload-icon { font-size: 2.5rem; margin-bottom: 12px; }
.upload-area p { font-size: 0.93rem; color: var(--ink-muted); }
.upload-area strong { color: var(--green); }
.upload-preview { margin-top: 16px; display: none; }
.upload-preview img { max-height: 200px; border-radius: var(--radius); margin: 0 auto; border: 1px solid var(--border); }

.notice-box {
  background: var(--gold-light);
  border: 1px solid rgba(183,150,46,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #5a4a00;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.notice-box.green {
  background: var(--green-muted);
  border-color: #74c69d;
  color: var(--green-dark);
}

.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 20px; }
.alert-success { background: var(--green-muted); color: var(--green-dark); border: 1px solid #74c69d; }
.alert-error { background: #ffe8e8; color: #c0392b; border: 1px solid #f5c6c6; }

/* ── SUCCESS PAGE ── */
.success-wrap { text-align: center; padding: 120px 0 80px; min-height: 100vh; }
.success-icon { font-size: 4rem; margin-bottom: 16px; }

/* ── ADMIN ── */
.admin-wrap { padding: 80px 0 60px; min-height: 100vh; }
.admin-header { margin-bottom: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.admin-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  min-width: 140px;
}
.admin-stat-card .num { font-family: var(--font-display); font-size: 2rem; color: var(--green); }
.admin-stat-card .label { font-size: 0.82rem; color: var(--ink-light); margin-top: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
th { background: var(--green-dark); color: var(--white); padding: 14px 18px; text-align: left; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.92rem; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--cream); }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-pending { background: var(--gold-light); color: #7a5000; }
.badge-approved { background: var(--green-muted); color: var(--green-dark); }
.badge-rejected { background: #ffe8e8; color: #c0392b; }
.action-btns { display: flex; gap: 8px; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; border-radius: 50px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
.btn-approve { background: var(--green-muted); color: var(--green-dark); }
.btn-approve:hover { background: var(--green); color: var(--white); }
.btn-reject { background: #ffe8e8; color: #c0392b; }
.btn-reject:hover { background: #e74c3c; color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { 
    display: none; 
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .testi-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 12px; }
  .step-num { width: auto; font-size: 2.5rem; }
  .free-notice { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .form-card { padding: 24px; }
  .admin-header { flex-direction: column; align-items: flex-start; }
}
