/* ===== Taleem Theme — Main CSS ===== */
:root {
  --green-deep:  #0a3d20;
  --green-main:  #16703d;
  --green-mid:   #1e9950;
  --green-light: #27c265;
  --green-soft:  #eaf7ef;
  --gold:        #c9963a;
  --gold-light:  #f0d48a;
  --gold-pale:   #fdf6e3;
  --dark:        #061510;
  --text:        #162b1e;
  --text-muted:  #4a6355;
  --white:       #ffffff;
  --bg:          #f5faf7;
  --border:      #cfe8d8;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== ANNOUNCE BAR ===== */
.announce-bar {
  background: linear-gradient(90deg, var(--gold) 0%, #e8b048 50%, var(--gold) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ===== NAVBAR ===== */
.taleem-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,61,32,0.97);
  backdrop-filter: blur(12px);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid rgba(201,150,58,0.2);
}
.taleem-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.taleem-logo img { width: 40px; height: 40px; border-radius: 10px; }
.logo-svg { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 1px;
}
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.nav-links .nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
}
.nav-links .nav-cta:hover { background: var(--gold-light) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* ===== HERO ===== */
.taleem-hero {
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
  padding: 80px 24px 90px;
  text-align: center;
}
.taleem-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(39,194,101,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 30%, rgba(201,150,58,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,150,58,0.15);
  border: 1px solid rgba(201,150,58,0.4);
  color: var(--gold-light);
  padding: 7px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.taleem-hero h1 {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(28px, 5.5vw, 58px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
  position: relative;
}
.taleem-hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255,255,255,0.72);
  max-width: 700px;
  margin: 0 auto 16px;
  position: relative;
}
.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}
.kw-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 12px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  padding: 15px 36px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 6px 24px rgba(201,150,58,0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-family: 'Tajawal', sans-serif;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 15px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.22);
  transition: all 0.25s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ===== STATS ===== */
.taleem-stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item { padding: 24px 40px; text-align: center; border-left: 1px solid var(--border); flex: 1; min-width: 140px; }
.stat-item:last-child { border-left: none; }
.stat-num { font-family: 'Cairo', sans-serif; font-size: 30px; font-weight: 900; color: var(--green-main); display: block; line-height: 1; margin-bottom: 4px; }
.stat-lbl { font-size: 13px; color: var(--text-muted); }

/* ===== SECTIONS ===== */
.taleem-section { padding: 72px 24px; }
.taleem-section.bg-white { background: var(--white); }
.taleem-section.bg-light { background: var(--bg); }
.taleem-section.bg-dark {
  background: linear-gradient(135deg, var(--green-deep) 0%, #0d4a26 100%);
  color: var(--white);
}
.container { max-width: 960px; margin: 0 auto; }
.s-label {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-main);
  border: 1px solid var(--border);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.bg-dark .s-label {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--gold-light);
}
h2.section-title {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 900;
  color: var(--green-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}
.bg-dark h2.section-title { color: var(--white); }
.section-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 46px; }
.bg-dark .section-sub { color: rgba(255,255,255,0.65); }

/* ===== INTRO BOX ===== */
.intro-box {
  background: var(--bg);
  border-right: 4px solid var(--green-main);
  padding: 24px 28px;
  border-radius: 0 14px 14px 0;
  font-size: 17px;
  line-height: 1.95;
}

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* ===== CARDS ===== */
.taleem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.taleem-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 4px; height: 100%;
  background: var(--green-main);
  border-radius: 0 16px 16px 0;
}
.taleem-card:hover {
  border-color: var(--green-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(22,112,61,0.14);
}
.card-icon { font-size: 38px; margin-bottom: 14px; display: block; }
.taleem-card h3 { font-size: 18px; font-weight: 700; color: var(--green-deep); margin-bottom: 8px; }
.taleem-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.card-badge {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-main);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 12px;
}
.card-badge-gold {
  background: rgba(201,150,58,0.1);
  color: var(--gold);
}

