/* ═══════════════════════════════════════════════════════
   components.css — All Reusable Component Styles
   Jamia Ibne e Abbas — Design System
   Zero hardcoded colors — CSS variables only
   ═══════════════════════════════════════════════════════ */

/* ── 1. ANNOUNCEMENT BANNER ── */
.notice-banner {
  background: var(--gold);
  padding: 14px 0;
  text-align: center;
}
.notice-banner p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.notice-banner a {
  color: var(--green-dark);
  text-decoration: underline;
}

/* ── 2. NAVBAR ── */
.navbar-custom {
  background: rgba(13, 59, 39, 0.97);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  transition: var(--transition);
  border-bottom: 2px solid var(--gold);
}
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon {
  width: 46px;
  height: 46px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--green-dark);
  flex-shrink: 0;
}
.brand-text-main {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.brand-text-sub {
  font-size: 0.7rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.navbar-custom .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 6px;
  transition: var(--transition-fast);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--gold-light) !important;
  background: rgba(201,162,39,0.12);
}
.btn-fatwa-nav {
  background: var(--gold);
  color: var(--green-dark) !important;
  font-weight: 700 !important;
  border-radius: 20px !important;
  padding: 6px 18px !important;
}
.btn-fatwa-nav:hover {
  background: var(--gold-light);
  color: var(--green-dark) !important;
}
.navbar-custom .nav-link.btn-fatwa-nav {
  color: var(--green-dark) !important;
}
.navbar-toggler {
  border: none;
  color: var(--gold);
  font-size: 1.6rem;
}
.navbar-toggler:focus { box-shadow: none; outline: 3px solid var(--gold); outline-offset: 2px; }

/* ── 3. GEO BACKGROUND UTILITIES ── */
.geo-bg {
  background-color: var(--green-dark);
  background-image: var(--geo-dark);
}
/* ── 4. HERO SECTION ── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 50%, #0a2e1e 100%);
}
.hero-geo-overlay {
  position: absolute;
  inset: 0;
  background-image: var(--geo-hero);
}
.hero-gold-orb {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero-arabic {
  font-family: var(--font-arabic);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold);
  line-height: 1.3;
  margin-bottom: 10px;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold); }
.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.hero-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}
.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  z-index: 2;
}
.hero-panel-title {
  color: var(--gold);
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 20px;
}
.hero-panel-notice {
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 10px;
  padding: 14px;
  margin-top: 8px;
  text-align: center;
}
.hero-panel-notice-label {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-panel-notice-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  margin-top: 4px;
}

/* ── 4a. QUICK LINK CARDS ── */
.quick-link-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition-fast);
  margin-bottom: 12px;
}
.quick-link-card:last-of-type { margin-bottom: 0; }
.quick-link-card:hover {
  background: rgba(201,162,39,0.18);
  border-color: rgba(201,162,39,0.4);
  transform: translateX(4px);
  color: var(--white);
}
.qlc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201,162,39,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
}
.qlc-title { font-weight: 700; font-size: 0.9rem; }
.qlc-sub { font-size: 0.75rem; color: rgba(255,255,255,0.62); }
.qlc-arrow { color: rgba(255,255,255,0.3); margin-left: auto; }

/* ── 5. BUTTONS ── */
.btn-primary-custom {
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary-custom:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,0.35);
  color: var(--green-dark);
}
.btn-outline-custom {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-custom:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-submit {
  background: var(--green-main);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 10px;
  border: none;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-submit:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,92,56,0.3);
  color: var(--white);
}

/* ── 6. SECTION HEADERS ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,92,56,0.1);
  border: 1px solid rgba(20,92,56,0.2);
  color: var(--green-main);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-label.gold {
  background: rgba(201,162,39,0.12);
  border-color: rgba(201,162,39,0.3);
  color: var(--gold-accessible);
}
.section-label.white {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
}
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 12px 0 24px;
}

/* ── 7. ABOUT SECTION ── */
.about-section { padding: 100px 0; background: var(--cream); }
.about-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); }
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.about-img-placeholder-emoji { font-size: 4rem; opacity: 0.4; }
.about-img-placeholder-arabic {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-arabic);
  font-size: 1.4rem;
}
.about-img-placeholder-text { color: rgba(255,255,255,0.4); font-size: 0.82rem; pointer-events: none; }
.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--green-dark);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  box-shadow: 0 8px 32px rgba(201,162,39,0.4);
  text-align: center;
}
.about-badge-float-num { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.about-badge-float-text { font-size: 0.65rem; font-weight: 600; line-height: 1.2; }
.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.feature-pill i { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.feature-pill span { font-size: 0.88rem; font-weight: 600; }

/* ── 7a. REGISTRATION BADGES ── */
.reg-section { padding: 80px 0; background: var(--cream-dark); }
.reg-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  text-align: center;
  height: 100%;
}
.reg-badge-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin: 0 auto 18px;
}
.reg-badge-icon.gold-bg {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--green-dark);
}
.reg-card h3 { color: var(--green-dark); font-size: 1.1rem; margin-bottom: 8px; }
.reg-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin: 0; }
.reg-number {
  display: inline-block;
  background: rgba(20,92,56,0.08);
  color: var(--green-main);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  margin-top: 10px;
}

