@import url(https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap);
:root {
  --brand-900: #16232b;
  --brand-800: #22333d;
  --brand-700: #2e4049;
  --brand-600: #3d5665;
  --brand-500: #547181;
  --brand-100: #e7edf1;
  --brand-50: #f4f7f9;
  --accent-600: #a8721f;
  --accent-500: #c8892b;
  --accent-100: #fdf3e0;
  --ink: #1b2429;
  --ink-muted: #5c6b74;
  --line: #dfe6ea;
  --surface: #ffffff;
  --surface-alt: #f4f7f9;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(22, 35, 43, .06), 0 1px 3px rgba(22, 35, 43, .08);
  --shadow: 0 10px 30px -12px rgba(22, 35, 43, .22);
  --shadow-lg: 0 24px 60px -20px rgba(22, 35, 43, .3);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --gutter: clamp(1rem, 4vw, 2rem);
  --font: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --overlay-to: right;
}

[dir=rtl] {
  --overlay-to: left;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.25;
  color: var(--brand-900);
  letter-spacing: -0.01em;
}

h1, .h1 {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem);
}

h2, .h2 {
  font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.5rem);
}

h3, .h3 {
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem);
}

p {
  color: var(--ink-muted);
}

a {
  color: var(--brand-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-600);
}

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-main {
  display: block;
}

.num-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.section {
  padding-block: var(--section-y);
}

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

.section-head {
  max-width: 62ch;
  margin-block-end: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-block-end: 0.75rem;
}

.eyebrow::before {
  content: "";
  inline-size: 1.75rem;
  block-size: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}

.btn {
  --bs-btn-padding-y: .7rem;
  --bs-btn-padding-x: 1.6rem;
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand-700);
  --bs-btn-border-color: var(--brand-700);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-800);
  --bs-btn-hover-border-color: var(--brand-800);
  --bs-btn-active-bg: var(--brand-900);
  --bs-btn-active-border-color: var(--brand-900);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  --bs-btn-color: #1b1206;
  --bs-btn-bg: var(--accent-500);
  --bs-btn-border-color: var(--accent-500);
  --bs-btn-hover-color: #1b1206;
  --bs-btn-hover-bg: var(--accent-600);
  --bs-btn-hover-border-color: var(--accent-600);
}

.btn-ghost {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, .55);
  --bs-btn-hover-color: var(--brand-900);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
}

.btn-outline-brand {
  --bs-btn-color: var(--brand-700);
  --bs-btn-border-color: var(--brand-500);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-700);
  --bs-btn-hover-border-color: var(--brand-700);
}

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

.btn:active {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
          backdrop-filter: saturate(150%) blur(12px);
  border-block-end: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.is-stuck {
  box-shadow: var(--shadow-sm);
}

.site-header .navbar {
  padding-block: 0.65rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  color: var(--brand-900);
  text-decoration: none;
}

.brand-mark img {
  block-size: 46px;
  inline-size: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.brand-mark span {
  font-size: 1.05rem;
  line-height: 1.2;
}

.site-nav .nav-link {
  font-weight: 600;
  color: var(--brand-800);
  padding-inline: 0.9rem;
  border-radius: 999px;
  position: relative;
}

.site-nav .nav-link:hover {
  color: var(--accent-600);
}

.site-nav .nav-link.is-active {
  color: var(--brand-900);
}

.site-nav .nav-link.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0.9rem;
  inset-block-end: 0.15rem;
  block-size: 3px;
  border-radius: 3px;
  background: var(--accent-500);
}

.navbar-toggler {
  border-color: var(--line);
  padding: 0.45rem 0.6rem;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-block-size: clamp(26rem, 62vh, 38rem);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to var(--overlay-to), rgba(22, 35, 43, 0.93) 0%, rgba(22, 35, 43, 0.78) 45%, rgba(22, 35, 43, 0.45) 100%);
}

.hero__inner {
  padding-block: clamp(3.5rem, 9vw, 6rem);
}

.hero h1 {
  color: #fff;
  max-width: 20ch;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 1.75rem;
}

.hero--plain .hero__media {
  background: radial-gradient(120% 120% at 15% 10%, var(--brand-600), var(--brand-900) 60%);
}

.card-soft {
  block-size: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card-soft:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-100);
}

.card-soft h3 {
  margin-block-end: 0.6rem;
}

.card-soft p:last-child {
  margin-block-end: 0;
}

.icon-badge {
  display: grid;
  place-items: center;
  inline-size: 3.1rem;
  block-size: 3.1rem;
  border-radius: var(--radius-sm);
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 1.5rem;
  margin-block-end: 1rem;
}

.icon-badge--accent {
  background: var(--accent-100);
  color: var(--accent-600);
}