/* Feature Cards */
.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s;
}
.feat-card:hover { border-color: var(--green-main); box-shadow: 0 4px 20px rgba(22,112,61,0.1); }
.feat-ico {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--green-deep);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feat-card h3 { font-size: 16px; font-weight: 700; color: var(--green-deep); margin-bottom: 6px; }
.feat-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== STEPS ===== */
.steps-list { display: flex; flex-direction: column; gap: 16px; }
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  transition: all 0.2s;
}
.step-item:hover { border-color: var(--green-main); box-shadow: 0 4px 20px rgba(22,112,61,0.1); }
.step-num {
  font-family: 'Cairo', sans-serif;
  width: 50px; height: 50px; min-width: 50px;
  background: var(--green-deep);
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
}
.step-item h3 { font-size: 17px; font-weight: 700; color: var(--green-deep); margin-bottom: 6px; }
.step-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== CONDITIONS ===== */
.cond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cond-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white); border: 1px solid var(--border);
  padding: 18px; border-radius: 12px; font-size: 15px; line-height: 1.6;
}
.cond-check {
  width: 24px; height: 24px; min-width: 24px;
  background: var(--green-main); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; margin-top: 2px;
}

/* ===== DOCS GRID ===== */
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 16px; text-align: center; transition: all 0.2s;
}
.doc-card:hover { border-color: var(--green-main); transform: translateY(-2px); }
.doc-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.doc-card p { font-size: 14px; color: var(--text-muted); }

/* ===== COMPARE TABLE ===== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}
.compare-table th {
  background: var(--green-deep);
  color: var(--white);
  padding: 18px 20px;
  text-align: center;
  font-size: 15px; font-weight: 700;
}
.compare-table th:first-child { text-align: right; }
.compare-table td {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-size: 14px; color: var(--text);
}
.compare-table td:first-child { font-weight: 600; color: var(--green-deep); }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:hover td { background: var(--green-soft); }
.t-check { color: var(--green-main); font-size: 18px; font-weight: 900; }
.t-cross { color: #cc4444; font-size: 18px; }
.t-partial { color: var(--gold); font-size: 14px; font-weight: 600; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: none;
  padding: 20px 22px;
  font-family: 'Tajawal', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--green-deep);
  cursor: pointer; text-align: right;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background 0.2s;
}
.faq-q:hover, .faq-item.open .faq-q { background: var(--green-soft); }
.faq-arrow { font-size: 18px; color: var(--green-main); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 16px 22px 20px;
  font-size: 15px; color: var(--text-muted); line-height: 1.85;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ===== CTA SECTION ===== */
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,0.7); font-size: 17px; margin-bottom: 34px; }
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,150,58,0.2);
  border: 1px solid rgba(201,150,58,0.4);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px; font-weight: 700;
  margin-bottom: 24px;
}

/* ===== MAJOR DETAIL LIST ===== */
.major-details { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.major-details li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
.major-details li::before { content: '✓'; color: var(--green-main); font-weight: 900; font-size: 13px; }

/* ===== FOOTER ===== */
.taleem-footer {
  background: var(--dark);
  padding: 32px 24px;
}
.footer-inner { text-align: center; }
.footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 20px;
  color: rgba(255,255,255,0.7); font-weight: 700; font-size: 16px;
}
.footer-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  list-style: none; margin-bottom: 16px;
}
.footer-links a {
  color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ===== GO PAGE ===== */
.go-page-wrap {
  min-height: 100vh;
  background: var(--green-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px;
  position: relative;
}
.go-page-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(39,194,101,0.1) 0%, transparent 70%);
}
.go-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 560px; width: 100%;
  backdrop-filter: blur(10px);
  position: relative;
}
.go-card h1 {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3; margin-bottom: 16px;
}
.go-card h1 em { font-style: normal; color: var(--gold-light); }
.go-card p { font-size: 16px; color: rgba(255,255,255,0.72); line-height: 1.8; margin-bottom: 32px; }
.go-trust {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.go-trust span { font-size: 13px; color: rgba(255,255,255,0.6); }
.btn-back {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  padding: 12px 28px; border-radius: 10px; font-size: 14px;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.25s; margin-top: 12px;
}
.btn-back:hover { background: rgba(255,255,255,0.14); color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; right: 0; left: 0;
    background: var(--green-deep);
    padding: 16px;
    border-bottom: 1px solid rgba(201,150,58,0.2);
  }
  .grid-2 { grid-template-columns: 1fr; }
  .cond-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr 1fr; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
  .go-card { padding: 32px 20px; }
}
@media (max-width: 640px) {
  .taleem-section { padding: 52px 16px; }
  .taleem-hero { padding: 60px 16px 70px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-gold, .btn-outline { width: 100%; justify-content: center; }
  .taleem-stats { flex-direction: column; }
  .stat-item { border-left: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .step-item { flex-direction: column; gap: 12px; }
  .docs-grid { grid-template-columns: 1fr; }
  .go-trust { gap: 12px; }
}
