/* DigitalU website: brand version 2 (navy and orange, Raleway with Almarai) */

:root {
  --navy: #0A1430;
  --raised: #15254D;
  --line: #263A68;
  --text: #F3F5FA;
  --muted: #AEB9D1;
  --orange: #E0873A;
  --star: #7F8BA8;
  --paper: #F6F2EC;
  --paper-raised: #FFFFFF;
  --paper-line: #E3DCD0;
  --paper-text: #0A1430;
  --paper-muted: #4A5670;
  --paper-accent: #A85A1C;
  --radius: 14px;
  --wrap: 1180px;
  --font: "Raleway", "Almarai", system-ui, sans-serif;
}

[dir="rtl"] { --font: "Almarai", "Raleway", Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p, ul { margin: 0; }
.num, .fv-num { font-family: "Almarai", var(--font); }

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

.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--orange); color: var(--navy); padding: 8px 16px; z-index: 100; }
.skip:focus { inset-inline-start: 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 48, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .lang {
  color: var(--text); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; font-family: "Almarai", var(--font);
}
[dir="rtl"] .nav .lang { font-family: "Raleway", sans-serif; }
.nav .lang:hover { border-color: var(--orange); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--text); padding: 8px 12px; font: inherit; font-size: 15px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 16px; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #EA9852; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 128px; }
.stars { position: absolute; inset: 0; background: url("stars.svg") center / 1200px auto repeat; opacity: 0.9; pointer-events: none; }
.planet { position: absolute; inset-inline-end: 24px; bottom: -150px; width: 500px; height: auto; pointer-events: none; }
[dir="rtl"] .planet { transform: scaleX(-1); }
.hero .wrap { position: relative; }
.hero-copy { max-width: 720px; }
.eyebrow {
  color: var(--orange); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
[dir="rtl"] .hero h1 { line-height: 1.45; letter-spacing: 0; }
.hero .lead { margin-top: 24px; font-size: 20px; color: var(--muted); max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.place { margin-top: 48px; color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 96px 0; }
.section.paper { background: var(--paper); color: var(--paper-text); }
.section.paper .eyebrow { color: var(--paper-accent); }
.section.paper .muted, .section.paper .card p, .section.paper .note { color: var(--paper-muted); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.25; font-weight: 700; }
[dir="rtl"] .section-head h2 { line-height: 1.55; }
.section-head .lead { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section.paper .section-head .lead { color: var(--paper-muted); }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section.paper .card { background: var(--paper-raised); border-color: var(--paper-line); }
.card h3 { font-size: 20px; line-height: 1.4; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }
.card .num { color: var(--orange); font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.section.paper .card .num { color: var(--paper-accent); }
.dot { width: 14px; height: 14px; border-radius: 999px; background: var(--orange); margin-bottom: 20px; }
.icon { width: 28px; height: 28px; color: var(--paper-accent); margin-bottom: 16px; }
.rule { width: 32px; height: 3px; border-radius: 3px; background: var(--orange); margin-bottom: 16px; }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 0 0; }
[dir="rtl"] .fact { padding: 28px 0 0 24px; }
.fact + .fact { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.fv { font-size: 28px; font-weight: 800; color: var(--orange); line-height: 1.3; }
.fl { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Statement */
.statement { background: var(--orange); color: var(--navy); padding: 88px 0; }
.statement p { font-size: clamp(28px, 4.4vw, 48px); line-height: 1.25; font-weight: 800; max-width: 900px; }
[dir="rtl"] .statement p { line-height: 1.6; }

/* Partners */
.partner h3 { font-size: 19px; }
.partner.join { background: transparent; border-style: dashed; border-color: var(--paper-accent); }
.partner.join h3 { color: var(--paper-accent); }

/* Lists */
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 8px; }
.ticks li { position: relative; padding-inline-start: 26px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 999px; background: var(--orange); }
.card .k { color: var(--text); font-weight: 700; font-size: 18px; margin-bottom: 12px; }

/* Knowledge transfer */
.scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.track { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.fill { height: 100%; background: var(--orange); border-radius: 6px; }

/* Contact */
.contact { position: relative; overflow: hidden; padding: 112px 0; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.15; }
[dir="rtl"] .contact h2 { line-height: 1.5; }
.contact .lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 620px; }
.contact .email { display: inline-block; margin-top: 32px; font-size: clamp(22px, 3vw, 30px); font-weight: 700; font-family: "Raleway", sans-serif; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.site-footer img { height: 32px; width: auto; }

/* Responsive */
@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-inline-start: none; padding-inline-start: 0; }
  .planet { width: 380px; inset-inline-end: -60px; bottom: -120px; opacity: 0.5; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 72px; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav .lang { margin-top: 12px; text-align: center; border-bottom: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 112px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .planet { width: 240px; inset-inline-end: -50px; bottom: -80px; opacity: 0.35; }
  .scale { display: none; }
}
.partner.join:hover { text-decoration: none; border-style: solid; }
