:root {
  --green: #146b4a;
  --green-dark: #0d4534;
  --gold: #d6a33d;
  --ink: #20332d;
  --muted: #65756f;
  --line: #dde7e2;
  --soft: #f3f7f1;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(13, 69, 52, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.topbar {
  background: var(--green-dark);
  color: #dceee8;
  font-size: 14px;
}
.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.brand__mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 800;
}
.brand strong { display: block; font-size: 20px; }
.brand small { display: block; color: var(--muted); margin-top: -4px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}
.lang-switch a {
  min-width: 34px;
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
}
.lang-switch a.active {
  color: var(--white);
  background: var(--green);
}
.nav__toggle {
  display: none;
  border: 0;
  background: var(--green);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--gold);
  color: #1c251f;
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(214, 163, 61, .25);
}
.btn--light {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: none;
}
.btn--sm {
  min-height: 40px;
  padding-inline: 16px;
}

.hero {
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.84) 52%, rgba(255,255,255,.96));
}
.hero__content {
  position: relative;
  padding: 80px 0 120px;
}
.eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0;
}
.hero h1 {
  max-width: 720px;
  margin: 12px 0 18px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.15;
  color: var(--green-dark);
}
.hero p {
  max-width: 620px;
  color: #3d514a;
  font-size: 20px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.stats {
  margin-top: -64px;
  position: relative;
  z-index: 2;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat {
  padding: 28px 22px;
  text-align: center;
  border-inline-start: 1px solid var(--line);
}
.stat:first-child { border-inline-start: 0; }
.stat strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1.2;
}
.stat span { color: var(--muted); font-weight: 700; }

.section { padding: 92px 0; }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}
.section h2,
.section__head h2,
.cta h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  color: var(--green-dark);
}
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.split__text p {
  color: var(--muted);
  font-size: 18px;
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.text-link {
  color: var(--green);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 70%, rgba(255, 125, 35, .08), transparent 10%),
    linear-gradient(90deg, #0d7183 0%, #106f86 44%, #075a73 100%);
  color: var(--white);
  padding: 76px 0 66px;
  box-shadow: inset 0 24px 32px rgba(255,255,255,.16), inset 0 -28px 36px rgba(0,0,0,.2);
}

.about .container {
  width: min(1280px, calc(100% - 64px));
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 112px 112px;
  opacity: .42;
  animation: gridDrift 18s linear infinite;
}

.about::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 48px;
  background: linear-gradient(0deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}

.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(520px, .96fr) minmax(520px, 1.04fr);
  gap: 58px;
  align-items: center;
}

.about-copy {
  max-width: 650px;
  order: 2;
  text-align: right;
  justify-self: start;
}

.about-copy h2 {
  color: var(--white);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  margin: 24px 0 28px;
}