.stat {
  text-align: center;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.stat__value {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 800;
  color: var(--brand-900);
  line-height: 1.1;
}

.stat__label {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.news-card {
  block-size: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.news-card__media {
  aspect-ratio: 16/9;
  background: var(--brand-100) center/cover no-repeat;
  position: relative;
}

.news-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1 1 auto;
}

.news-card__title {
  font-size: 1.15rem;
  margin: 0;
}

.news-card__title a {
  color: var(--brand-900);
  text-decoration: none;
}

.news-card__title a:hover {
  color: var(--accent-600);
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-block-start: auto;
  padding-block-start: 0.6rem;
}

.news-card__meta i {
  color: var(--brand-500);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--brand-100);
  color: var(--brand-700);
}

.pill--event {
  background: var(--accent-100);
  color: var(--accent-600);
}

.date-chip {
  position: absolute;
  inset-block-start: 0.85rem;
  inset-inline-start: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.7rem;
  text-align: center;
  line-height: 1.1;
  box-shadow: var(--shadow-sm);
}

.date-chip strong {
  display: block;
  font-size: 1.15rem;
  color: var(--brand-900);
}

.date-chip span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.prose {
  font-size: 1.05rem;
  color: var(--ink);
}

.prose p {
  color: var(--ink);
}

.prose > :last-child {
  margin-block-end: 0;
}

.team-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  block-size: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.team-card__avatar {
  inline-size: 6.5rem;
  block-size: 6.5rem;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-inline: auto;
  margin-block-end: 1rem;
  background: var(--brand-100);
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--brand-500);
}

.team-card h3 {
  font-size: 1.05rem;
  margin-block-end: 0.2rem;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--accent-600);
  font-weight: 600;
  margin: 0;
}

.faq-list {
  max-width: 52rem;
  margin-inline: auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-block-end: 0.85rem;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-sm);
}

.faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  color: var(--brand-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item__chevron {
  color: var(--brand-500);
  transition: transform 0.2s ease;
  flex: none;
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__body {
  padding: 0 1.35rem 1.25rem;
  color: var(--ink-muted);
}

.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--line);
  padding: 0.7rem 0.9rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 0.2rem rgba(61, 86, 101, 0.15);
}

.form-label {
  font-weight: 600;
  color: var(--brand-800);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-block: 0.8rem;
}

.info-row + .info-row {
  border-block-start: 1px solid var(--line);
}

.info-row i {
  color: var(--brand-600);
  font-size: 1.2rem;
  margin-block-start: 0.15rem;
}

.info-row dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  font-weight: 700;
}

.info-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--brand-900);
  word-break: break-word;
}

.info-row a {
  text-decoration: none;
}

.page-head {
  position: relative;
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--brand-900);
  isolation: isolate;
  overflow: hidden;
}

.page-head__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to var(--overlay-to), rgba(22, 35, 43, 0.92), rgba(22, 35, 43, 0.7));
}

.page-head h1 {
  color: #fff;
  margin: 0;
}

.page-head p {
  color: rgba(255, 255, 255, 0.85);
  margin-block-start: 0.6rem;
  margin-block-end: 0;
  max-width: 60ch;
}

.breadcrumb-bar {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, .55);
  --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .85);
  margin-block-end: 0.9rem;
}

.breadcrumb-bar .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-bar .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb-bar a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-bar a:hover {
  color: #fff;
}

.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.75);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-block-end: 1.1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-500);
}

.site-footer .brand-mark span {
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.social-row {
  display: flex;
  gap: 0.6rem;
  margin-block-start: 1.1rem;
}

.social-row a {
  display: grid;
  place-items: center;
  inline-size: 2.4rem;
  block-size: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 1.05rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.social-row a:hover {
  background: var(--accent-500);
  color: #1b1206;
  transform: translateY(-2px);
}

.footer-bottom {
  margin-block-start: clamp(2rem, 4vw, 3rem);
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.25rem;
  font-size: 0.875rem;
}

.dev-credit a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
}
.dev-credit a img {
  margin-right: 0.25rem;
}
.dev-credit a b {
  font-weight: 700;
  color: #F6B22D;
}
.dev-credit a span {
  font-weight: 400;
  color: #fff;
}
.dev-credit a:hover span, .dev-credit a:focus-visible span {
  text-decoration: underline;
}

.select2-container--default .select2-selection--single {
  block-size: calc(1.5em + 1.4rem + 2px);
  border-color: var(--line);
  border-radius: var(--radius-sm);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: calc(1.5em + 1.4rem);
  padding-inline-start: 0.9rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  block-size: calc(1.5em + 1.4rem);
}

.auth-shell {
  display: grid;
  place-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--surface-alt);
  min-block-size: 70vh;
}

.auth-card {
  inline-size: min(100%, 34rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}

.auth-card--wide {
  inline-size: min(100%, 52rem);
}

.auth-card__brand {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  text-align: center;
  margin-block-end: 1.5rem;
}

.auth-card__brand img {
  max-block-size: 84px;
  inline-size: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.auth-card__eyebrow {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.auth-card h1 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  margin: 0;
}

.auth-card__footer {
  margin-block-start: 1.5rem;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--line);
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.auth-card__footer a {
  font-weight: 700;
}

.text-brand {
  color: var(--brand-700) !important;
}

.text-accent {
  color: var(--accent-600) !important;
}

.bg-surface-alt {
  background: var(--surface-alt) !important;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  inset-block-start: 0;
  z-index: 2000;
  background: var(--brand-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  inset-inline-start: 1rem;
  color: #fff;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .btn:hover, .card-soft:hover, .news-card:hover, .team-card:hover {
    transform: none;
  }
}
@media print {
  .site-header, .site-footer, .hero__actions, .skip-link {
    display: none !important;
  }
  body {
    color: #000;
  }
}
