
:root {
  --navy: #0a1628;
  --navy-2: #111d2d;
  --navy-3: #1a2942;
  --gold: #d6a73a;
  --gold-light: #f1ce72;
  --gold-dark: #9b741b;
  --cream: #f7f4ec;
  --white: #ffffff;
  --text: #182230;
  --muted: #697586;
  --border: #e5e8ed;
  --shadow-sm: 0 4px 12px rgba(11, 19, 32, .06);
  --shadow: 0 15px 45px rgba(11, 19, 32, .09);
  --shadow-lg: 0 30px 80px rgba(11, 19, 32, .15);
  --radius: 18px;
  --radius-lg: 25px;
  --container: 1200px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* ============================================
    fonts/
   ============================================ */

/* ---------- Tajawal ---------- */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/tajawal-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/tajawal-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/tajawal-800.woff2') format('woff2');
}

/* ---------- Cairo ---------- */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/cairo-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/cairo-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/cairo-900.woff2') format('woff2');
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Tajawal", "Cairo", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.85;
  direction: rtl;
  overflow-x: hidden;
}

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

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

/* ============ Top Bar ============ */
.top-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-3) 50%, var(--navy) 100%);
  color: #fff;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(214, 167, 58, .2);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-bar-badge { font-size: 15px; }
.top-bar-sep { color: var(--gold); }

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .04);
}

/*.nav-container {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}*/
.nav-container {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  position: relative;
}

/* ============ Brand / Logos ============ */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.brand:hover { transform: translateY(-2px); }

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(11, 19, 32, .15);
  border: 2px solid var(--gold);
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(214, 167, 58, .3);
  overflow: hidden;
  padding: 8px;
  transition: var(--transition);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-mark-gold {
  background:transparent;
  color: var(--navy);
  box-shadow: none;
}

.brand-text strong,
.brand-text small { display: block; line-height: 1.25; }

.brand-text strong {
  font-size: 16px;
  color: var(--navy);
  font-weight: 800;
}

.brand-text small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.brand-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
}

.brand-center:hover { transform: translateX(-50%) translateY(-2px); }

.brand-text-left { text-align: left; }

/* ============ Nav ============ */
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  transition: var(--transition);
  position: relative;
  color: var(--text);
}

.nav a:hover { color: var(--gold-dark); }

.nav a:not(.nav-apply)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav a:not(.nav-apply):hover::after { width: 100%; }

.nav-apply {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy) !important;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(214, 167, 58, .25);
}

.nav-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(214, 167, 58, .4);
}

/* ============ Menu Toggle ============ */
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  transition: var(--transition);
}

.menu-toggle:hover { background: var(--cream); }

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  min-height: 700px;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: .55;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, .95) 0%, rgba(10, 22, 40, .75) 50%, rgba(10, 22, 40, .85) 100%),
    linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, .5) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .08;
  background-image:
    linear-gradient(135deg, transparent 25%, rgba(214,167,58,.5) 25%, rgba(214,167,58,.5) 26%, transparent 26%),
    linear-gradient(45deg, transparent 25%, rgba(255,255,255,.3) 25%, rgba(255,255,255,.3) 26%, transparent 26%);
  background-size: 90px 90px;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
  padding: 100px 0;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: .5px;
  padding: 6px 14px;
  background: rgba(214, 167, 58, .12);
  border-radius: 30px;
  border: 1px solid rgba(214, 167, 58, .25);
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -1px;
  font-weight: 900;
}

.hero h1 span {
  color: var(--gold-light);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  max-width: 650px;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  transition: var(--transition);
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: 0 15px 35px rgba(214, 167, 58, .3);
}

.btn-primary:hover {
  box-shadow: 0 20px 45px rgba(214, 167, 58, .5);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, .25);
  color: #fff;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(214, 167, 58, .1);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: #cbd5e1;
  font-size: 14px;
}

.hero-note .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 167, 58, .25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(214, 167, 58, .25); }
  50% { box-shadow: 0 0 0 10px rgba(214, 167, 58, .05); }
}