.about-copy h2::after {
  content: "";
  display: block;
  width: 168px;
  height: 5px;
  margin: 22px auto 0;
  border-radius: 999px;
  background:
    radial-gradient(circle, #ff7b29 0 4px, transparent 5px) center / 32px 100% no-repeat,
    linear-gradient(90deg, #ff7b29, rgba(255,123,41,0)) right / 72px 3px no-repeat,
    linear-gradient(90deg, rgba(255,123,41,0), #ff7b29) left / 72px 3px no-repeat;
  animation: linePulse 2.8s ease-in-out infinite;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #dff6fb;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.about-pill::after {
  content: "✦";
  color: #ff7b29;
  animation: twinkle 1.8s ease-in-out infinite;
}

.about-copy__box {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  padding: 28px 34px 30px;
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
}

.about-copy__box p {
  margin: 0 0 26px;
  color: #e9f8fb;
  font-size: 20px;
  line-height: 1.9;
  text-align: center;
}

.about-copy__box .btn {
  background: #ff7b29;
  color: var(--white);
  box-shadow: 0 14px 28px rgba(255, 123, 41, .28);
}

.about-visual {
  min-height: 404px;
  position: relative;
  order: 1;
  justify-self: end;
  width: min(100%, 625px);
}

.about-visual__frame {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 70px 34px 34px;
  min-height: 404px;
  border: 1px solid rgba(255, 123, 41, .46);
  border-radius: 28px;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.04), 0 26px 70px rgba(0,0,0,.15);
  animation: frameFloat 6s ease-in-out infinite;
}

.about-visual__frame::before,
.about-visual__frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  pointer-events: none;
}

.about-visual__frame::after {
  inset: 20px;
  border-color: rgba(255, 123, 41, .3);
}

.about-visual__badge {
  position: absolute;
  z-index: 2;
  top: -34px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ff7b29;
  color: var(--white);
  font-size: 38px;
  font-weight: 900;
  box-shadow: 0 20px 35px rgba(255, 123, 41, .28);
  animation: badgeBob 3.4s ease-in-out infinite;
}

[dir="ltr"] .about-visual__badge {
  transform: translateX(-50%);
  animation-name: badgeBobLtr;
}

.about-mini {
  position: relative;
  z-index: 1;
  min-height: 118px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  color: var(--white);
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: cardFloat 5s ease-in-out infinite;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.about-mini:nth-child(2) { animation-delay: .45s; }
.about-mini:nth-child(3) { animation-delay: .9s; }
.about-mini:nth-child(4) { animation-delay: 1.35s; }

.about-mini::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(120%);
  animation: sheen 5.5s ease-in-out infinite;
}

[dir="ltr"] .about-mini::after {
  transform: translateX(-120%);
}

.about-mini span {
  color: #c8e8ef;
  font-weight: 800;
  margin-bottom: 5px;
  text-align: right;
  font-size: 15px;
}

.about-mini strong {
  font-size: clamp(21px, 1.75vw, 26px);
  font-weight: 900;
  line-height: 1.22;
  text-align: right;
}

.about-mini small {
  margin-top: 4px;
  color: #d8eef4;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  font-size: 13px;
}

.about-visual__spark,
.about-shape {
  position: absolute;
  pointer-events: none;
}

.about-visual__spark {
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  animation: orbDrift 4.5s ease-in-out infinite;
}

.about-visual__spark--one {
  inset-inline-start: 1%;
  top: 24%;
  background: rgba(255, 123, 41, .7);
}

.about-visual__spark--two {
  inset-inline-end: 1%;
  bottom: 28%;
  animation-delay: 1.1s;
}

.about-shape--diamond {
  width: 178px;
  height: 178px;
  inset-inline-end: 5%;
  top: 14%;
  border: 3px solid rgba(255,255,255,.11);
  transform: rotate(45deg);
  animation: diamondFloat 9s ease-in-out infinite;
}

.about-shape--ring {
  width: 124px;
  height: 124px;
  inset-inline-start: 5%;
  bottom: 10%;
  border: 3px solid rgba(255, 123, 41, .2);
  border-radius: 50%;
  animation: ringPulse 4s ease-in-out infinite;
}

.about-shape--dot {
  width: 10px;
  height: 10px;
  inset-inline-start: 47%;
  top: 28%;
  border-radius: 50%;
  background: #ff7b29;
  box-shadow: 0 0 0 12px rgba(255, 123, 41, .08);
  animation: dotHop 2.4s ease-in-out infinite;
}

.programs { background: var(--soft); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.program-card,
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.program-card { padding: 28px; }
.program-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #e6f0eb;
  color: var(--green);
  border-radius: 8px;
  font-size: 28px;
  font-weight: 900;
}
.program-card h3,
.news-card h3 {
  color: var(--green-dark);
  margin-bottom: 6px;
}
.program-card p,
.news-card p { color: var(--muted); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(23, 52, 43, .08);
}
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.news-card__body { padding: 22px; }
.news-card time,
.article time {
  color: var(--gold);
  font-weight: 800;
}

.cta {
  background: var(--green);
  color: var(--white);
  padding: 56px 0;
}
.cta__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.cta h2 { color: var(--white); }

.footer {
  background: #102c23;
  color: #d9e6e1;
  padding-top: 54px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 42px;
}
.footer h3,
.footer h4 { color: var(--white); }
.footer a { display: block; margin-bottom: 8px; }
.footer__bottom {
  margin-top: 42px;
  padding: 18px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
}

.article__hero {
  background: var(--soft);
  padding: 72px 0;
}
.article__hero h1 {
  max-width: 860px;
  margin: 10px 0;
  color: var(--green-dark);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
}
.article__hero p { color: var(--muted); font-size: 19px; max-width: 760px; }
.article__body {
  padding: 54px 0 90px;
  max-width: 920px;
}
.article__body img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 28px;
}
.prose {
  font-size: 19px;
  color: #344942;
}
.page-news {
  margin-top: 38px;
}

