@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Readex+Pro:wght@300;400;500;600;700&display=swap');

:root {
  /* 🎮 Gen-Z Gamer & Dark Theme Palette */
  --primary: #8B5CF6;
  --primary-hover: #A78BFA;
  --primary-light: rgba(139, 92, 246, 0.15);
  --primary-glow: rgba(139, 92, 246, 0.5);
  
  --accent-pop: #F43F5E;
  --accent-pop-light: rgba(244, 63, 94, 0.15);
  --accent-pop-glow: rgba(244, 63, 94, 0.4);
  --accent-cyan: #06B6D4;
  
  --neutral-900: #0F172A;
  --neutral-800: #1E293B;
  --neutral-700: #334155;
  --neutral-600: #475569;
  --neutral-500: #64748B;
  --neutral-400: #94A3B8;
  --neutral-200: #E2E8F0;
  --neutral-100: #F1F5F9;
  --white: #FFFFFF;

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 30px -5px rgba(139, 92, 246, 0.15);
  --shadow-lg: 0 20px 40px -10px var(--primary-glow);
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --max-width: 1240px;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Readex Pro', 'Cairo', system-ui, sans-serif;
  background:
    linear-gradient(rgba(8, 12, 28, 0.78), rgba(8, 12, 28, 0.88)),
    url('school.png') center center / cover fixed no-repeat;
  color: var(--neutral-400);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6, .brand-name {
  font-family: 'Cairo', sans-serif;
  color: var(--white);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

img, svg {
  display: block;
  max-width: 100%;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
  position: relative;
  animation: fadeInUp 0.8s ease-out forwards;
  background: transparent;
}

.muted { color: var(--neutral-500); }
.lead {
  color: var(--neutral-400);
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Eyebrow Badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pop) 100%);
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Readex Pro', sans-serif;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pop) 100%);
  color: var(--white);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px var(--primary-glow);
}

.btn-outline {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-block { width: 100%; }

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--neutral-800);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.brand-mark:hover {
  transform: scale(1.08) rotate(-3deg);
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--neutral-400);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 3px;
  background: var(--accent-pop);
  transition: width 0.3s ease;
  border-radius: 3px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 80%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-btn {
  display: none;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 12px;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

@media (max-width: 960px) {
  .menu-btn { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 24px;
    left: 24px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-700);
  }
  .nav-links.is-open { display: flex; }
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--neutral-900) 0%, #171133 100%);
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.page-header .lead {
  color: var(--neutral-400);
  max-width: 680px;
}

.page-header-clear {
  background: var(--neutral-900);
  border-bottom: 1px solid var(--neutral-800);
}

.crumb {
  font-size: 0.9rem;
  color: var(--neutral-500);
  margin-bottom: 12px;
}

.crumb a {
  color: var(--accent-cyan);
}

.crumb a:hover {
  text-decoration: underline;
}

/* ============================================
   HERO SECTION — صورة المدرسة كخلفية
   ============================================ */
.hero {
  position: relative;
  padding: 130px 0 160px;
  background: transparent;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(63, 244, 126, 0.15);
  border: 1px solid rgba(63, 244, 126, 0.3);
  color: greenyellow;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 1rem;
  margin-bottom: 32px;
  animation: float 4s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 span {
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
}

.hero p {
  color: var(--neutral-200);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Glassmorphism Panel */
.hero-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(139, 92, 246, 0.1);
  animation: float 6s ease-in-out infinite alternate;
}

.hero-panel .panel-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 63, 94, 0.2);
  color: #FDA4AF;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  border: 1px solid rgba(244, 63, 94, 0.4);
  animation: pulseGlow 2s infinite;
}

.live-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent-pop);
  border-radius: 50%;
}

.hero-panel .panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--neutral-700);
  font-size: 1rem;
  color: var(--neutral-200);
}

.hero-panel .panel-row b {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

/* Stats Strip */


.stats-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}


/* ============================================
   STATS STRIP — New Animated Design
   ============================================ */
.stats-strip {
  margin-top: -70px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
}

.stats-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stat-cell {
  position: relative;
  padding: 44px 28px 36px;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(139, 92, 246, 0.25);
  text-align: center;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.5s ease;
  animation: statFloat 5s ease-in-out infinite;
  isolation: isolate;
}

.stat-cell:nth-child(1) { animation-delay: 0s; }
.stat-cell:nth-child(2) { animation-delay: 0.8s; }
.stat-cell:nth-child(3) { animation-delay: 1.6s; }

@keyframes statFloat {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}

/* خط متوهج أعلى البطاقة عند المرور */
.stat-cell::before {
  content: '';
  position: absolute;
  top: -2px; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent-pop), transparent);
  opacity: 0;
  transition: opacity 0.4s ease, left 0.4s ease, right 0.4s ease;
  filter: blur(1px);
  z-index: 2;
}