/* ============ Hero Card ============ */
.hero-card {
  background: linear-gradient(150deg, rgba(23, 38, 58, .95), rgba(15, 25, 39, .98));
  border: 1px solid rgba(214, 167, 58, .25);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  text-align: center;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(214, 167, 58, .15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.hero-emblem {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: grid;
  place-items: center;
  margin: 40px auto 25px;
  background-image: radial-gradient(circle,rgba(214,167,58,.15),transparent),url('images/logo-icon.png');
  background-repeat: no-repeat;
  background-position:center;
  background-size:60%;
  background-color: transparent;
  box-shadow: 
  0 0 60px rgba(214,167,58,.3),
  inset 0 0 30px rgba(214,167,58,.1);
  position: relative;
  z-index: 1;
  transition: box-shadow.4s ease;
}

.hero-emblem:hover{
  box-shadow: 
  0 0 90px rgba(214,167,58,.5),
  inset 0 0 40px rgba(214,167,58,.2);
}



.hero-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.hero-card p {
  font-size: 13px;
  color: #94a3b8;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.hero-stats div {
  border-top: 1px solid rgba(214, 167, 58, .2);
  padding-top: 15px;
}

.hero-stats strong,
.hero-stats span { display: block; }

.hero-stats strong {
  color: var(--gold-light);
  font-size: 24px;
  font-weight: 900;
}

.hero-stats span {
  color: #94a3b8;
  font-size: 10px;
  margin-top: 4px;
}

/* ============ Hero Marquee ============ */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: rgba(10, 22, 40, .95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(214, 167, 58, .2);
  padding: 12px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 25px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
}

.marquee-track span:nth-child(even) { color: var(--gold); }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ============ Sections ============ */
.section { padding: 110px 0; }

.section-soft { background: #f8f9fb; }

.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
  position: relative;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 55px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.section-heading p { color: var(--muted); font-size: 16px; }
.section-heading.light p { color: #cbd5e1; }
.section-heading.light h2 { color: #fff; }

/* ============ About Grid ============ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  transition: height var(--transition);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.info-card:hover::before { height: 100%; }

.info-card .icon {
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: var(--cream);
  border-radius: 16px;
  margin-bottom: 18px;
  transition: var(--transition);
}

.info-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ✅ تأثير عند التحويم */
.info-card:hover .icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: scale(1.05) rotate(-3deg);
}

.info-card h3 { margin-bottom: 10px; font-size: 21px; font-weight: 800; }
.info-card p { color: var(--muted); font-size: 14px; }

.why-now {
  margin-top: 35px;
  background: linear-gradient(135deg, var(--cream) 0%, #fef9ed 100%);
  padding: 40px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 35px;
  align-items: center;
  border: 1px solid rgba(214, 167, 58, .2);
}

.why-now h3 { font-size: 26px; font-weight: 900; color: var(--navy); }
.why-now p { color: #5d6673; font-size: 15px; }

/* ============ Partners / Sponsors ============ */
/* =========================================
   قسم الرعاة والشركاء (الشريك المؤسس والاستراتيجي)
   ========================================= */

/* الشبكة التي تضم البطاقتين */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* البطاقة الواحدة */
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}

/* رأس البطاقة (الأيقونة والعنوان) */
.partner-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
  width: 100%;
}

.tier-badge {
  font-size: 28px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 12px;
  flex-shrink: 0;
}

.partner-card-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  text-align: right;
}

.partner-card-header h3 small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}

/* الصندوق المربع للشعار */
.partner-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* ✅ يجعله مربعاً تماماً */
  max-width: 260px;    /* الحد الأقصى لعرض المربع */
  border: 2px dashed var(--border);
  border-radius: 16px;
  background: #fafbfc;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.partner-card:hover .partner-box {
  border-color: var(--gold);
  background: #fff;
}

/* الشعار داخل المربع */
.partner-logo-img {
  width: 75%; /* حجم الشعار بالنسبة للمربع */
  height: 75%;
  object-fit: contain; /* حماية الشعار من التشوه */
  transition: var(--transition);
  margin-bottom: 20px; /* ترك مساحة للاسم بالأسفل */
}

/* اسم الشركة في الزاوية السفلى اليمنى */
.partner-company-name {
  position: absolute;
  bottom: 12px;
  right: 15px;
  background: transparent;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  font-family: "Tajawal", "Cairo", sans-serif;
  box-shadow: none;
  border: none;
  z-index: 2;
}

/* التجاوب مع الجوال */
@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr; /* عمود واحد على الجوال */
  }
  
  .partner-card-header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .partner-card-header h3 {
    text-align: center;
  }
}


/* ============ Objectives ============ */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(214, 167, 58, .15);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(214, 167, 58, .15);
}

.objectives-grid div {
  padding: 28px 25px;
  background: var(--navy);
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}

.objectives-grid div:hover {
  background: var(--navy-3);
  color: #fff;
}

.objectives-grid b {
  color: var(--gold-light);
  font-size: 22px;
  font-weight: 900;
  font-family: "Cairo", sans-serif;
  min-width: 40px;
}

