:root {
  color-scheme: light;
  --navy: #0a1128;
  --ink: #172c35;
  --teal: #005f73;
  --deep: #073747;
  --mint: #94d2bd;
  --paper: #f7faf9;
  --white: #fff;
  --muted: #526671;
  --line: #dce7e8;
  --focus: #ee9b00;
  --shell: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 3px; }
img { max-width: 100%; display: block; }
figure, p, h1, h2, h3 { margin-block-start: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.13; letter-spacing: -.035em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.34; }
h2 { font-size: clamp(2.1rem, 4.1vw, 4.1rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.6rem); }
.shell { width: min(calc(100% - 3rem), var(--shell)); margin-inline: auto; }
.section-pad { padding-block: clamp(5rem, 9vw, 9rem); }
.section-kicker, .eyebrow, .item-label { color: var(--teal); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] .section-kicker, html[lang="ar"] .eyebrow, html[lang="ar"] .item-label { letter-spacing: 0; font-size: .9rem; }
.section-kicker { margin-block-end: 1.6rem; }
.small-note { color: var(--muted); font-size: .875rem; }
.skip-link { position: absolute; inset-inline-start: 1rem; inset-block-start: -5rem; z-index: 100; background: var(--deep); color: white; padding: .65rem 1rem; }
.skip-link:focus { inset-block-start: .8rem; }
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 2.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; font-family: Manrope, sans-serif; font-size: 1.75rem; font-weight: 800; letter-spacing: -.055em; line-height: 1; flex: none; }
.brand img { width: 38px; height: 38px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.15vw, 2rem); margin-inline: auto; }
.desktop-nav a, .header-login { font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.desktop-nav a { color: var(--muted); transition: color .2s ease; }
.desktop-nav a:hover, .text-link:hover, .footer a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.language-switch { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .55rem; line-height: 1; }
.language-switch a { padding: .35rem .3rem; color: var(--muted); text-decoration: none; font-size: .84rem; font-weight: 700; }
.language-switch span { display: inline-block; height: .9rem; border-inline-start: 1px solid var(--line); }
html[lang="ar"] .lang-ar, html[lang="en"] .lang-en { color: var(--teal); }
.header-login { background: var(--deep); color: var(--white); padding: .76rem 1.1rem; border-radius: .45rem; transition: background .2s ease, transform .2s ease; }
.header-login:hover { color: var(--white); background: var(--teal); transform: translateY(-2px); }
.mobile-menu { display: none; }
.hero { position: relative; background: #edf5f3; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 32rem; height: 32rem; border: 1px solid #d2e4e1; border-radius: 50%; inset-inline-start: -17rem; inset-block-end: -25rem; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: clamp(2rem, 5vw, 6rem); min-height: 760px; padding-block: 4.5rem; }
.hero-copy { padding-block: 2rem; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin-block-end: 2rem; }
.eyebrow-line { display: block; width: 2.25rem; height: 2px; background: var(--teal); }
h1 { font-size: clamp(3.6rem, 6.1vw, 6.8rem); font-weight: 800; margin-block-end: 2rem; }
h1 em { color: var(--teal); font-style: normal; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.8; max-width: 36rem; color: #344e57; margin-block-end: 2rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.7rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: .45rem; padding: .85rem 1.55rem; text-decoration: none; font-size: .96rem; font-weight: 800; line-height: 1.25; text-align: center; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--teal); color: white; box-shadow: 0 12px 24px #005f7326; }
.button-primary:hover { background: var(--deep); color: white; box-shadow: 0 16px 26px #005f7333; }
.button-light { background: var(--mint); color: var(--navy); }
.button-light:hover { background: #c7eadd; }
.button-outline { border: 1px solid var(--teal); color: var(--teal); }
.text-link { color: var(--deep); font-weight: 800; text-underline-offset: .3rem; text-decoration-thickness: 1px; }
.hero-visual { margin: 0; background: var(--deep); color: white; overflow: hidden; border-radius: .8rem; box-shadow: 0 30px 70px #052c3b22; align-self: stretch; display: flex; flex-direction: column; }
.visual-topline { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid #ffffff2a; font-size: .88rem; font-weight: 700; }
.visual-cross { font-size: 1.5rem; color: var(--mint); line-height: 1; }
.visual-stage { position: relative; flex: 1; min-height: 580px; display: flex; align-items: end; justify-content: center; overflow: hidden; }
.visual-halo { position: absolute; width: 125%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #94d2bd55; bottom: -72%; }
.visual-halo::before, .visual-halo::after { content: ""; position: absolute; border: 1px solid #94d2bd38; border-radius: 50%; inset: 9%; }
.visual-halo::after { inset: 20%; }
.visual-stage img { position: relative; z-index: 1; width: min(78%, 360px); height: auto; transform: translateY(8%); box-shadow: 0 14px 38px #00000050; border-radius: 1.8rem 1.8rem 0 0; }
.hero-visual figcaption { position: relative; z-index: 2; padding: .75rem 1.5rem 1rem; background: var(--deep); color: #cbe6e4; font-size: .8rem; line-height: 1.5; }
.manifesto { background: white; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 2.15fr; gap: 4rem; }
.manifesto h2 { max-width: 860px; margin-block-end: 2rem; }
.large-copy { font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.8; color: #37505a; max-width: 820px; }
.manifesto .small-note { border-inline-start: 3px solid var(--mint); padding-inline-start: 1.25rem; max-width: 760px; margin-block: 2.5rem 0; }
.learning { background: #f1f7f6; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 4rem; margin-block-end: 4rem; }
.split-heading h2 { max-width: 770px; margin: 0; }
.split-heading > p { max-width: 270px; color: var(--muted); margin: 0; }
.learning-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.learning-list { align-self: center; border-top: 1px solid #bfd4d4; }
.learning-item { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; padding-block: 2.2rem; border-bottom: 1px solid #bfd4d4; }
.learning-item .item-label { margin: .4rem 0 0; }
.learning-item h3 { margin-block-end: .65rem; }
.learning-item p:last-child { color: var(--muted); max-width: 370px; margin: 0; }
.learning-image { margin: 0; background: #d6eae6; border-radius: .65rem; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 2.5rem 1.5rem 0; }
.learning-image img { width: min(70%, 300px); max-height: 530px; object-fit: cover; object-position: top; border-radius: 1.3rem 1.3rem 0 0; box-shadow: 0 12px 35px #113b4a30; }
.learning-image figcaption { align-self: stretch; background: #d6eae6; color: #526671; font-size: .8rem; padding: .7rem; }
.course-section { background: white; }
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.course-copy h2 { max-width: 560px; margin-block-end: 1.7rem; }
.course-copy > p:not(.section-kicker) { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin-block-end: 2rem; }
.course-map { position: relative; padding: 3rem; background: #eef5f3; border-radius: .5rem; }
.course-map::before { content: ""; position: absolute; inset-block: 4.5rem; inset-inline-start: 4.35rem; width: 1px; background: #abcaca; }
.map-row { position: relative; display: flex; gap: 1.4rem; align-items: center; min-height: 74px; margin-block: .75rem; padding: .8rem 1.3rem; background: white; border: 1px solid #dce9e8; box-shadow: 0 8px 22px #0a112808; border-radius: .45rem; font-weight: 700; }
.map-row-2 { margin-inline-start: 1.2rem; }
.map-row-3 { margin-inline-start: 2.4rem; }
.map-row-4 { margin-inline-start: 3.6rem; }
.map-icon { color: var(--teal); font-size: 1.5rem; line-height: 1; }
.teacher-section { background: var(--deep); color: #e2f0ed; overflow: hidden; }
.teacher-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.teacher-copy .section-kicker, .final-cta .section-kicker { color: var(--mint); }
.teacher-copy h2, .final-cta h2 { color: white; margin-block-end: 1.6rem; }
.teacher-copy > p:not(.section-kicker) { font-size: 1.08rem; color: #c6dedc; }
.teacher-copy ul { padding-inline-start: 1.3rem; margin-block: 2rem; }
.teacher-copy li { margin-block: .7rem; padding-inline-start: .4rem; }
.teacher-copy li::marker { color: var(--mint); }
.teacher-art { position: relative; min-height: 500px; background: #0d4d5e; border: 1px solid #ffffff24; border-radius: .5rem; display: grid; place-items: center; }
.teacher-art::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid #94d2bd42; border-radius: 50%; }
.teacher-art-frame { position: relative; width: 72%; max-width: 380px; background: #f7faf9; border-radius: .5rem; padding: 1.5rem; box-shadow: 20px 22px 0 #062c39; transform: rotate(-3deg); }
.teacher-art-head { width: 28%; height: 11px; border-radius: 10px; background: var(--teal); margin-block-end: 1.7rem; }
.teacher-art-line { height: 7px; width: 60%; background: #d8e5e4; border-radius: 10px; margin-block: .8rem; }
.teacher-art-line.long { width: 90%; }
.teacher-art-block { display: flex; gap: .7rem; margin-block: 2rem; }
.teacher-art-block span { height: 85px; flex: 1; background: #deeeeb; border-radius: .3rem; }
.teacher-art-block span:nth-child(2) { background: #c7e2dc; }
.teacher-art-bottom { height: 13px; width: 45%; border-radius: 10px; background: var(--mint); }
.teacher-art-mark { position: absolute; inset-inline-end: 8%; inset-block-start: 9%; border-radius: 50%; background: var(--mint); color: var(--deep); width: 65px; height: 65px; display: grid; place-items: center; font: 800 2rem Manrope, sans-serif; }
.how-section { background: var(--paper); }
.how-section > .shell > h2 { max-width: 800px; margin-block-end: 3.5rem; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.how-grid article { padding: clamp(2rem, 4vw, 4rem); background: white; border-top: 3px solid var(--teal); min-height: 340px; }
.how-grid article:nth-child(2) { background: #e8f2ef; border-color: var(--mint); }
.how-glyph { color: var(--teal); font-size: 2.6rem; line-height: 1; margin-block-end: 1.8rem; }
.how-grid h3 { margin-block-end: 1rem; }
.how-grid p { color: var(--muted); max-width: 490px; }
.faq-section { background: white; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.45rem; color: var(--navy); font-size: 1.06rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--teal); font-size: 1.65rem; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details > p { color: var(--muted); margin-block: -.2rem 1.5rem; max-width: 600px; }
.final-cta { background: #063747; color: #d1e8e4; padding-block: clamp(4rem, 7vw, 7rem); }
.final-inner { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.final-inner h2 { max-width: 750px; }
.final-inner p:last-child { font-size: 1.12rem; }
.final-inner .button { flex: none; }
.contact-section { background: #e9f2f0; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-copy h2 { max-width: 560px; }
.contact-copy > p:not(.section-kicker) { font-size: 1.08rem; color: var(--muted); max-width: 500px; }
.whatsapp-cta { margin-block-start: 3rem; padding-block-start: 1.6rem; border-top: 1px solid #c7dbd8; display: flex; flex-direction: column; align-items: start; gap: .4rem; }
.whatsapp-cta span { color: var(--muted); }
.contact-form { background: white; border: 1px solid #d6e5e2; border-radius: .6rem; padding: clamp(1.5rem, 3vw, 3rem); box-shadow: 0 20px 50px #0637470d; }
.contact-form label { display: flex; flex-direction: column; gap: .45rem; font-weight: 700; font-size: .94rem; color: var(--navy); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form > label { margin-block-start: 1.2rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; border: 1px solid #bfd2d2; border-radius: .35rem; padding: .7rem .8rem; background: #fbfdfc; color: var(--navy); font-family: inherit; font-size: 1rem; font-weight: 500; line-height: 1.5; }
.contact-form textarea { resize: vertical; min-height: 136px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; background: white; }
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23005f73' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-inline-end: 2.4rem; }
html[dir="rtl"] .contact-form select { background-position: left .9rem center; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cf-turnstile { margin-block-start: 1.3rem; }
.form-privacy { font-size: .83rem; color: var(--muted); margin-block: 1.35rem; }
.form-pending { color: var(--muted); font-size: .88rem; margin-block: 0 1rem; }
.form-privacy a { color: var(--teal); }
.contact-form .button { border: 0; cursor: pointer; }
.contact-form .button:disabled { opacity: .65; cursor: wait; transform: none; }
.form-status { min-height: 1.5rem; margin-block: .9rem 0; font-size: .9rem; }
.form-status[data-kind="success"] { color: #047857; }
.form-status[data-kind="error"] { color: #b91c1c; }
.footer { background: #051e29; color: #afc6ca; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-block: 5rem; }
.footer .brand { color: white; }
.footer-tagline { color: var(--mint); font-weight: 700; margin-block: 1.4rem .5rem; }
.footer-grid > div > p:last-child { max-width: 320px; }
.footer nav { display: flex; flex-direction: column; align-items: start; gap: .7rem; }
.footer h2 { color: white; font-size: 1rem; margin-block-end: .7rem; }
.footer a { text-decoration: none; transition: color .2s ease; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid #ffffff24; padding-block: 1.5rem; font-size: .8rem; }
.gateway-page { min-height: 100svh; display: grid; place-items: center; padding: 1.5rem; background: #eaf4f1; }
.gateway-card { width: min(100%, 610px); background: white; padding: clamp(2rem, 6vw, 4rem); border-radius: .7rem; box-shadow: 0 25px 70px #07374718; }
.gateway-card img { margin-block-end: 2rem; }
.gateway-card h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.25; }
.gateway-card h1 span { display: block; color: var(--teal); font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; }
.gateway-card p:not(.section-kicker) { color: var(--muted); }
.gateway-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-block-start: 2rem; }
@media (max-width: 1080px) {
  .desktop-nav { gap: 1rem; }
  .header-inner { gap: 1.4rem; }
  .header-login { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; min-height: 690px; }
  h1 { font-size: clamp(3rem, 5.6vw, 5rem); }
  .learning-item { grid-template-columns: 100px 1fr; }
}
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .header-inner { min-height: 70px; }
  .brand { font-size: 1.55rem; }
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; margin-inline-start: auto; position: relative; }
  .mobile-menu summary { width: 44px; height: 44px; cursor: pointer; list-style: none; display: grid; align-content: center; justify-items: center; gap: 6px; border: 1px solid var(--line); border-radius: .35rem; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 18px; height: 2px; background: var(--deep); }
  .mobile-menu nav { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 1rem); width: min(290px, calc(100vw - 2rem)); background: white; border: 1px solid var(--line); padding: 1rem; box-shadow: 0 16px 35px #062c3922; display: flex; flex-direction: column; gap: .1rem; }
  .mobile-menu nav > a, .mobile-language a { display: block; padding: .6rem .75rem; text-decoration: none; font-weight: 700; }
  .mobile-language { display: flex; border-top: 1px solid var(--line); margin-block-start: .5rem; padding-block-start: .5rem; }
  .hero-grid, .manifesto-grid, .learning-layout, .course-grid, .teacher-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 4rem 0; gap: 3rem; }
  .hero-copy { padding: 0; }
  .hero-visual { max-width: 550px; width: 100%; margin-inline: auto; }
  .visual-stage { min-height: 480px; }
  .visual-stage img { width: min(70%, 300px); }
  h1 { font-size: clamp(2.9rem, 11vw, 5rem); }
  .manifesto-grid { gap: 1rem; }
  .split-heading { display: block; margin-block-end: 2.5rem; }
  .split-heading > p { max-width: 600px; margin-block-start: 1.5rem; }
  .learning-image { max-width: 560px; width: 100%; margin-inline: auto; }
  .course-map { padding: 2rem 1.2rem; }
  .teacher-art { min-height: 370px; }
  .teacher-copy { padding-block-start: .5rem; }
  .faq-grid { gap: 1.5rem; }
  .final-inner { display: block; }
  .final-inner .button { margin-block-start: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .section-pad { padding-block: 4.2rem; }
  .hero-grid { padding-block-start: 3.2rem; }
  .eyebrow { margin-block-end: 1.4rem; }
  h1 { font-size: clamp(2.45rem, 10.7vw, 3.3rem); margin-block-end: 1.4rem; }
  h2 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 1.2rem; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { text-align: center; }
  .visual-topline { padding: .9rem 1rem; }
  .visual-stage { min-height: 395px; }
  .visual-stage img { width: 70%; }
  .learning-item { grid-template-columns: 1fr; gap: .65rem; padding-block: 1.5rem; }
  .learning-item .item-label { margin: 0; }
  .course-map { padding: 1.3rem .9rem; }
  .map-row { font-size: .88rem; min-height: 65px; gap: .7rem; padding: .6rem; }
  .map-row-2 { margin-inline-start: .5rem; }
  .map-row-3 { margin-inline-start: 1rem; }
  .map-row-4 { margin-inline-start: 1.5rem; }
  .teacher-art { min-height: 290px; }
  .teacher-art-frame { padding: 1rem; }
  .teacher-art-block span { height: 52px; }
  .how-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .how-grid article { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > div { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-block: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
