:root {
  --green-950: #022d24;
  --green-900: #064536;
  --green-800: #075943;
  --green-100: #dcebe2;
  --gold-500: #c99a36;
  --gold-300: #e6c779;
  --cream: #fbf7eb;
  --paper: #fffdf7;
  --ink: #17352c;
  --muted: #61746d;
  --border: rgba(6, 69, 54, .15);
  --shadow: 0 24px 70px rgba(2, 45, 36, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
html[dir="ltr"] body { font-family: "Segoe UI", Arial, sans-serif; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: -999px; z-index: 999; background: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { inset-inline-start: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 235, .91);
  border-bottom: 1px solid rgba(6, 69, 54, .1);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(1260px, calc(100% - 28px));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; color: var(--green-900); white-space: nowrap; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand span { display: none; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-inline: auto; }
.main-nav a { position: relative; text-decoration: none; font-size: .9rem; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 2px; background: var(--gold-500); transform: scaleX(0); transition: .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.language-switcher { display: flex; padding: 4px; gap: 2px; background: white; border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 8px 24px rgba(2, 45, 36, .06); direction: ltr; }
.language-button { border: 0; background: transparent; color: var(--muted); padding: 7px 11px; border-radius: 999px; font-size: .75rem; cursor: pointer; }
.language-button.active { background: var(--green-900); color: white; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--green-900); margin: 5px 0; }

.hero { position: relative; min-height: 760px; display: grid; align-items: center; color: white; background: radial-gradient(circle at 75% 18%, rgba(230, 199, 121, .13), transparent 24%), linear-gradient(135deg, var(--green-950), var(--green-800)); overflow: hidden; }
.hero-pattern { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(30deg, transparent 48%, var(--gold-300) 49%, transparent 51%), linear-gradient(-30deg, transparent 48%, var(--gold-300) 49%, transparent 51%); background-size: 52px 90px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; padding-block: 96px 120px; }
.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--gold-300); font-weight: 800; letter-spacing: .03em; }
.hero h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(2.7rem, 5vw, 5.3rem); line-height: 1.24; letter-spacing: -.035em; }
html[dir="ltr"] .hero h1, html[dir="ltr"] h2 { font-family: "Playfair Display", Georgia, serif; }
.hero-lead { max-width: 670px; margin: 0; color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 32px 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 24px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--green-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); box-shadow: 0 15px 34px rgba(201,154,54,.24); }
.button-ghost { color: white; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }
.button-outline { color: white; border-color: rgba(255,255,255,.28); background: transparent; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 640px; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-facts div { padding-inline: 18px; border-inline-start: 1px solid rgba(255,255,255,.14); }
.hero-facts div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hero-facts dt { color: var(--gold-300); font-size: .78rem; }
.hero-facts dd { margin: 2px 0 0; font-size: .93rem; font-weight: 700; }
.hero-visual { position: relative; max-width: 440px; justify-self: center; }
.arch-frame { position: relative; height: 600px; padding: 8px; border: 2px solid var(--gold-300); border-radius: 50% 50% 26px 26px / 28% 28% 26px 26px; background: rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.28); overflow: hidden; }
.arch-frame::before { content: ""; position: absolute; inset: 18px; z-index: 1; border: 1px solid rgba(255,255,255,.38); border-radius: inherit; pointer-events: none; }
.arch-frame { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 42px 28px 38px; background: radial-gradient(circle at 50% 30%, rgba(230,199,121,.16), transparent 30%), rgba(255,255,255,.055); }
.arch-frame img.official-emblem { width: 255px; height: 245px; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,.18)); }
.arch-frame img.official-banner { width: 100%; height: 190px; object-fit: cover; border: 1px solid rgba(230,199,121,.65); border-radius: 20px; box-shadow: 0 16px 38px rgba(0,0,0,.22); }
.letter-card { position: absolute; z-index: 2; display: grid; place-items: center; width: 60px; height: 68px; color: var(--green-900); background: var(--paper); border: 2px solid var(--gold-300); border-radius: 16px; font-size: 2rem; font-weight: 800; box-shadow: 0 12px 28px rgba(0,0,0,.18); animation: float 4s ease-in-out infinite; }
.letter-one { inset-inline-start: 20px; bottom: 34px; transform: rotate(-7deg); }
.letter-two { inset-inline-start: 86px; bottom: 12px; animation-delay: .5s; }
.letter-three { inset-inline-end: 22px; bottom: 28px; transform: rotate(7deg); animation-delay: 1s; }
.hero-seal { position: absolute; z-index: 4; inset-inline-end: -42px; top: 80px; display: grid; place-items: center; width: 118px; height: 118px; text-align: center; color: var(--green-950); background: var(--gold-300); border: 8px double var(--green-950); border-radius: 50%; transform: rotate(5deg); line-height: 1.25; }
.hero-seal span { font-size: .72rem; }.hero-seal strong { font-size: 1rem; }
.hero-wave { position: absolute; z-index: 3; left: -5%; right: -5%; bottom: -42px; height: 90px; background: var(--cream); border-radius: 50% 50% 0 0; }

