/* ===== Design tokens (from the WIRO STADIUM logo) ===== */
:root {
  --blue: #189ee0;
  --blue-dark: #0f78ad;
  --ink: #111418;
  --yellow: #f5c518;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --text: #1d2733;
  --muted: #5b6b7b;
  --border: #e4eaf0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(17, 20, 24, 0.08);
  --maxw: 1140px;
  --font: "Poppins", "Cairo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

html[dir="rtl"] { --font: "Cairo", "Poppins", system-ui, sans-serif; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; height: 72px;
}
.brand-logo { height: 46px; width: auto; }

.nav { display: flex; gap: 28px; }
.nav a {
  font-weight: 600; font-size: 0.96rem; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--blue); transition: width .25s ease;
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  font-family: var(--font); font-weight: 700; font-size: 0.9rem;
  border: 1.5px solid var(--blue); color: var(--blue);
  background: transparent; padding: 7px 16px; border-radius: 999px;
  cursor: pointer; transition: all .2s ease;
}
.lang-toggle:hover { background: var(--blue); color: #fff; }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-weight: 700; font-size: 1rem;
  padding: 13px 28px; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(24, 158, 224, .35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(24, 158, 224, .55), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(245, 197, 24, .18), transparent 55%),
    linear-gradient(135deg, #0c1118 0%, #121a26 55%, #0c1320 100%);
}
.hero-inner {
  position: relative; text-align: center;
  padding: 110px 22px 120px; display: flex; flex-direction: column; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600;
  color: var(--yellow); margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; line-height: 1.05;
  letter-spacing: .02em;
}
.accent-o { color: var(--blue); }
.hero-sub {
  max-width: 640px; margin: 22px auto 0; font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #c7d2dd;
}
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

/* ===== Sections ===== */
.section { padding: 92px 0; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--ink);
  text-align: center;
}
.section-title::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 4px;
  background: var(--yellow); margin: 14px auto 0;
}
.section-lead {
  text-align: center; color: var(--muted); max-width: 620px;
  margin: 18px auto 0; font-size: 1.08rem;
}

/* ===== About cards ===== */
.cards {
  display: grid; gap: 22px; margin-top: 52px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon { font-size: 2.2rem; margin-bottom: 12px; }
.card h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ===== Vision ===== */
.vision { background: var(--ink); color: #fff; }
.vision-inner { text-align: center; }
.vision .section-title { color: #fff; }
.vision-text {
  max-width: 800px; margin: 34px auto 0;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 500; color: #d8e2ec; line-height: 1.7;
}

/* ===== Programs ===== */
.programs {
  display: grid; gap: 24px; margin-top: 52px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.program {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; background: #fff; position: relative;
  border-top: 4px solid var(--blue);
  transition: transform .2s ease, box-shadow .2s ease;
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.age-badge {
  display: inline-block; background: rgba(24, 158, 224, .12); color: var(--blue-dark);
  font-weight: 700; font-size: .82rem; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.program h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: 10px; }
.program p { color: var(--muted); }

/* ===== Partners ===== */
.partners { background: var(--bg-soft); }
.partner-logos {
  display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; margin-top: 46px;
}
.partner {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 46px; font-weight: 700; font-size: 1.25rem; color: var(--ink);
  box-shadow: var(--shadow);
}

/* ===== Contact ===== */
.contact-inner { text-align: center; }
.contact-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.contact .btn-ghost { border-color: var(--blue); color: var(--blue); }
.contact .btn-ghost:hover { background: rgba(24, 158, 224, .1); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #aeb9c4; padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-logo { height: 40px; background: #fff; padding: 5px 8px; border-radius: 8px; }
.site-footer a:hover { color: #fff; }

/* ===== RTL adjustments ===== */
html[dir="rtl"] .nav a::after { left: auto; right: 0; }
html[dir="rtl"] .hero-title { letter-spacing: 0; }

/* ===== Mobile ===== */
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 0; transform: translateY(-130%); transition: transform .28s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 22px; width: 100%; }
  .nav a::after { display: none; }
  .section { padding: 64px 0; }
}
