/* ── Tokens ── */
:root {
  --black: #0b0c10;
  --lime: #c8f31d;
  --steel: #2a2d34;
  --white: #f0f0f0;
  --grey: #9a9ca0;
  --font-heading: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', sans-serif;
  --radius: 8px;
  --max-w: 1100px;
  --gap: clamp(1rem, 3vw, 2rem);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,12,16,0.92);
  backdrop-filter: blur(10px);
  border-block-end: 1px solid rgba(200,243,29,0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.25rem;
  color: var(--lime);
}
.main-nav ul { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.main-nav a {
  font-size: 0.9rem; font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-toggle {
  background: var(--steel); border: none; color: var(--white);
  padding: 0.35rem 0.75rem; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.lang-toggle:hover { background: rgba(200,243,29,0.2); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
}
.hamburger span {
  display: block; position: absolute; width: 100%; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--steel) 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(200,243,29,0.08) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--lime); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: var(--grey); margin-bottom: 2rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 0.9rem 2rem; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; transition: all 0.25s;
}
.btn-primary {
  background: var(--lime); color: var(--black);
}
.btn-primary:hover { background: #b0d915; transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn-phone {
  font-size: 0.85rem; opacity: 0.7; margin-top: 0.2rem; font-weight: 600;
}

/* ── Section shared ── */
section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800; margin-bottom: 2rem; text-align: center;
}

/* ── Programs Grid ── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}
.card {
  background: var(--steel);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: rgba(200,243,29,0.3);
  transform: translateY(-4px);
}
.card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem;
}
.card p { font-size: 0.9rem; color: var(--grey); line-height: 1.6; }

/* ── About ── */
.about { background: var(--steel); }
.about-text { max-width: 700px; margin: 0 auto; text-align: center; }
.about-text p { color: var(--grey); margin-bottom: 1rem; font-size: 1rem; }
.about-text .section-title { margin-bottom: 1.5rem; }

/* ── Testimonials ── */
.testimonials-block {
  max-width: 800px; margin: 0 auto;
  display: grid; gap: 1.5rem;
}
.testimonial {
  background: var(--steel);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-inline-start: 3px solid var(--lime);
}
.testimonial blockquote {
  font-size: 1rem; line-height: 1.7; margin-bottom: 0.75rem;
}
.testimonial cite {
  font-style: normal; font-size: 0.85rem; color: var(--lime); font-weight: 600;
}

/* ── Contact Form ── */
.contact-form {
  max-width: 560px; margin: 0 auto;
  display: grid; gap: 1.25rem;
}
.form-group { display: grid; gap: 0.4rem; }
.form-group label {
  font-size: 0.85rem; font-weight: 600; color: var(--grey);
}
.form-group input,
.form-group textarea {
  background: var(--steel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lime);
}
.form-group textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }

/* ── Footer ── */
.site-footer {
  border-block-start: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; text-align: center;
}
.footer-info h3 {
  font-family: var(--font-heading);
  color: var(--lime); margin-bottom: 0.5rem;
}
.footer-info p { font-size: 0.9rem; color: var(--grey); }
.footer-info a { color: var(--lime); }
.footer-copy p { font-size: 0.8rem; color: var(--grey); }

/* ── Mobile Action Bar ── */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--black);
  border-block-start: 1px solid rgba(200,243,29,0.15);
  padding: 0.5rem;
  gap: 0.4rem;
}
.mobile-bar-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius);
  font-weight: 700; font-size: 0.85rem;
  text-align: center;
}
.mobile-bar-btn:first-child { background: var(--steel); color: var(--white); }
.mobile-bar-wa { background: #25D366; color: #fff; }
.mobile-bar-cta { background: var(--lime); color: var(--black); }

/* ── Reveal animation (CSS only) ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(11,12,16,0.97);
    border-block-end: 1px solid rgba(200,243,29,0.1);
    padding: 1rem;
  }
  .main-nav.open ul {
    flex-direction: column; gap: 0.75rem; text-align: center;
  }
  .hamburger { display: block; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 60px; }
}
@media (min-width: 769px) {
  .hamburger { display: none !important; }
}