/* ── 8. PROGRAM CARDS ── */
.programs-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}
.prog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.prog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(13,59,39,0.15);
}
.prog-card-header {
  padding: 32px 28px 24px;
  position: relative;
  overflow: hidden;
}
.prog-card-header.green {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
}
.prog-card-header.gold {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  border-left: 4px solid var(--gold);
}
.prog-card-header.gold .prog-icon {
  background: rgba(201,162,39,0.25);
  color: var(--gold);
}
.prog-card-header-geo {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.prog-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 16px;
}
.prog-card-header h4 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.prog-card-header p { color: rgba(255,255,255,0.75); font-size: 0.88rem; }
.prog-card-body { padding: 24px 28px 28px; }
.prog-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.88rem;
}
.prog-feature:last-child { border-bottom: none; }
.prog-feature i { color: var(--green-main); margin-top: 2px; flex-shrink: 0; }

/* ── 8a. MINI PROG CARDS ── */
.mini-prog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  padding: 24px;
}
.mini-prog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(13,59,39,0.15);
}
.mini-prog-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(20,92,56,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green-main);
  margin-bottom: 14px;
}
.mini-prog-icon.gold { background: rgba(201,162,39,0.1); color: var(--gold); }
.mini-prog-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.mini-prog-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── 9. FATWA SECTION ── */
.fatwa-section {
  padding: 100px 0;
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}
.fatwa-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--geo-dark);
}
.fatwa-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  cursor: pointer;
}
.fatwa-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,162,39,0.4);
  transform: translateY(-3px);
}
.fatwa-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.fatwa-tag.ibadah   { background: rgba(46,160,94,0.2);   color: #5edc8a; }
.fatwa-tag.muamalat { background: rgba(201,162,39,0.2);  color: var(--gold-light); }
.fatwa-tag.nikah    { background: rgba(100,120,200,0.2); color: #a0b0ff; }
.fatwa-tag.taharah  { background: rgba(80,180,180,0.2);  color: #80e0e0; }
.fatwa-card h3 {
  color: var(--white);
  font-size: 1.0rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.fatwa-card p {
  color: rgba(255,255,255,0.60);
  font-size: 0.83rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.fatwa-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.fatwa-meta span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.70);
  display: flex;
  align-items: center;
  gap: 4px;
}
.fatwa-answered { color: #5edc8a !important; }
.fatwa-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.ftab {
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-fast);
}
.ftab:hover,
.ftab.active {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}

/* ── 10. SUBMIT QUESTION SECTION ── */
.submit-section { padding: 100px 0; background: var(--cream); }
.submit-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.submit-sidebar {
  background: linear-gradient(170deg, var(--green-dark), var(--green-main));
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.submit-sidebar h3 {
  color: var(--white);
  font-size: 1.9rem;
  margin-bottom: 12px;
}
.submit-sidebar p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.75;
}
.sidebar-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-info-item:last-child { border-bottom: none; }
.sii-icon { font-size: 1.3rem; color: var(--gold); margin-top: 2px; }
.sii-text h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 2px; }
.sii-text p  { color: rgba(255,255,255,0.55); font-size: 0.78rem; margin: 0; }
.sidebar-quran-box {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  margin-top: 28px;
}
.sidebar-quran-arabic {
  color: var(--gold);
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 8px;
}
.sidebar-quran-translation {
  color: rgba(255,255,255,0.60);
  font-size: 0.75rem;
  text-align: center;
  font-style: italic;
}
.submit-form-wrap { padding: 48px 40px; }
.submit-form-wrap h4 { font-size: 1.5rem; margin-bottom: 6px; }
.submit-form-intro { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 28px; }
.form-label-custom {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}
.form-label-optional { color: var(--text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.form-control-custom {
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  background: var(--cream);
  width: 100%;
  font-family: var(--font-body);
}
.form-control-custom:focus {
  border-color: var(--green-main);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20,92,56,0.1);
  outline: 2px solid var(--green-main);
  outline-offset: 0;
}
.form-select-custom {
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  background: var(--cream);
  width: 100%;
  transition: var(--transition-fast);
  appearance: auto;
  font-family: var(--font-body);
}
.form-select-custom:focus {
  border-color: var(--green-main);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20,92,56,0.1);
  outline: 2px solid var(--green-main);
  outline-offset: 0;
}
.form-consent-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--text-muted);
  background: var(--cream);
  padding: 14px;
  border-radius: 10px;
}
.form-consent-wrap input[type="checkbox"] { margin-top: 2px; accent-color: var(--green-main); }
.privacy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}
.success-alert {
  background: rgba(46,160,94,0.15);
  border: 1px solid rgba(46,160,94,0.3);
  color: var(--green-light);
  border-radius: 10px;
  padding: 14px 18px;
  display: none;
  margin-top: 14px;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── 11. ULAMA CARDS ── */
.ulama-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}
.ulama-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: var(--transition);
  text-align: center;
}
.ulama-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(13,59,39,0.13);
}
.ulama-avatar {
  width: 100%;
  padding-top: 30px;
  display: flex;
  justify-content: center;
}
.avatar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  border: 4px solid var(--gold);
}
.avatar-circle.gold-grad { background: linear-gradient(135deg, #7a5a10, var(--gold)); }
.avatar-circle.blue-grad { background: linear-gradient(135deg, #1a4060, #2d6a9e); }
.avatar-circle.purple-grad { background: linear-gradient(135deg, #3a1a60, #6a2da0); }
.ulama-card-body { padding: 20px 24px 28px; }
.ulama-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.ulama-title {
  font-size: 0.8rem;
  color: var(--green-main);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.ulama-card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.spec-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(20,92,56,0.1);
  color: var(--green-main);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  margin: 2px;
}

/* ── 12. TESTIMONIALS ── */
.testi-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-dark), #0a2e1e);
  position: relative;
  overflow: hidden;
}
.testi-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
}
.testi-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}
.testi-name { color: var(--white); font-weight: 700; font-size: 0.88rem; }
.testi-role { color: rgba(255,255,255,0.70); font-size: 0.75rem; }
.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 14px; }

/* ── 13. CONTACT SECTION ── */
.contact-section { padding: 100px 0; background: var(--cream); }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  height: 100%;
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(20,92,56,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--green-main);
  margin-bottom: 16px;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card-text { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin: 0; }
.contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 14px;
}
.contact-tag.green { background: rgba(20,92,56,0.1); color: var(--green-main); }
.contact-tag.whatsapp { background: rgba(7,94,84,0.1); color: #075e54; font-weight: 700; }
.contact-tag.gold { background: rgba(201,162,39,0.1); color: var(--gold-accessible); }
.map-placeholder {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8f0ec, #d4e4db);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--green-main);
}
.map-placeholder-title { font-size: 1rem; color: var(--green-main); margin: 8px 0 4px; font-weight: 600; }
.map-placeholder-text { font-size: 0.8rem; color: var(--text-muted); }

/* ── 14. FOOTER ── */
.footer {
  background: var(--green-dark);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--geo-dark);
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-arabic {
  color: var(--gold);
  font-size: 1.3rem;
  margin: 16px 0;
}
.footer h3,
.footer .footer-heading {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 48px;
  text-align: center;
  position: relative;
}
.footer-bottom p { color: rgba(255,255,255,0.65); font-size: 0.8rem; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-fast);
}
.social-link:hover { background: var(--gold); color: var(--green-dark); }