[dir="ltr"] .topbar__inner,
[dir="ltr"] .nav__inner,
[dir="ltr"] .hero__actions,
[dir="ltr"] .section__head,
[dir="ltr"] .cta__inner {
  direction: ltr;
}

[dir="ltr"] .hero__overlay {
  background: linear-gradient(270deg, rgba(255,255,255,.06), rgba(255,255,255,.84) 52%, rgba(255,255,255,.96));
}

[dir="ltr"] .stat {
  border-inline-start: 0;
  border-inline-end: 1px solid var(--line);
}

[dir="ltr"] .stat:last-child {
  border-inline-end: 0;
}

[dir="ltr"] .about-copy {
  order: 1;
  text-align: left;
}

[dir="ltr"] .about-visual {
  order: 2;
}

[dir="ltr"] .about-mini span,
[dir="ltr"] .about-mini strong,
[dir="ltr"] .about-mini small {
  text-align: left;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 88px 88px, 88px 88px; }
}

@keyframes frameFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes badgeBob {
  0%, 100% { transform: translate(50%, 0) scale(1); }
  50% { transform: translate(50%, -10px) scale(1.04); }
}

@keyframes badgeBobLtr {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, -10px) scale(1.04); }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes sheen {
  0%, 45% { transform: translateX(120%); }
  68%, 100% { transform: translateX(-120%); }
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0); opacity: .65; }
  50% { transform: translate(10px, -16px); opacity: 1; }
}

@keyframes diamondFloat {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(16px, -12px); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.12); opacity: .9; }
}

@keyframes dotHop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes linePulse {
  0%, 100% { opacity: .82; transform: scaleX(.94); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes twinkle {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: .75; }
  50% { transform: rotate(24deg) scale(1.18); opacity: 1; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    inset-inline: 16px;
    top: 88px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav__links.is-open { display: flex; }
  .hero { min-height: 560px; background-position: 38% center; }
  .hero__overlay { background: rgba(255,255,255,.88); }
  .stats__grid,
  .cards,
  .news-grid,
  .footer__grid,
  .about__grid,
  .split {
    grid-template-columns: 1fr;
  }
  .about {
    padding: 74px 0;
  }
  .about .container {
    width: min(1120px, calc(100% - 32px));
  }
  .about__grid {
    gap: 36px;
  }
  .about-visual {
    min-height: auto;
    order: 2;
  }
  .about-copy,
  [dir="ltr"] .about-copy {
    order: 1;
    text-align: inherit;
  }
  [dir="ltr"] .about-visual {
    order: 2;
  }
  .about-visual__frame {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 64px 22px 24px;
  }
  .about-mini {
    min-height: 132px;
  }
  .about-copy__box {
    padding: 22px;
  }
  .about-copy__box p {
    font-size: 18px;
  }
  .about-shape--diamond {
    width: 110px;
    height: 110px;
    opacity: .7;
  }
  .stat { border-inline-start: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .section__head,
  .cta__inner { display: block; }
  .cta .btn { margin-top: 22px; }
}

@media (max-width: 560px) {
  .about-visual__frame {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