.stat-cell:hover::before {
  opacity: 1;
  left: 5%;
  right: 5%;
}

/* لمعان يمر على البطاقة */
.stat-cell::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.14), transparent);
  transition: left 0.8s ease;
  z-index: 1;
}

.stat-cell:hover::after { left: 100%; }

.stat-cell:hover {
  transform: translateY(-16px) scale(1.04);
  border-color: var(--primary);
  box-shadow: 0 30px 60px -10px var(--primary-glow),
              inset 0 0 40px rgba(139, 92, 246, 0.08);
  animation-play-state: paused;
}

/* الأيقونة الدائرية */
.stat-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pop) 100%);
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 10px 25px var(--primary-glow);
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* حلقة تنبض حول الأيقونة */
.stat-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: iconRing 2.5s ease-out infinite;
}

.stat-cell:nth-child(2) .stat-icon::before { animation-delay: 0.6s; }
.stat-cell:nth-child(3) .stat-icon::before { animation-delay: 1.2s; }

@keyframes iconRing {
  0%   { transform: scale(0.85); opacity: 0.85; }
  100% { transform: scale(1.55); opacity: 0; }
}

.stat-cell:hover .stat-icon {
  transform: scale(1.15) rotate(-8deg);
}

/* الرقم */
.stat-number {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 2;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}

/* الوصف */
.stat-label {
  display: block;
  color: var(--neutral-400);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* شريط التقدّم */
.stat-bar {
  margin-top: 22px;
  height: 5px;
  background: rgba(139, 92, 246, 0.12);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.stat-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-pop) 60%, var(--accent-cyan) 100%);
  border-radius: 5px;
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* تحديث الـ Responsive */
@media (max-width: 960px) {
  .stats-strip { margin-top: -40px; padding: 0 16px; }
  .stats-strip .wrap { grid-template-columns: 1fr; gap: 20px; }
  .stat-cell { animation: none; }
}

@media (max-width: 580px) {
  .stat-cell { padding: 32px 20px 28px; }
  .stat-icon { width: 56px; height: 56px; margin-bottom: 16px; }
  .stat-number { font-size: 2.5rem; }
}
/* Section Headings */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step {
  background: var(--neutral-800);
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--neutral-700);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-pop);
  box-shadow: 0 10px 30px var(--accent-pop-glow);
}

.step-num {
  font-weight: 900;
  color: var(--neutral-900);
  font-size: 1.5rem;
  background: var(--accent-cyan);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.step p {
  color: var(--neutral-400);
  font-size: 1rem;
  line-height: 1.7;
}

/* Alternate Section */
.alt {
  background: #0B1121;
  border-top: 1px solid var(--neutral-800);
  border-bottom: 1px solid var(--neutral-800);
}

/* Promo Panels */
.promo-panel {
  background: var(--neutral-800);
  border: 2px solid var(--neutral-700);
  border-radius: var(--radius-xl);
  padding: 60px;
}

.promo-highlight {
  background: linear-gradient(135deg, #1E1B4B 0%, var(--neutral-800) 100%);
  border: 2px solid var(--primary);
  box-shadow: inset 0 0 30px rgba(139, 92, 246, 0.1), 0 10px 30px var(--primary-glow);
}

.promo-panel h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 10px 0 16px;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pop) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 20px 50px var(--primary-glow);
}

.cta-band h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 500px;
}

.cta-band .btn-primary {
  background: var(--neutral-900);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cta-band .btn-primary:hover {
  background: var(--white);
  color: var(--neutral-900);
}

/* Teacher Picker Cards */
.picker-step {
  margin-bottom: 40px;
}

.picker-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.picker-step-num {
  background: var(--primary);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.picker-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.picker-card {
  background: var(--neutral-800);
  border: 2px solid var(--neutral-700);
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.picker-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 10px 25px var(--primary-glow);
}

.picker-card.active {
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.12);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.picker-card-icon {
  background: var(--neutral-900);
  color: var(--primary);
  padding: 14px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.picker-card.active .picker-card-icon {
  background: var(--primary);
  color: var(--white);
}

.picker-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.picker-card-sub {
  font-size: 0.9rem;
  color: var(--neutral-400);
  margin-bottom: 14px;
}

.picker-card-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.15);
  padding: 6px 12px;
  border-radius: 50px;
}

.note-badge {
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.15);
}

/* Table Styling */
.table-responsive {
  border-radius: var(--radius-xl);
  overflow-x: auto;
  border: 1px solid var(--neutral-700);
  box-shadow: var(--shadow-md);
  background: var(--neutral-800);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--neutral-800);
  text-align: right;
}