/* ── 15. MODAL ── */
.modal-content { border-radius: 18px; border: none; overflow: hidden; }
.modal-header { background: var(--green-dark); border: none; }
.modal-title { color: var(--white); font-family: var(--font-heading); }
.btn-close { filter: invert(1); }
.modal-body { padding: 30px; }
.modal-fatwa-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.modal-fatwa-tag {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}
.modal-fatwa-tag.green { background: rgba(20,92,56,0.1); color: var(--green-main); }
.modal-fatwa-tag.gold  { background: rgba(201,162,39,0.1); color: var(--gold-dark); font-weight: 600; }
.modal-fatwa-tag.grey  { background: var(--cream-dark); color: var(--text-muted); }
.modal-question-box {
  background: var(--cream-dark);
  border-left: 4px solid var(--green-main);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.modal-question-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--green-main);
  letter-spacing: 0.8px;
  font-weight: 700;
}
.modal-question-text { margin: 6px 0 0; font-size: 0.92rem; }
.modal-answer-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-main);
}
.modal-answer-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--gold-dark);
  letter-spacing: 0.8px;
  font-weight: 700;
}
.modal-answer-final { color: var(--green-main); font-weight: 700; }

/* ── 16. SCROLL TO TOP ── */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--green-dark);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(201,162,39,0.4);
  cursor: pointer;
  z-index: 9999;
  transition: var(--transition-fast);
}
#scrollTop:hover { background: var(--gold-light); transform: translateY(-2px); }
#scrollTop.show { display: flex; }