/* ============ Timeline ============ */
.timeline {
  max-width: 920px;
  margin: auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  right: 28px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(214, 167, 58, .2));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  margin-bottom: 25px;
}

.timeline-item > span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-weight: 900;
  z-index: 1;
  font-family: "Cairo", sans-serif;
  box-shadow: 0 8px 20px rgba(11, 19, 32, .2);
  border: 2px solid var(--gold);
}

.timeline-item div {
  border: 1px solid var(--border);
  padding: 22px 26px;
  border-radius: 14px;
  background: #fff;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.timeline-item div:hover {
  transform: translateX(-8px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.timeline-item h3 { font-size: 19px; margin-bottom: 6px; font-weight: 800; }
.timeline-item p { color: var(--muted); font-size: 14px; }

/* ============ Criteria ============ */
.criteria {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 28px;
}

.criterion-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 15px;
}

.criterion-head b {
  color: var(--gold-dark);
  font-weight: 900;
  font-family: "Cairo", sans-serif;
}

.progress {
  height: 12px;
  background: #e9edf1;
  border-radius: 20px;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: inherit;
  animation: growBar 1.5s ease-out;
}

@keyframes growBar {
  from { width: 0 !important; }
}

.notice {
  margin-top: 40px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #fff7df, #fef3d0);
  border-right: 5px solid var(--gold);
  border-radius: 10px;
  color: #6c5725;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

/* ============ Training ============ */
.training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.training-grid article {
  border: 1px solid var(--border);
  padding: 30px 25px;
  border-radius: var(--radius);
  background: #fff;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.training-grid article::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.training-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.training-grid article:hover::before { transform: scaleX(1); }

.training-grid span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  font-family: "Cairo", sans-serif;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(214, 167, 58, .1);
  border-radius: 20px;
}

.training-grid h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.training-grid p { color: var(--muted); font-size: 13px; }

/* ============ Numbers ============ */
.numbers {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  padding: 65px 0;
  position: relative;
  overflow: hidden;
}

.numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.2) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(255,255,255,.15) 0%, transparent 50%);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.numbers strong,
.numbers span { display: block; }

.numbers strong {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 900;
  font-family: "Cairo", sans-serif;
}

.numbers span { font-weight: 700; font-size: 14px; margin-top: 5px; }

/* ============ Investors ============ */
.investor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.investor-card {
  min-height: 170px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  background: #fff;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.investor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(214, 167, 58, .08), transparent);
  opacity: 0;
  transition: var(--transition);
}

.investor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.investor-card:hover::before { opacity: 1; }

.investor-card b {
  color: var(--gold);
  font-size: 36px;
  font-weight: 900;
  font-family: "Cairo", sans-serif;
  position: relative;
}

.investor-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  position: relative;
}

/* ============ TV ============ */
.tv-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 70px;
  align-items: center;
}

.tv-grid h2 {
  font-size: 46px;
  line-height: 1.3;
  margin-bottom: 18px;
  font-weight: 900;
}

.tv-grid p { color: #cbd5e1; font-size: 16px; }

.tv-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(214, 167, 58, .3);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.tv-box div {
  padding: 45px 20px;
  text-align: center;
  background: rgba(17, 29, 45, .9);
  backdrop-filter: blur(10px);
}

.tv-box div:first-child { border-left: 1px solid rgba(214, 167, 58, .2); }

.tv-box strong,
.tv-box span { display: block; }

.tv-box strong {
  font-size: 62px;
  color: var(--gold-light);
  font-weight: 900;
  font-family: "Cairo", sans-serif;
  line-height: 1;
}

.tv-box span { color: #cbd5e1; font-size: 13px; margin-top: 8px; }

/* ============ Support ============ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.support-grid div {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.support-grid div:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.support-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 14px;
  flex-shrink: 0;
  padding: 12px;
  transition: var(--transition);
}

.support-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* تأثير عند التحويم */
.support-grid div:hover .support-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: scale(1.08) rotate(-5deg);
}

.small-note {
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ============ States ============ */
.states-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.states-list span {
  padding: 11px 22px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: default;
}

.states-list span:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(214, 167, 58, .3);
}

/* ============ Dates ============ */
.dates-grid {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin-inline: auto;
}

.dates-grid div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 25px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: var(--transition);
  align-items: center;
}

.dates-grid div:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateX(-6px);
}

.dates-grid strong {
  color: var(--gold-dark);
  font-weight: 800;
  font-family: "Cairo", sans-serif;
}

.dates-grid span { color: var(--muted); font-size: 14px; }