.section { padding-block: 110px; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading h2, .quality h2, .contact h2 { margin: 0 0 16px; color: var(--green-950); font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.3; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-kicker { color: var(--gold-500); }
.section-heading.light h2, .section-heading.light p:last-child { color: white; }

.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { min-height: 270px; padding: 30px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 50px rgba(2,45,36,.06); transition: transform .25s ease, border-color .25s ease; }
.pillar:hover { transform: translateY(-7px); border-color: var(--gold-500); }
.pillar > span { display: inline-block; color: var(--gold-500); font-weight: 800; font-size: 1.25rem; }
.pillar h3 { margin: 24px 0 10px; color: var(--green-900); font-size: 1.12rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .92rem; }

.program { color: white; background: var(--green-950); position: relative; overflow: hidden; }
.program::before { content: ""; position: absolute; width: 640px; height: 640px; inset-inline-end: -310px; top: -310px; border: 1px solid rgba(230,199,121,.16); border-radius: 50%; box-shadow: 0 0 0 80px rgba(230,199,121,.03), 0 0 0 160px rgba(230,199,121,.025); }
.program-layout { position: relative; display: grid; grid-template-columns: 1.4fr .6fr; gap: 28px; align-items: stretch; }
.activities-banner { position: relative; margin: 0 0 34px; padding: 8px; background: linear-gradient(135deg, var(--gold-300), #8f6422); border-radius: 28px; box-shadow: 0 25px 60px rgba(0,0,0,.2); overflow: hidden; }
.activities-banner img { width: 100%; border-radius: 21px; }
.program-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.program-card { padding: 28px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; }
.program-icon { display: grid; place-items: center; width: 58px; height: 58px; color: var(--green-950); background: var(--gold-300); border-radius: 18px; font-weight: 900; }
.program-card h3 { margin: 22px 0 8px; font-size: 1.15rem; }.program-card p { margin: 0; color: rgba(255,255,255,.68); font-size: .91rem; }
.example-card { display: flex; flex-direction: column; justify-content: center; padding: 42px; color: var(--green-950); background: linear-gradient(160deg, #fffdf7, #f1dfb5); border-radius: 50% 50% 28px 28px / 18% 18% 28px 28px; box-shadow: var(--shadow); }
.quote-mark { color: var(--gold-500); font-size: 4.5rem; line-height: .8; }.example-card p { margin: 12px 0; }.example-old { color: #66776e; font-size: .9rem; }.example-new { font-weight: 800; font-size: 1.07rem; }.example-divider { width: 60px; height: 2px; margin-block: 8px; background: var(--gold-500); }.example-card small { margin-top: 18px; color: var(--green-800); font-weight: 800; }

.method-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; }
.method .section-heading { margin: 0; }
.path-panel { background: var(--paper); border: 1px solid var(--border); border-radius: 34px; box-shadow: var(--shadow); overflow: hidden; }
.path-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(6,69,54,.05); }
.path-tab { display: grid; gap: 5px; padding: 22px 10px; color: var(--muted); background: transparent; border: 0; border-bottom: 3px solid transparent; cursor: pointer; }
.path-tab span { font-size: .75rem; }.path-tab b { font-size: .94rem; }.path-tab.active { color: var(--green-900); background: white; border-color: var(--gold-500); }
.path-content { min-height: 260px; padding: 42px; }
.path-number { margin: 0; color: rgba(201,154,54,.28); font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; }
.path-content h3 { margin: 16px 0 12px; color: var(--green-900); font-size: 1.45rem; }.path-content p:last-child { margin: 0; color: var(--muted); }

.quality { background: #efe9d7; }
.quality-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.quality blockquote { margin: 28px 0; padding: 22px 26px; color: var(--green-950); background: rgba(255,255,255,.6); border-inline-start: 5px solid var(--gold-500); border-radius: 12px; font-size: 1.2rem; font-weight: 700; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-inline-start: 34px; color: #425a51; }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; display: grid; place-items: center; width: 23px; height: 23px; color: white; background: var(--green-800); border-radius: 50%; font-size: .72rem; }
.announcement-frame { margin: 0; position: relative; max-width: 410px; justify-self: center; padding: 12px; background: white; border: 1px solid rgba(201,154,54,.5); border-radius: 34px; box-shadow: var(--shadow); transform: rotate(-2deg); }
html[dir="ltr"] .announcement-frame { transform: rotate(2deg); }
.announcement-frame img { width: 100%; max-height: 630px; object-fit: cover; object-position: top; border-radius: 24px; }
.announcement-frame figcaption { position: absolute; inset-inline-start: 50%; bottom: 24px; transform: translateX(-50%); min-width: 70%; padding: 8px 16px; text-align: center; color: white; background: rgba(2,45,36,.92); border-radius: 999px; font-size: .78rem; }

.leadership { background: var(--paper); }
.leadership-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.leader-card { position: relative; min-height: 260px; padding: 40px; background: var(--cream); border: 1px solid var(--border); border-radius: 32px; overflow: hidden; }
.leader-card::after { content: ""; position: absolute; width: 190px; height: 190px; inset-inline-end: -70px; bottom: -90px; border: 1px solid var(--gold-500); border-radius: 50%; opacity: .3; }
.leader-card.featured { color: white; background: var(--green-900); }
.leader-monogram { display: grid; place-items: center; width: 58px; height: 58px; color: var(--green-950); background: var(--gold-300); border-radius: 50%; font-size: 1.35rem; font-weight: 800; }
.leader-card p { margin: 22px 0 2px; color: var(--gold-500); font-size: .85rem; font-weight: 800; }.leader-card h3 { margin: 0 0 10px; font-size: 1.4rem; }.leader-card span { color: var(--muted); }.leader-card.featured span { color: rgba(255,255,255,.68); }

.contact { padding-top: 30px; background: var(--paper); }
.contact-card { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding: 60px; color: white; background: radial-gradient(circle at 15% 0%, rgba(230,199,121,.18), transparent 30%), var(--green-950); border-radius: 42px; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 260px; height: 260px; inset-inline-end: -100px; top: -120px; border: 1px solid rgba(230,199,121,.3); border-radius: 50%; box-shadow: 0 0 0 45px rgba(230,199,121,.035), 0 0 0 90px rgba(230,199,121,.025); }
.contact h2 { color: white; }.contact-copy p:not(.section-kicker) { color: rgba(255,255,255,.7); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-details { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-details div { padding: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
.contact-details span { display: block; color: var(--gold-300); font-size: .78rem; }.contact-details strong, .contact-details a { display: block; margin-top: 4px; color: white; text-decoration: none; font-size: .9rem; }

footer { padding: 66px 0 22px; color: white; background: #001e18; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.footer-grid img { width: 92px; height: 92px; object-fit: contain; opacity: .95; }
.footer-grid p { margin: 0; }.footer-grid p span { display: block; color: rgba(255,255,255,.55); font-size: .82rem; }.footer-grid a { color: var(--gold-300); text-decoration: none; font-size: .86rem; }.copyright { margin: 34px 0 0; padding-top: 18px; text-align: center; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.08); font-size: .76rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .letter-card { animation: none; } }

@media (max-width: 1050px) {
  .main-nav { gap: 13px; }.main-nav a { font-size: .78rem; }.brand img { width: 92px; }.hero-grid { gap: 40px; }.pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 840px) {
  .nav-shell { flex-wrap: wrap; min-height: 70px; padding-block: 8px; }
  .brand { flex: 1; }.menu-toggle { display: block; }.language-switcher { order: 3; width: 100%; justify-content: center; }
  .main-nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }.main-nav.open { display: flex; }.main-nav a { padding: 10px 6px; }
  .hero { min-height: auto; }.hero-grid, .quality-grid, .method-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 76px 120px; }.hero-copy { text-align: center; }.hero-lead { margin-inline: auto; }.hero-actions { justify-content: center; }.hero-facts { margin-inline: auto; text-align: start; }
  .hero-visual { width: min(420px, 92%); }.arch-frame { height: 540px; }
  .program-layout { grid-template-columns: 1fr; }.example-card { border-radius: 32px; }
  .method-grid, .quality-grid { gap: 46px; }.announcement-frame { max-width: 360px; }
  .contact-card { gap: 34px; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 26px, 1180px); }.section { padding-block: 76px; }
  .brand img { width: 84px; height: 48px; }.brand span { display: none; }
  .language-button { flex: 1; padding-inline: 7px; }
  .hero h1 { font-size: 2.55rem; }.hero-grid { padding-top: 58px; }.hero-facts { grid-template-columns: 1fr; gap: 10px; }.hero-facts div { border: 0; padding: 0; display: flex; justify-content: space-between; }
  .arch-frame { height: 480px; }.hero-seal { width: 96px; height: 96px; inset-inline-end: -15px; }
  .pillars-grid, .program-cards, .leadership-grid, .contact-details { grid-template-columns: 1fr; }
  .pillar { min-height: auto; }.path-tabs { grid-template-columns: repeat(2, 1fr); }.path-content { padding: 28px; }
  .quality-grid { gap: 36px; }.contact-card { padding: 34px 24px; border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }.footer-grid img { margin-inline: auto; }
}
