/* About ("من نحن") page — Kubbe navy/gold, consistent with site design system */
.about-page {
  --an: #08264a;
  --an-deep: #061a33;
  --ag: #c99a2e;
  --ag-soft: #f3e6c4;
  --paper: #f5f8fc;
  --ink: #1a2433;
  --muted: #5c6675;
  --line: rgba(8, 38, 74, 0.1);
  --shadow: 0 18px 40px rgba(8, 38, 74, 0.08);
  color: var(--ink);
  background: #fff;
  overflow-x: clip;
}

/* Hero */
.about-hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 12% 15%, rgba(201, 154, 46, 0.2), transparent 55%),
    linear-gradient(125deg, var(--an-deep) 0%, var(--an) 55%, #0a3058 100%);
  color: #fff;
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}
.about-hero-inner { position: relative; z-index: 1; text-align: center; max-width: 46rem; margin: 0 auto; }
.about-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201, 154, 46, 0.16);
  border: 1px solid rgba(201, 154, 46, 0.4);
  color: #f3d98a;
  font-size: 0.82rem; font-weight: 700;
  padding: 0.4rem 1rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}
.about-hero-title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.about-hero-tag {
  color: var(--ag);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin: 0 0 1rem;
}
.about-hero-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.9;
  margin: 0;
}

/* Stats strip (overlaps hero, matches home stats-bar style) */
.about-stats-wrap { position: relative; z-index: 2; margin-top: -2.75rem; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.1rem 0.75rem;
}
@media (min-width: 768px) {
  .about-stats { grid-template-columns: repeat(4, 1fr); padding: 1.4rem 1rem; }
}
.about-stat-item { text-align: center; padding: 0.5rem 0.25rem; }
.about-stat-num { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 800; color: var(--an); margin: 0; }
.about-stat-label { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin: 0.15rem 0 0; }

/* Section shell */
.about-section { padding: clamp(3rem, 7vw, 4.5rem) 0; }
.about-section--tint { background: var(--paper); }
.about-eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--ag); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.02em; margin-bottom: 0.6rem;
}
.about-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ag); display: inline-block; }
.about-section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800; color: var(--an); margin: 0 0 0.9rem;
}
.about-section-text {
  color: var(--muted); font-size: 0.98rem; line-height: 1.95; max-width: 62rem;
}

/* Mission block */
.about-mission { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) {
  .about-mission { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
}
.about-mission-media { position: relative; }
.about-mission-media img {
  width: 100%; height: clamp(220px, 32vw, 320px); object-fit: cover;
  border-radius: 1.5rem; box-shadow: var(--shadow);
}
.about-mission-media::after {
  content: ""; position: absolute; inset-inline-start: -0.9rem; bottom: -0.9rem;
  width: 5.5rem; height: 5.5rem; border-radius: 1.1rem;
  background: linear-gradient(135deg, #d4a93a, var(--ag));
  z-index: -1;
}
.about-mission-lead {
  color: var(--an); font-weight: 700; font-size: 1.15rem; margin: 0 0 0.75rem;
}
.about-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
@media (min-width: 640px) { .about-pillars { grid-template-columns: repeat(4, 1fr); } }
.about-pillar {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.1rem; box-shadow: 0 8px 22px rgba(8, 38, 74, 0.05);
}
.about-pillar-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 0.75rem;
  background: var(--ag-soft); color: var(--an);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 0.65rem;
}
.about-pillar h3 { font-size: 0.95rem; font-weight: 800; color: var(--an); margin: 0 0 0.3rem; }
.about-pillar p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* Program cards (education / vocational) */
.about-cards { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .about-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about-cards--5 { grid-template-columns: repeat(3, 1fr); } }
.about-card {
  background: #fff; border: 1px solid var(--line); border-radius: 1.1rem;
  padding: 1.35rem; box-shadow: 0 10px 26px rgba(8, 38, 74, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(8, 38, 74, 0.1); }
.about-card-icon {
  width: 2.9rem; height: 2.9rem; border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--an), #0d3a70);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 0.85rem;
}
.about-card--gold .about-card-icon { background: linear-gradient(135deg, #d4a93a, var(--ag)); }
.about-card h3 { font-size: 1rem; font-weight: 800; color: var(--an); margin: 0 0 0.4rem; }
.about-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* Card illustration (image variant, mirrors home "why" cards) */
.about-card--media {
  display: flex; flex-direction: column; padding-top: 0; overflow: hidden;
}
.about-card-media {
  margin: -1.35rem -1.35rem 1rem; height: 128px; overflow: hidden;
  background: linear-gradient(135deg, var(--ag-soft), #fff);
  display: flex; align-items: flex-end; justify-content: center;
}
.about-card-media img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
  padding: 0.6rem; filter: drop-shadow(0 8px 14px rgba(8, 38, 74, 0.12));
}
.about-card--media .about-card-icon { margin-bottom: 0.65rem; }

/* Presence split (institutional / local / international) */
.about-presence-grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .about-presence-grid { grid-template-columns: repeat(3, 1fr); } }
.about-presence-card {
  background: #fff; border: 1px solid var(--line); border-radius: 1.25rem;
  padding: 1.6rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.about-presence-card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--ag), var(--an));
}
.about-presence-media {
  height: 110px; margin: -1.6rem -1.6rem 1.1rem;
  background: linear-gradient(135deg, var(--paper), #fff);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.about-presence-media img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
  padding: 0.5rem; filter: drop-shadow(0 8px 14px rgba(8, 38, 74, 0.1));
}
.about-presence-icon {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--ag-soft); color: var(--an);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.about-presence-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 800; color: var(--ag);
  background: rgba(201, 154, 46, 0.12); padding: 0.2rem 0.7rem; border-radius: 999px;
  margin-bottom: 0.6rem;
}
.about-presence-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--an); margin: 0 0 0.55rem; }
.about-presence-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.8; margin: 0; }

/* Team & leadership */
.about-team-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .about-team-grid { grid-template-columns: 1.05fr 0.95fr; } }
.about-leader-card {
  background: #fff; border: 1px solid var(--line); border-radius: 1.4rem;
  box-shadow: var(--shadow); padding: 1.75rem; text-align: center;
}
.about-leader-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--an), #0d3a70);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; border: 3px solid var(--ag);
}
.about-leader-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--an); margin: 0 0 0.2rem; }
.about-leader-role { color: var(--ag); font-weight: 700; font-size: 0.85rem; margin: 0 0 0.85rem; }
.about-leader-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.8; margin: 0; }
.about-lang-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.1rem; }
.about-lang-chip {
  font-size: 0.78rem; font-weight: 700; color: var(--an);
  background: var(--paper); border: 1px solid var(--line);
  padding: 0.3rem 0.75rem; border-radius: 999px;
}

/* CTA */
.about-cta {
  position: relative;
  background: linear-gradient(120deg, var(--an-deep), var(--an) 60%, #0a3058);
  color: #fff; border-radius: 1.5rem; overflow: hidden;
  padding: clamp(2.25rem, 5vw, 3.25rem);
  text-align: center;
}
.about-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 85% 20%, rgba(201, 154, 46, 0.25), transparent 60%);
}
.about-cta-inner { position: relative; z-index: 1; max-width: 40rem; margin: 0 auto; }
.about-cta h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; margin: 0 0 0.75rem; }
.about-cta p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; line-height: 1.8; margin: 0 0 1.5rem; }
.about-cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #d4a93a, var(--ag));
  color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 0.75rem 1.75rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 24px rgba(201, 154, 46, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 154, 46, 0.45); }