/* ============ Apply ============ */
.apply-section {
  padding: 120px 0;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, .95), rgba(17, 29, 45, .98)),
    url('https://images.unsplash.com/photo-1547036967-23d11aacaee0?w=1920&q=80') center/cover;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.apply-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(214, 167, 58, .1) 0%, transparent 60%);
}

.apply-content { max-width: 820px; position: relative; z-index: 1; }

.apply-content h2 {
  font-size: 52px;
  line-height: 1.25;
  margin-bottom: 18px;
  font-weight: 900;
}

.apply-content p { color: #cbd5e1; font-size: 17px; margin-bottom: 30px; }

.form-note {
  margin-top: 20px;
  font-size: 12px;
  color: #8995a5 !important;
}

/* ============ FAQ ============ */
.faq {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 0 24px;
  transition: var(--transition);
}

.faq details[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-left: 30px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--cream);
  color: var(--gold-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  transition: var(--transition);
}

.faq details[open] summary::before {
  content: '−';
  background: var(--gold);
  color: var(--navy);
}

.faq p {
  color: var(--muted);
  padding: 0 0 20px;
  font-size: 14px;
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 26px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  font-size: 32px;
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 16px;
  flex-shrink: 0;
}

.contact-card strong,
.contact-card small { display: block; }

.contact-card strong { font-size: 16px; font-weight: 800; }

.contact-card small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

/* ============ Footer ============ */
.footer {
  background: linear-gradient(180deg, #070e17, #050a12);
  color: #d6dde6;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-brand strong { color: #fff; }
.footer-brand small { color: #8d99a9; }
.footer-brand .brand-mark { box-shadow: 0 8px 20px rgba(214, 167, 58, .2); }

.footer p {
  color: #8995a5;
  font-size: 13px;
  margin-top: 18px;
  max-width: 420px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 800;
}

.footer a {
  display: block;
  color: #8995a5;
  font-size: 13px;
  margin-bottom: 10px;
  transition: var(--transition);
  position: relative;
  padding-right: 0;
}

.footer a:hover {
  color: var(--gold-light);
  padding-right: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  padding: 22px;
  color: #687587;
  font-size: 12px;
}

/* ============ Back to Top ============ */
.back-to-top {
  position: fixed;
  left: 25px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  display: none;
  z-index: 900;
  box-shadow: 0 10px 30px rgba(214, 167, 58, .4);
  transition: var(--transition);
}

.back-to-top.show { display: grid; place-items: center; }

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(214, 167, 58, .6);
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .nav { gap: 12px; font-size: 12px; }
  .hero-grid { gap: 40px; }
  .training-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    padding: 25px 5%;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
  }

  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: 0; }
  .nav-apply { text-align: center; margin-top: 10px; }
  .nav a:not(.nav-apply)::after { display: none; }


  .hero-grid,
  .why-now,
  .tv-grid { grid-template-columns: 1fr; }

  .hero-card { max-width: 580px; margin: auto; width: 100%; }

  .about-grid,
  .investor-grid,
  .contact-grid,
  .support-grid { grid-template-columns: repeat(2, 1fr); }

  .training-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  .sudan-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item.large { grid-column: span 2; grid-row: span 2; }

  .dates-grid div { grid-template-columns: 1fr; gap: 6px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
}

@media (max-width: 600px) {
  .section { padding: 75px 0; }

  .hero { min-height: auto; }
  .hero-grid { padding: 70px 0 90px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .hero-emblem { width: 110px; height: 110px; font-size: 32px; }

  .top-bar-inner { font-size: 11px; text-align: center; }
  .top-bar-sep { display: none; }

  .brand-logo, .brand-mark { width: 44px; height: 44px; font-size: 15px; }

  .about-grid,
  .investor-grid,
  .training-grid,
  .support-grid,
  .contact-grid,
  .numbers-grid,
  .objectives-grid { grid-template-columns: 1fr; }

  .sudan-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
  .gallery-item.large figcaption strong { font-size: 20px; }

  .timeline::before { right: 22px; }
  .timeline-item { grid-template-columns: 46px 1fr; gap: 15px; }
  .timeline-item > span { width: 46px; height: 46px; font-size: 13px; }

  .apply-content h2 { font-size: 34px; }
  .tv-grid h2 { font-size: 32px; }
  .tv-box strong { font-size: 44px; }

  .footer-grid { grid-template-columns: 1fr; gap: 35px; }

  .back-to-top { width: 44px; height: 44px; left: 15px; bottom: 15px; }
}

/* ============ RTL Fixes ============ */
[dir="rtl"] .timeline-item div:hover { transform: translateX(-8px); }
[dir="rtl"] .dates-grid div:hover { transform: translateX(-6px); }