.data-table th {
  background: var(--neutral-900);
  padding: 20px;
  color: var(--white);
  border-bottom: 2px solid var(--neutral-700);
  font-size: 0.95rem;
  font-weight: 700;
}

.data-table td {
  padding: 20px;
  color: var(--neutral-200);
  border-bottom: 1px solid var(--neutral-700);
  font-size: 0.95rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(139, 92, 246, 0.08);
  color: var(--white);
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
}

.tag-free {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
}

.tag-soon {
  background: rgba(251, 191, 36, 0.2);
  color: #FBBF24;
}

/* About Page Elements */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--neutral-800);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--neutral-700);
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary-hover);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  height: 180px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}

/* Contact Page Elements */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
}

.contact-list a:hover {
  color: var(--accent-cyan);
}

.icon-circle {
  width: 46px;
  height: 46px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.info-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.map-embed {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--neutral-700);
  position: relative;
}

.map-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--neutral-800);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  font-size: 0.85rem;
  border: 1px solid var(--neutral-700);
}

.contact-form {
  background: var(--neutral-800);
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--neutral-700);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--neutral-200);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--neutral-700);
  border-radius: var(--radius-md);
  background: var(--neutral-900);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

/* Footer */
footer {
  background: #020617;
  padding: 80px 0 40px;
  border-top: 2px solid var(--neutral-800);
  color: var(--neutral-400);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.foot-brand .brand-name {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

footer p {
  color: var(--neutral-400);
  font-size: 0.95rem;
}

footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer ul a {
  color: var(--neutral-400);
  font-size: 0.92rem;
}

footer ul a:hover {
  color: var(--accent-cyan);
}

.foot-bottom {
  border-top: 1px solid var(--neutral-800);
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--neutral-500);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-actions { justify-content: center; }
  .stats-strip .wrap { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { flex-direction: column; text-align: center; }
  .cta-band p { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  body {
    background-attachment: scroll;
    background-position: center top;
  }
  .hero { background: transparent; }
}
/* ============================================
   PAGE: sections.html — بدون صورة خلفية
   ============================================ */
body.page-sections {
  background: radial-gradient(ellipse at top, #131B36 0%, #0A0F1F 45%, #05070F 100%);
  background-attachment: fixed;
}

@media (max-width: 960px) {
  body.page-sections {
    background-attachment: scroll;
  }
}
/* ============================================
   PICKER CHIPS — أزرار الاختيار المختصرة
   ============================================ */
.picker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeInUp 0.5s ease-out;
}

.picker-chip {
  padding: 14px 28px;
  background: var(--neutral-800);
  border: 2px solid var(--neutral-700);
  border-radius: 50px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.picker-chip:hover {
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.picker-chip.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pop) 100%);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 8px 22px var(--primary-glow);
  transform: translateY(-3px) scale(1.05);
}

.picker-step[hidden] { display: none; }

.picker-step:not([hidden]) {
  animation: fadeInUp 0.5s ease-out;
}

/* الأفواج داخل البطاقة */
.picker-group-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  cursor: default;
}

.picker-group-card:hover { transform: translateY(-4px); }

@media (max-width: 580px) {
  .picker-chip {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}
@media (max-width: 580px) {
  section { padding: 50px 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .promo-panel { padding: 28px 20px; }
  .contact-form { padding: 24px 18px; }
}
/* ضبط الفراغات وتحسين خريطة جوجل Numidia School */
/* ============================================
   LAYOUT FIXES — ضبط الفراغات والمسافات
   ============================================ */

/* توحيد المسافات بين البطاقات */
.picker-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ضبط المسافة بين خطوات الاختيار */
.picker-step {
  margin-bottom: 32px;
  padding-bottom: 8px;
}

.picker-step:last-child { margin-bottom: 0; }

/* ضبط المسافة داخل النموذج */
.contact-form {
  gap: 18px;
}

/* ضبط مسافة الخريطة في صفحة التواصل */
.map-embed {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--neutral-700);
  position: relative;
}

/* ضبط الشبكة في صفحة التواصل — الأعمدة */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* عناوين الأقسام في الصفحة */
.section-head {
  margin-bottom: 36px;
}

/* المسافات الداخلية للأقسام */
section {
  padding: 70px 0;
}

/* حشوة البطاقات */
.picker-card {
  padding: 24px;
}

.picker-card-icon {
  margin-bottom: 16px;
}

/* تقليل الفراغ في promo-panel */
.promo-panel {
  padding: 48px;
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 60px 0; }
  .promo-panel { padding: 36px 24px; }
  .picker-cards { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  section { padding: 45px 0; }
  .split { gap: 28px; }
  .picker-card { padding: 20px; }
  .picker-chip { padding: 11px 18px; font-size: 0.9rem; }
}