/* ── 17. ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeInUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }

.js-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-fade.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-fade { opacity: 1; transform: none; transition: none; }
  .fade-up { animation: none; }
}

/* ── LANG SWITCHER ── */
.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  padding: 10px 14px;
  min-height: 44px;
  min-width: 44px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.lang-btn:hover,
.lang-btn.active {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}

/* ── 18. UTILITY CLASSES ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 12px;
  z-index: 99999;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.hero-inner { padding-top: 80px; position: relative; z-index: 2; }
.sidebar-steps { margin-top: 28px; }
.section-desc-light { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.75; max-width: 560px; }

/* ── 19. INNER PAGE — PAGE HERO ── */
.page-hero {
  background: var(--green-dark);
  background-image: var(--geo-dark);
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,59,39,0.97), rgba(20,92,56,0.88));
  z-index: 1;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 12px;
}
.page-hero-title span { color: var(--gold); }
.page-hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 560px;
  margin: 0;
}
.bc-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.bc-nav li { display: flex; align-items: center; gap: 8px; }
.bc-nav a {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  text-decoration: none;
  transition: var(--transition-fast);
}
.bc-nav a:hover { color: var(--gold-light); }
.bc-sep { color: rgba(255,255,255,0.25); font-size: 0.65rem; }
.bc-current { color: var(--gold-light); font-size: 0.8rem; font-weight: 600; }

/* ── 20. MISSION / VISION / VALUES CARDS ── */
.mvv-section { padding: 90px 0; background: var(--cream-dark); }
.mvv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}
.mvv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mvv-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.mvv-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.mvv-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin: 0; }

/* ── 21. HISTORY TIMELINE ── */
.timeline-section { padding: 90px 0; background: var(--cream); }
.timeline-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 60px;
}
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,162,39,0.1));
}
.t-item {
  position: relative;
  margin-bottom: 44px;
}
.t-item:last-child { margin-bottom: 0; }
.t-dot {
  position: absolute;
  left: -48px;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--green-dark);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(201,162,39,0.2);
}
.t-body {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
}
.t-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.t-body h4 { color: var(--green-dark); font-size: 1rem; margin-bottom: 6px; font-weight: 700; }
.t-body p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.65; margin: 0; }

/* ── 22. ABOUT PAGE STATS BAR ── */
.about-stats-section {
  padding: 70px 0;
  background: var(--green-dark);
  background-image: var(--geo-dark);
  position: relative;
  overflow: hidden;
}
.about-stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,59,39,0.82);
}
.about-stats-inner { position: relative; z-index: 2; }
.astat-item { text-align: center; padding: 20px; }
.astat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.astat-label { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin-top: 8px; }

/* ── 23. RESPONSIVE BREAKPOINTS ── */
@media (max-width: 991px) {
  .hero-section { min-height: auto; padding: 120px 0 80px; }
  .hero-gold-orb { display: none; }
  .about-badge-float { display: none; }
  .hero-stats { gap: 20px; }
  .submit-sidebar { padding: 40px 28px; }
  .submit-form-wrap { padding: 36px 28px; }
}

@media (max-width: 767px) {
  .section-title { font-size: 1.8rem; }
  .prog-card-header, .prog-card-body { padding: 22px 20px; }
  .submit-form-wrap { padding: 28px 20px; }
  .footer { padding: 50px 0 0; }
}
