@font-face {
  font-family: "DIN Next LT Arabic";
  src: url("../fonts/DINNextLTArabic-Light.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "DIN Next LT Arabic";
  src: url("../fonts/DINNextLTArabic-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "DIN Next LT Arabic";
  src: url("../fonts/DINNextLTArabic-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --bg: #fcfaf5;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: #f5f8ef;
  --text: #173f37;
  --muted: #678178;
  --line: rgba(23, 63, 55, 0.12);
  --brand: #1d6652;
  --brand-soft: #edf3d7;
  --accent: #f2a43a;
  --accent-soft: #fff2de;
  --navy: #0f284a;
  --shadow: 0 24px 60px rgba(20, 42, 67, 0.09);
  --shadow-soft: 0 16px 36px rgba(20, 42, 67, 0.06);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DIN Next LT Arabic", "IBM Plex Sans Arabic", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(29, 102, 82, 0.14), transparent 28%),
    radial-gradient(circle at left 20%, rgba(242, 164, 58, 0.12), transparent 22%),
    linear-gradient(180deg, #fffdf8 0%, #ffffff 50%, #faf7f0 100%);
  color: var(--text);
  line-height: 1.8;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 40, 74, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 40, 74, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 82%);
  opacity: 0.35;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.about-page {
  position: relative;
}

.about-shell {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.about-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0 0;
}

.about-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(23, 63, 55, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 60px;
  height: 52px;
  border-radius: 18px;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(29, 102, 82, 0.12);
  background: linear-gradient(135deg, #ffffff, #eff5dd);
  box-shadow: 0 10px 20px rgba(29, 102, 82, 0.07);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy strong {
  display: block;
  font-size: 1.05rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.about-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.about-nav-link {
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.about-nav-link:hover,
.about-nav-link:focus-visible {
  background: rgba(237, 243, 215, 0.95);
  color: var(--text);
  transform: translateY(-1px);
}

.about-nav-cta {
  background: var(--brand);
  color: #fff;
}

.about-nav-cta:hover,
.about-nav-cta:focus-visible {
  background: #165241;
  color: #fff;
}

.about-main {
  padding: 2.5rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  backdrop-filter: blur(12px);
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(242, 164, 58, 0.2), transparent 72%);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-title {
  margin: 1rem 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-intro {
  margin: 0;
  max-width: 52rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-stats {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-card {
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.stat-card strong {
  display: block;
  font-size: 1.45rem;
  color: var(--brand);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-logos {
  display: grid;
  gap: 1rem;
}

.logo-stack {
  display: grid;
  gap: 1rem;
}

.logo-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,242,0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.logo-card-label {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8e5d12;
  font-size: 0.82rem;
  font-weight: 700;
}

.logo-card-media {
  min-height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px dashed rgba(15, 40, 74, 0.12);
}

.logo-card-media img {
  max-height: 110px;
  object-fit: contain;
}

.logo-card-copy {
  margin-top: 0.85rem;
}

.logo-card-copy strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.logo-card-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.sections {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.6rem;
}

.team-section {
  position: relative;
  overflow: hidden;
}

.team-section.security::before {
  content: "🛡";
  position: absolute;
  inset: 1.2rem 1.5rem auto auto;
  font-size: 5rem;
  opacity: 0.06;
  line-height: 1;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-badge {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), #2f8a6e);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(29, 102, 82, 0.22);
}

.section-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.section-text {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 55rem;
}

.logo-banner {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,244,0.94));
}

.logo-banner-media {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #fff;
  border: 1px dashed rgba(15, 40, 74, 0.14);
  padding: 1rem;
}

.logo-banner-media img {
  max-height: 95px;
  object-fit: contain;
}

.logo-banner-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.logo-banner-role {
  margin: 0 0 0.55rem;
  color: var(--brand);
  font-weight: 700;
}

.logo-banner-text,
.placeholder-note {
  margin: 0;
  color: var(--muted);
}

.inline-actions,
.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.action-pill,
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
  text-decoration: none;
}

.contact-pill.muted,
.action-pill.muted {
  color: var(--muted);
  background: rgba(248, 250, 244, 0.95);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.people-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.people-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.person-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.person-card.placeholder {
  background: linear-gradient(180deg, rgba(250, 248, 242, 0.96), rgba(255, 255, 255, 0.92));
  border-style: dashed;
}

.person-visual {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.8rem;
}

.person-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(29, 102, 82, 0.14), rgba(242, 164, 58, 0.22));
  border: 1px solid rgba(29, 102, 82, 0.14);
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
}

.person-avatar-photo {
  padding: 0;
  overflow: hidden;
  background: #eef4e3;
}

.person-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-visual h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.person-role {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.person-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-footer {
  padding: 0 0 2.25rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.about-footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.4rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 16px 42px rgba(23, 63, 55, 0.08);
}

.about-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.about-footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.about-footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1120px) {
  .people-grid.five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .about-topbar,
  .section-head,
  .about-footer-shell {
    border-radius: 28px;
  }

  .hero,
  .logo-banner,
  .people-grid,
  .people-grid.five,
  .people-grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .about-header {
    position: static;
    padding-top: 1rem;
  }

  .about-topbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .about-nav {
    justify-content: flex-start;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
  }

  .person-visual {
    align-items: flex-start;
  }
}
