:root {
  --edge-blue: #0078d4;
  --deep-blue: #0c2340;
  --navy: #0a1830;
  --gold: #f3b61f;
  --sky: #eaf5ff;
  --soft: #f6f8fb;
  --white: #ffffff;
  --text: #1d2939;
  --muted: #667085;
  --border: #e4e7ec;
  --shadow: 0 14px 38px rgba(12, 35, 64, .10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Tahoma, Arial, "Noto Sans Arabic", sans-serif;
  line-height: 1.75;
}

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

button, input, textarea, select {
  font: inherit;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(12, 35, 64, .08);
}

.topbar {
  background: var(--deep-blue);
  color: #dbeafe;
  font-size: .84rem;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 9px;
}

.top-contact a:hover {
  color: var(--white);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, .28);
  background: transparent;
  color: var(--white);
  padding: 3px 9px;
  min-width: 38px;
  border-radius: 999px;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 800;
  transition: .2s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--white);
  color: var(--deep-blue);
}

.header-main {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 285px;
}

.header-logo {
  width: auto;
  height: auto;
  max-width: 68px;
  max-height: 60px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-text strong {
  max-width: 325px;
  font-size: .96rem;
  color: var(--deep-blue);
}

.brand-text span {
  margin-top: 3px;
  color: var(--edge-blue);
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .78rem;
}

.main-nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 3px;
}

.main-nav a {
  padding: 8px 9px;
  color: #344054;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: .2s ease;
}

.main-nav a:hover {
  color: var(--edge-blue);
  background: var(--sky);
}

.menu-toggle {
  display: none;
  margin-inline-start: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--deep-blue);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 15% 18%, rgba(0, 120, 212, .16), transparent 27%),
    radial-gradient(circle at 88% 18%, rgba(243, 182, 31, .17), transparent 20%),
    linear-gradient(145deg, #f8fbff 0%, #eef7ff 55%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -170px auto;
  width: 420px;
  height: 420px;
  border: 52px solid rgba(0, 120, 212, .06);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 50px;
  align-items: center;
}

.eyebrow,
.section-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--edge-blue);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.hero h1 {
  margin: 15px 0 18px;
  max-width: 820px;
  color: var(--deep-blue);
  font-size: clamp(2.15rem, 5vw, 4.55rem);
  line-height: 1.22;
}

.hero-content > p {
  max-width: 760px;
  margin: 0;
  color: #475467;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--edge-blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 120, 212, .24);
}

.btn-primary:hover {
  background: #006cbe;
}

.btn-outline {
  background: var(--white);
  color: var(--deep-blue);
  border-color: #bfd3e8;
}

.btn-outline:hover {
  border-color: var(--edge-blue);
}

.full {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.fact {
  padding: 14px 15px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(0, 120, 212, .12);
  border-radius: 14px;
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  color: var(--deep-blue);
  font-size: .96rem;
}

.fact span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
}

.hero-logo-card {
  max-width: 395px;
  justify-self: end;
  text-align: center;
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(12, 35, 64, .08);
  border-radius: 28px;
  padding: 32px 30px;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: auto;
  height: auto;
  max-width: 185px;
  max-height: 145px;
  object-fit: contain;
}

.hero-logo-card h2 {
  margin: 22px 0 8px;
  color: var(--deep-blue);
  font-size: 1.22rem;
}

.hero-logo-card p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 78px 0;
}

.section-alt {
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-start {
  margin-inline: 0;
  text-align: start;
}

.section-heading h2 {
  margin: 8px 0 10px;
  color: var(--deep-blue);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 20px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c7ddf1;
}

.card h3 {
  margin: 12px 0 7px;
  color: var(--deep-blue);
  font-size: 1.13rem;
}

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

.icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sky);
  color: var(--edge-blue);
  font-weight: 900;
  font-size: 1.22rem;
}

.activity .icon {
  background: #fff8de;
}

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

.objective {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  min-height: 112px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.objective b {
  color: var(--edge-blue);
  font-size: 1.02rem;
  font-family: Arial, sans-serif;
}

.objective span {
  color: #475467;
}

.note-box {
  margin-top: 22px;
  padding: 17px 20px;
  background: #eef7ff;
  border-inline-start: 4px solid var(--edge-blue);
  border-radius: 12px;
}

.note-box strong {
  color: var(--deep-blue);
  margin-inline-end: 5px;
}

.faculty {
  position: relative;
  overflow: hidden;
}

.faculty::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}

html[dir="rtl"] .faculty::before {
  inset: 0 0 0 auto;
}

.section-dark {
  background:
    radial-gradient(circle at 8% 20%, rgba(0, 120, 212, .22), transparent 24%),
    linear-gradient(145deg, #071729, #0c2a4d);
  color: var(--white);
}

.section-heading.light h2,
.section-heading.light p {
  color: var(--white);
}

.section-heading.light > span {
  color: #8fd0ff;
}

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

.person-card {
  padding: 20px 16px;
  min-height: 135px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
}

.person-card.featured {
  background: var(--edge-blue);
}

.person-card span {
  display: block;
  color: #bcd8f3;
  font-size: .82rem;
}

.person-card.featured span {
  color: #e9f6ff;
}

.person-card h3 {
  margin: 9px 0 0;
  color: var(--white);
  font-size: 1.06rem;
}

.governance-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.governance-info > div {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

.governance-info strong,
.governance-info span {
  display: block;
}

.governance-info span {
  margin-top: 4px;
  color: #c9d8e8;
  font-size: .9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 42px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  padding: 17px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 13px;
}

.contact-item b,
.contact-item span,
.contact-item a {
  display: block;
}

.contact-item b {
  margin-bottom: 3px;
  color: var(--deep-blue);
  font-size: .84rem;
}

.contact-item span,
.contact-item a {
  color: #475467;
}

.contact-item a:hover {
  color: var(--edge-blue);
}

.contact-card {
  text-align: center;
  background: var(--white);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-card img {
  width: auto;
  height: auto;
  max-width: 135px;
  max-height: 105px;
  object-fit: contain;
}

.contact-card h3 {
  margin: 18px 0 7px;
  color: var(--deep-blue);
}

.contact-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.contact-card .btn + .btn {
  margin-top: 10px;
}

.site-footer {
  padding: 26px 0;
  background: #061321;
  color: #b9c7d5;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: auto;
  height: auto;
  max-width: 54px;
  max-height: 46px;
  object-fit: contain;
  background: var(--white);
  border-radius: 7px;
  padding: 3px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--white);
  font-size: .9rem;
}

.footer-brand span {
  margin-top: 2px;
  font-size: .75rem;
}

.site-footer p {
  margin: 0;
  font-size: .82rem;
}

@media (max-width: 1100px) {
  .header-main {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0 0 16px;
    grid-template-columns: repeat(3, 1fr);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    background: var(--soft);
  }

  .board-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .hero {
    padding-top: 62px;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    justify-self: stretch;
    max-width: none;
  }

  .objective-grid,
  .cards.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .top-contact {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .header-main {
    min-height: 72px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .header-logo {
    max-width: 54px;
    max-height: 48px;
  }

  .brand-text strong {
    max-width: 215px;
    font-size: .78rem;
  }

  .brand-text span {
    font-size: .67rem;
  }

  .main-nav.open {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero-facts,
  .objective-grid,
  .cards.three,
  .cards.two,
  .board-grid,
  .governance-info {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
