@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  --navy: #133459;
  --wine: #73262e;
  --peach: #fbc1b0;
  --sage: #aac0be;
  --slate: #464a5a;
  --paper: #fcfaf5;
  --line: #dfded6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 17px/1.75 "IBM Plex Sans Arabic", Tahoma, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--wine); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(2.1rem, 4.7vw, 3.65rem); line-height: 1.18; text-wrap: balance; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
header { position: relative; z-index: 2; }
.bar { min-height: 103px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: 103px; height: auto; }
nav { display: flex; gap: clamp(18px, 3vw, 44px); font-weight: 600; }
nav a:hover, .text-link:hover, footer a:hover { color: var(--wine); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 13px 24px; border-radius: 100px; background: var(--wine); color: white; font-weight: 700; white-space: nowrap; transition: background .2s; }
.button:hover { background: var(--navy); }
.button.small { padding: 8px 18px; border: 1px solid var(--navy); background: transparent; color: var(--navy); font-size: .92rem; }
.button.small:hover { background: var(--navy); color: white; }
.hero-stage { background: linear-gradient(180deg, var(--paper) 0%, #f2eae1 100%); }
.hero { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(38px, 6.5vw, 99px); padding-block: 60px 94px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--wine); font-weight: 700; font-size: .94rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--wine); border-radius: 50%; }
h1 { font-size: clamp(3.3rem, 6.4vw, 6.3rem); font-weight: 700; line-height: 1.07; letter-spacing: -.045em; }
h1 em { color: var(--wine); font-style: normal; }
.lede, .section-copy { color: var(--slate); font-size: 1.12rem; margin-top: 21px; max-width: 470px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.hero figure { position: relative; isolation: isolate; }
.hero figure::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border-radius: 47% 47% 26px 26px / 33% 33% 26px 26px; background: var(--sage); z-index: -1; }
.hero figure::after { content: "✦"; position: absolute; inset-block-start: 1%; inset-inline-end: 3%; color: var(--wine); font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 1.04; object-fit: cover; border-radius: 47% 47% 26px 26px / 33% 33% 26px 26px; }
.hero figcaption { position: absolute; inset-inline-start: -26px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 6px 17px; border-radius: 14px; background: var(--peach); color: var(--wine); font-weight: 700; box-shadow: 0 10px 23px #13345922; }
.hero figcaption strong { font-size: 2rem; }
.strip { background: var(--navy); color: white; }
.strip .wrap { display: flex; align-items: center; justify-content: space-around; gap: 14px; padding-block: 15px; font-weight: 600; }
.strip b { color: var(--peach); }
.section { padding-block: 86px; }
.method > div:first-child { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 34px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps article { padding: 27px; border-radius: 23px; background: #e5eeeb; }
.steps article:nth-child(2) { background: #fae6dd; }
.steps article:nth-child(3) { background: #e9edf2; }
.steps .symbol { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 16px; border-radius: 50%; background: white; font-size: 1.4rem; line-height: 1; }
.steps h3 { font-size: 1.35rem; margin-bottom: 6px; }
.steps p, .faq details p, .levels p, .levels ul { color: var(--slate); }
.curriculum { background: #edf1ee; }
.curriculum .section { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(30px, 7vw, 90px); align-items: start; }
.levels { display: grid; gap: 10px; }
.levels details { background: var(--paper); border-radius: 18px; padding-inline: 22px; }
summary { list-style: none; cursor: pointer; padding-block: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 33px; height: 33px; text-align: center; border-radius: 50%; background: #e7eeec; color: var(--navy); font: 600 24px/32px Tahoma, sans-serif; }
details[open] > summary::after { content: "−"; background: var(--sage); }
summary small { display: inline-block; margin-inline-start: 12px; color: var(--slate); font-weight: 500; }
.levels p, .levels ul, .faq details p { margin: 0; padding-bottom: 17px; }
.levels ul { padding-inline-start: 20px; }
.chips { display: grid; grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); gap: 8px; list-style: none; padding: 0 0 18px; margin: 0; }
.chips li { background: #e7eeec; border-radius: 8px; padding: 5px 8px; text-align: center; font-size: .88rem; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; }
.faq details { border-bottom: 1px solid var(--line); }
.contact { overflow: hidden; position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 28px; background: var(--peach); padding: 38px 44px; }
.contact::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; border: 1px solid #73262e44; border-radius: 50%; inset-inline-end: -45px; bottom: -135px; box-shadow: 0 0 0 18px #fbc1b0, 0 0 0 19px #73262e44, 0 0 0 37px #fbc1b0, 0 0 0 38px #73262e44; }
.contact h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.contact p { margin-top: 8px; }
footer { padding-block: 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
footer .brand img { width: 75px; }
footer > a:last-child { color: var(--slate); }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 30px; padding-block: 44px 60px; }
  .hero figcaption { inset-inline-start: -10px; }
  .steps article { padding: 19px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .bar { flex-wrap: wrap; min-height: auto; padding-block: 8px 14px; gap: 7px 12px; }
  .brand img { width: 83px; }
  nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 8px 21px; font-size: .87rem; }
  .hero, .steps, .curriculum .section, .faq { grid-template-columns: 1fr; }
  .hero { gap: 34px; padding-block: 33px 45px; }
  .hero figure { margin-inline: 11px; }
  .hero img { aspect-ratio: 1.19; }
  .actions { gap: 13px; }
  .button { padding-inline: 16px; }
  .strip .wrap { gap: 7px; font-size: .77rem; text-align: center; }
  .section { padding-block: 53px; }
  .steps { gap: 10px; }
  .faq { gap: 14px; }
  .contact { flex-direction: column; align-items: flex-start; padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.language { font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.language:hover { color: var(--wine); }
@media (max-width: 850px) {
  .bar { flex-wrap: wrap; padding-block: 8px 14px; }
  nav { order: 3; width: 100%; justify-content: center; }
}
@media (max-width: 650px) {
  .header-actions { gap: 8px; }
  .header-actions .small { padding-inline: 11px; }
}
