:root {
  --blue: #011bae;
  --blue-deep: #001070;
  --blue-bright: #0028d0;
  --white: #ffffff;
  --paper: #f8f8f8;
  --tint: #eef2fb;
  --ink: #0b1220;
  --muted: #3d4a63;
  --silver: #c5c9d1;
  --shadow: 0 16px 40px rgba(0, 16, 112, 0.16);
  --header: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

:lang(en) {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 600;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 800;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid rgba(1, 27, 174, 0.08);
}

.header__bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--blue);
}

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

.nav a {
  color: var(--blue);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--tint);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(1, 27, 174, 0.2);
  border-radius: 12px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  position: relative;
}

.nav-toggle__bars {
  margin-inline: auto;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(160deg, var(--blue-bright), var(--blue) 42%, var(--blue-deep));
  padding: 72px 0 88px;
}

.hero__tear {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 140px;
  background: rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 0, 100% 0, 72% 18%, 100% 42%, 64% 58%, 88% 100%, 0 100%);
}

.hero__content {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
}

.hero__logo {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18), var(--shadow);
}

.eyebrow {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow--blue {
  color: var(--blue);
  letter-spacing: 0;
  text-transform: none;
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.hero__lead {
  max-width: 36rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.pill--solid {
  background: var(--white);
  color: var(--blue);
}

.pill--ghost {
  border: 2px solid var(--white);
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
}

.button:hover,
.button:focus-visible {
  background: var(--paper);
}

.section,
.contact {
  scroll-margin-top: calc(var(--header) + 12px);
}

.section {
  padding: 80px 0;
}

.section--tint {
  background: var(--tint);
}

.section h2,
.contact h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.section p + p {
  margin-top: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.about__frame {
  margin: 0;
  background: var(--white);
  padding: 10px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.about__frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 28px;
}

.section__note {
  color: var(--muted);
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 22px 22px 24px;
  border-top: 4px solid var(--blue);
  box-shadow: 0 8px 24px rgba(0, 16, 112, 0.06);
}

.card__index {
  display: block;
  margin-bottom: 10px;
  color: var(--silver);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.card h3 {
  color: var(--blue-deep);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
}

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

.gallery__item {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(0, 16, 112, 0.08);
}

.gallery__item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.04);
}

.partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.partner {
  margin: 0;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 16, 112, 0.06);
}

.partner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.partner figcaption {
  padding: 18px 20px 22px;
}

.partner h3 {
  color: var(--blue);
  margin-bottom: 6px;
}

.partner p {
  color: var(--muted);
}

.contact {
  background:
    linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}

.contact__inner {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.contact p {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer {
  background: #000a4a;
  color: rgba(255, 255, 255, 0.86);
  padding: 56px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.footer__brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #000a4a, 0 0 0 3px rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.footer__name,
.footer__slogan,
.footer__legal p {
  direction: ltr;
  text-align: right;
}

.footer__name {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
}

.footer__slogan {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.footer__label {
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 800;
}

.site-footer address {
  font-style: normal;
}

.site-footer address p + p,
.footer__links li + li {
  margin-top: 10px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a {
  display: inline-block;
  direction: ltr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white);
}

.footer__legal {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 8, 40, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 72px 16px 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(960px, calc(100% - 180px));
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 12px;
}

.lightbox__close,
.lightbox__nav {
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 16px;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
}

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

.hero :focus-visible,
.contact :focus-visible {
  outline-color: var(--white);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    inset-inline: 16px;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .split,
  .cards,
  .gallery,
  .partners,
  .footer__grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .about__frame img,
  .partner img,
  .gallery__item img {
    height: 220px;
  }

  .lightbox {
    flex-direction: column;
    padding: 72px 16px 16px;
  }

  .lightbox img {
    width: 100%;
    order: -1;
  }
}
