/* ATCODEX SCHOOL - the opening page (/) and the learning programs page (/programs/).
   Bilingual: every text has an Arabic and an English copy (data-l="ar" / data-l="en"); site-lang.js picks one
   and sets lang/dir on <html>. Without JavaScript the Arabic copy shows. Motion only when the visitor allows it. */
@font-face { font-family: Cairo; src: url('/assets/cairo-variable.woff2') format('woff2'); font-style: normal; font-weight: 200 1000; font-display: swap; }
:root {
  --bg: #030b1b; --bg2: #061632; --text: #f2f7ff; --muted: #94a6c2; --soft: #c4d4ea; --line: rgba(140, 179, 235, .16);
  --blue: #408dff; --cyan: #70d8ff; --gold: #f3c77a; --gold2: #e6a83f;
  color-scheme: dark; font-family: Cairo, Arial, sans-serif; font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.8; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; border-radius: 8px; }
[hidden] { display: none !important; }
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }
.skip-link { position: fixed; top: -100px; inset-inline-start: 20px; padding: 10px 18px; background: var(--blue); border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }

/* ---------- header ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 20; height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 4.4%; border-bottom: 1px solid var(--line); }
.top-brand { display: flex; align-items: center; gap: 12px; direction: ltr; font: 800 20px/1.05 Arial, sans-serif; letter-spacing: 1.2px; }
.top-brand img { width: 44px; height: 44px; border-radius: 12px; }
.top-brand small { display: block; margin-top: 7px; font-size: 8px; font-weight: 500; letter-spacing: 4px; color: #b5cdec; }
.top-nav { display: flex; gap: 30px; font-size: 14px; color: #aebdd4; }
.top-nav a { transition: color .2s; } .top-nav a:hover, .top-nav a[aria-current="page"] { color: #fff; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #365a86; background: #10264a80; font-size: 14px; font-weight: 600; color: #dbe9ff; transition: background .2s, border-color .2s; }
.lang-toggle:hover { background: #18386a; border-color: #5f8fd0; }
.lang-toggle svg { width: 17px; height: 17px; color: var(--cyan); }
.top-cta { height: 40px; display: flex; align-items: center; padding: 0 18px; border-radius: 999px; background: linear-gradient(135deg, #f7d58e, var(--gold2)); color: #1d1405; font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px #e6a83f33; transition: transform .2s, box-shadow .2s; }
.top-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px #e6a83f55; }

/* ---------- night sky behind both pages ---------- */
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, #17407e70, transparent 70%), radial-gradient(ellipse 50% 40% at 85% 35%, #e6a83f1c, transparent 70%),
    radial-gradient(ellipse 50% 45% at 10% 60%, #2a6dff22, transparent 70%), linear-gradient(180deg, #050f24 0%, #030b1b 70%); }
.sky::before, .sky::after { content: ''; position: absolute; inset: -50%; background-repeat: repeat; }
.sky::before { background-image: radial-gradient(1.5px 1.5px at 20px 30px, #fff9, transparent 60%), radial-gradient(1px 1px at 140px 90px, #cfe6ffb0, transparent 60%), radial-gradient(1.2px 1.2px at 260px 40px, #fff8, transparent 60%), radial-gradient(1px 1px at 330px 160px, #9fd2ff99, transparent 60%), radial-gradient(1.6px 1.6px at 90px 210px, #fffa, transparent 60%); background-size: 380px 260px; opacity: .55; }
.sky::after { background-image: radial-gradient(2px 2px at 60px 80px, #ffe7b4cc, transparent 60%), radial-gradient(1.4px 1.4px at 300px 200px, #fff, transparent 60%), radial-gradient(1.2px 1.2px at 480px 60px, #bfe3ffcc, transparent 60%); background-size: 560px 340px; opacity: .45; }
.glow-line { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: linear-gradient(transparent, #70d8ff33, transparent); }

/* ---------- opening page ---------- */
.home-hero { position: relative; isolation: isolate; min-height: 100svh; padding: 106px 0 56px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.home-hero .home-brand { width: min(270px, 60%); margin: 0 auto; }
.home-title { margin: 4px 0 0; font: 800 clamp(34px, 4.6vw, 62px)/1.05 Arial, sans-serif; letter-spacing: clamp(3px, .6vw, 8px); direction: ltr;
  background: linear-gradient(100deg, #ffffff 0%, #d8ecff 40%, #8fdcff 62%, #f3c77a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home-title span { display: block; margin-top: 10px; font-size: .22em; font-weight: 600; letter-spacing: .9em; -webkit-text-fill-color: #9fb9da; }
.home-lead { max-width: 780px; margin: 14px auto 0; color: var(--soft); font-size: clamp(15px, 1.35vw, 17.5px); line-height: 1.95; }

.doors { width: min(1180px, calc(100% - 64px)); margin: 30px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; direction: ltr; }
.door { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 430px; border-radius: 30px; overflow: hidden; text-align: start;
  background: linear-gradient(160deg, #0f2a52f0, #071731f5 55%, #061226); border: 1px solid #4f7fbf40; box-shadow: 0 30px 70px #0006, inset 0 1px 0 #ffffff14;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .45s; }
.door > * { direction: rtl; } html[lang="en"] .door > * { direction: ltr; }
.door::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .9; transition: opacity .45s; background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--door-glow), transparent 70%); }
.door-school { --door-glow: #2f7bff38; --door-accent: #8fd3ff; }
.door-learn { --door-glow: #f3b84a30; --door-accent: #ffd38a; }
.door:hover { transform: translateY(-8px); border-color: #8fc8ff80; box-shadow: 0 40px 90px #0008, 0 0 60px var(--door-glow); }
.door:hover::before { opacity: 1; }
/* the picture stays inside its band and fades into the card, so the words below never sit on it */
.door { --art-h: 330px; }
.door-art { position: relative; height: var(--art-h); perspective: 1100px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 64%, transparent 100%); mask-image: linear-gradient(180deg, #000 64%, transparent 100%); }
.door-body { position: relative; padding: 4px 34px 32px; display: flex; flex-direction: column; flex: 1; }
.door-kicker { align-self: flex-start; padding: 4px 12px; border-radius: 999px; border: 1px solid #ffffff22; background: #ffffff0d; font: 600 11px Arial, sans-serif; letter-spacing: 2px; color: var(--door-accent); direction: ltr; }
.door h2 { margin: 14px 0 6px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.4; font-weight: 750; }
.door p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.95; max-width: 470px; }
.door-cta { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--door-accent); font-size: 16px; }
.door-cta i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #ffffff12; border: 1px solid #ffffff26; font-style: normal; font-size: 20px; transition: transform .35s, background .35s; }
.door-cta i::after { content: '←'; } html[lang="en"] .door-cta i::after { content: '→'; }
.door:hover .door-cta i { background: var(--door-accent); color: #0a1a33; transform: translateX(-6px); }
html[lang="en"] .door:hover .door-cta i { transform: translateX(6px); }

/* management: the real dashboard in a tilted window */
.door-window { position: absolute; left: 50%; top: 34px; width: 84%; translate: -50% 0; border-radius: 14px; overflow: hidden; background: #0a1730; border: 1px solid #6fa2e04d;
  box-shadow: 0 30px 60px #000a, 0 0 0 6px #ffffff08; transform: rotateX(16deg) rotateY(-10deg) rotateZ(2deg); transform-origin: 50% 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.door-window .bar { height: 22px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #0d1d3b; border-bottom: 1px solid #6fa2e026; direction: ltr; }
.door-window .bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; } .door-window .bar i:nth-child(2) { background: #ffc94d; } .door-window .bar i:nth-child(3) { background: #4fd18b; }
.door-window img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: 100% 0; } /* the Arabic dashboard: its menu and the totals */
.door-school:hover .door-window { transform: rotateX(6deg) rotateY(-3deg) rotateZ(0deg) translateY(-6px); }
/* the management card shows the whole login screen of the program: no tilt, no crop, no fade */
.door-school .door-art { -webkit-mask-image: none; mask-image: none; }
.door-window.door-login { top: 16px; width: min(90%, calc((var(--art-h) - 28px) * 1.598)); transform: none; border-radius: 12px; box-shadow: 0 24px 50px #0008; } /* a plain frame, sized by the band height, so the whole screen always shows */
.door-window.door-login img { aspect-ratio: 1282 / 802; object-fit: contain; }
.door-school:hover .door-window.door-login { transform: translateY(-6px); }

/* programs: the four programs fanned like cards */
.fan { position: absolute; inset: 22px 0 0; direction: ltr; }
.fan figure { position: absolute; left: 50%; top: 18px; width: 54%; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid #ffffff2a; background: #0b1730;
  box-shadow: 0 22px 44px #000a; transform-origin: 50% 120%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.fan figure img { width: 100%; aspect-ratio: 16 / 8.6; object-fit: cover; object-position: top; }
.fan figure b { position: absolute; left: 8px; top: 8px; width: 34px; height: 34px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px #0007; }
.fan figure b img { width: 100%; height: 100%; aspect-ratio: auto; }
.fan figure:nth-child(1) { transform: translateX(-50%) translateX(-34%) rotate(-12deg); z-index: 1; }
.fan figure:nth-child(2) { transform: translateX(-50%) translateX(-11%) rotate(-4deg) translateY(-6px); z-index: 2; }
.fan figure:nth-child(3) { transform: translateX(-50%) translateX(12%) rotate(4deg) translateY(-6px); z-index: 3; }
.fan figure:nth-child(4) { transform: translateX(-50%) translateX(35%) rotate(12deg); z-index: 4; }
.door-learn:hover .fan figure:nth-child(1) { transform: translateX(-50%) translateX(-48%) rotate(-16deg) translateY(-4px); }
.door-learn:hover .fan figure:nth-child(2) { transform: translateX(-50%) translateX(-17%) rotate(-5deg) translateY(-14px); }
.door-learn:hover .fan figure:nth-child(3) { transform: translateX(-50%) translateX(18%) rotate(5deg) translateY(-14px); }
.door-learn:hover .fan figure:nth-child(4) { transform: translateX(-50%) translateX(49%) rotate(16deg) translateY(-4px); }
.door-icons { display: flex; gap: 8px; margin-top: 16px; direction: ltr; }
.door-icons img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 14px #0006; transition: transform .3s; }
.door-learn:hover .door-icons img { transform: translateY(-3px); }
.door-learn:hover .door-icons img:nth-child(2) { transition-delay: .05s; } .door-learn:hover .door-icons img:nth-child(3) { transition-delay: .1s; } .door-learn:hover .door-icons img:nth-child(4) { transition-delay: .15s; }

.home-strip { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: #7f97b8; font-size: 14px; }
.home-strip span { display: flex; align-items: center; gap: 8px; }
.home-strip i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ---------- learning programs page ---------- */
.programs-hero { position: relative; isolation: isolate; padding: 150px 0 56px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px; border-radius: 999px; border: 1px solid #ffffff22; background: #ffffff0a; color: var(--gold); font: 700 12px Arial, sans-serif; letter-spacing: 3px; direction: ltr; }
.programs-hero h1 { margin: 18px 0 8px; font-size: clamp(38px, 5vw, 66px); line-height: 1.3; font-weight: 800; letter-spacing: -.5px; }
.programs-hero h1 em { font-style: normal; background: linear-gradient(100deg, #8fdcff, #f3c77a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.programs-hero p { max-width: 760px; margin: 0 auto; color: var(--soft); font-size: clamp(15px, 1.4vw, 18px); line-height: 2; }
.jump { margin: 34px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.jump a { display: flex; align-items: center; gap: 12px; padding: 9px 20px 9px 9px; border-radius: 18px; background: #0d2142cc; border: 1px solid #ffffff1c; box-shadow: 0 10px 26px #0005; font-weight: 700; transition: transform .25s, border-color .25s, background .25s; }
html[dir="rtl"] .jump a { padding: 9px 9px 9px 20px; }
.jump a:hover { transform: translateY(-4px); border-color: var(--c, #8fc8ff); background: #12305e; }
.jump img { width: 46px; height: 46px; border-radius: 13px; }
.jump small { display: block; font: 600 10px Arial, sans-serif; letter-spacing: 1.5px; color: var(--muted); direction: ltr; }

.prog { position: relative; isolation: isolate; padding: 70px 0; }

.prog + .prog { border-top: 1px solid var(--line); }
.prog-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: 64px; align-items: center; }
.prog.flip .prog-media { order: 2; }
.prog-media { position: relative; isolation: isolate; }
.prog-media::before { content: ''; position: absolute; inset: -22% -12%; z-index: -1; background: radial-gradient(closest-side, var(--glow), transparent); } /* the program colour glows behind its screen */
.prog-frame { position: relative; border-radius: 22px; overflow: hidden; background: #0b1730; border: 1px solid #ffffff26; box-shadow: 0 40px 80px #0009, 0 0 0 8px #ffffff07, 0 0 80px var(--glow); }
.prog-frame .bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #0f1f3d; border-bottom: 1px solid #ffffff14; direction: ltr; font: 600 11px Arial, sans-serif; letter-spacing: 1px; color: #9fb5d6; }
.prog-frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; } .prog-frame .bar i:nth-child(2) { background: #ffc94d; } .prog-frame .bar i:nth-child(3) { background: #4fd18b; margin-inline-end: 8px; }
.prog-frame img { width: 100%; height: auto; }
.prog-badge { position: absolute; inset-inline-start: -22px; bottom: -26px; width: 104px; height: 104px; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 40px #000a, 0 0 0 6px #030b1b; }
.prog-copy .brandline { display: flex; align-items: center; gap: 12px; direction: ltr; font: 800 13px Arial, sans-serif; letter-spacing: 3px; color: var(--c); }
html[dir="rtl"] .prog-copy .brandline { justify-content: flex-start; flex-direction: row-reverse; }
.prog-copy .brandline img { width: 40px; height: 40px; border-radius: 11px; }
.prog-copy h2 { margin: 12px 0 2px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.3; font-weight: 800; }
.prog-copy .tagline { margin: 0 0 12px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; background: linear-gradient(100deg, var(--c), var(--c2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.prog-copy > p { margin: 0; color: var(--soft); font-size: 16px; line-height: 2; }
.feats { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.feats li { position: relative; padding-inline-start: 30px; color: #d7e3f4; font-size: 14.5px; line-height: 1.8; }
.feats li::before { content: ''; position: absolute; inset-inline-start: 0; top: 4px; width: 20px; height: 20px; border-radius: 7px; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 4px 12px var(--glow); }
.feats li::after { content: ''; position: absolute; inset-inline-start: 7px; top: 8px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.levels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; direction: ltr; }
html[dir="rtl"] .levels { justify-content: flex-end; }
.levels span { padding: 4px 13px; border-radius: 999px; border: 1px solid #ffffff26; background: #ffffff0c; font: 700 12px Arial, sans-serif; letter-spacing: .5px; color: #e3ecf8; }
.prog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-main { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 16px; color: #0a1a33;
  background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 14px 30px var(--glow); transition: transform .2s, box-shadow .2s; }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 18px 40px var(--glow); }
.btn-main svg { width: 20px; height: 20px; }

.p-arabic { --c: #ff8a6b; --c2: #ffc94d; --glow: #ff7b5a2e; }
.p-math { --c: #5aa0ff; --c2: #ffd166; --glow: #3f86ff30; }
.p-science { --c: #a78bfa; --c2: #f6c25f; --glow: #8b5cf633; }
.p-english { --c: #60c3ff; --c2: #fbbf24; --glow: #38bdf830; }

.closing-band { position: relative; isolation: isolate; margin: 30px auto 0; padding: 60px 40px; border-radius: 34px; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, #12305ecc, #0a1a36f0); border: 1px solid #ffffff1f; box-shadow: 0 30px 70px #0007; }
.closing-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 80% at 50% 120%, #f3c77a2e, transparent 70%); }
.closing-band h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 40px); line-height: 1.4; }
.closing-band p { margin: 0 auto; max-width: 640px; color: var(--soft); }
.closing-band .prog-actions { justify-content: center; }
.btn-ghost { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid #6f9ad0; color: #dbeaff; font-weight: 700; transition: background .2s; }
.btn-ghost:hover { background: #ffffff12; }
.closing-band .btn-main { --c: #f7d58e; --c2: #e6a83f; --glow: #e6a83f40; }

/* ---------- footer ---------- */
.foot { margin-top: 70px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 0; direction: ltr; color: #6f86a6; font: 12px/1.8 Arial, sans-serif; }
.foot-in b { color: #a9c1e0; font-weight: 600; }
.foot-links { display: flex; gap: 22px; font: 14px Cairo, Arial, sans-serif; color: #9fb4d2; }
.foot-links a:hover { color: #fff; }

/* ---------- arrival motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .home-hero .home-brand, .home-title, .home-lead, .doors .door, .home-strip { animation: rise .9s cubic-bezier(.2, .8, .2, 1) backwards; }
  .home-title { animation-delay: .15s; } .home-lead { animation-delay: .25s; } .doors .door:nth-child(1) { animation-delay: .35s; } .doors .door:nth-child(2) { animation-delay: .47s; } .home-strip { animation-delay: .6s; }
  .sky::before { animation: drift 120s linear infinite; } .sky::after { animation: drift 200s linear infinite reverse, twinkle 6s ease-in-out infinite; }
  .js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal .prog-badge { transform: scale(.6) rotate(-12deg); transition: transform .8s .25s cubic-bezier(.3, 1.6, .5, 1); }
  .js .reveal.in .prog-badge { transform: none; }
  .programs-hero .kicker, .programs-hero h1, .programs-hero p, .jump { animation: rise .9s cubic-bezier(.2, .8, .2, 1) backwards; }
  .programs-hero h1 { animation-delay: .1s; } .programs-hero p { animation-delay: .2s; } .jump { animation-delay: .3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes drift { to { transform: translate(380px, 260px); } }
@keyframes twinkle { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1050px) {
  .top-nav { display: none; }
  .doors { gap: 20px; } .door { min-height: 440px; --art-h: 290px; } .door-body { padding: 4px 26px 28px; }
  .prog-grid { gap: 40px; } .feats { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .doors { grid-template-columns: 1fr; width: min(560px, calc(100% - 40px)); }
  .door-learn { order: -1; } /* stacked (phones): the learning programs card comes first */
  .prog-grid { grid-template-columns: 1fr; gap: 46px; } .prog.flip .prog-media { order: 0; }
  .prog-badge { width: 84px; height: 84px; border-radius: 22px; inset-inline-start: 14px; bottom: -22px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .top { height: 72px; padding: 0 16px; gap: 10px; }
  .top-brand { font-size: 15px; gap: 8px; } .top-brand img { width: 34px; height: 34px; border-radius: 10px; } .top-brand small { font-size: 6.5px; letter-spacing: 3px; margin-top: 5px; }
  .top-actions { gap: 8px; } .lang-toggle { height: 36px; padding: 0 12px; font-size: 13px; } .top-cta { display: none; }
  .home-hero { padding-top: 104px; } .home-lead { padding: 0 18px; }
  .doors { width: calc(100% - 32px); margin-top: 32px; } .door { min-height: 0; border-radius: 24px; --art-h: 236px; } .door-body { padding: 0 20px 22px; } .door p { font-size: 14px; }
  .door-cta { padding-top: 16px; }
  .programs-hero { padding-top: 116px; }
  .jump { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .jump a { gap: 8px; font-size: 14px; } .jump small { font-size: 8.5px; letter-spacing: 1px; } /* two programs per row on phones */ .jump a { padding: 7px 14px 7px 7px; } html[dir="rtl"] .jump a { padding: 7px 7px 7px 14px; } .jump img { width: 38px; height: 38px; }
  .prog { padding: 50px 0; } .prog-frame { border-radius: 16px; } .prog-frame .bar { height: 24px; }
  .closing-band { padding: 40px 20px; border-radius: 24px; }
  .foot-in { flex-direction: column; text-align: center; }
}

/* ---------- WhatsApp contact card: the logo and "Contact us", the same in both languages, in the site colours (the number is never shown) ---------- */
.wa-card { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 6px; border-radius: 999px; direction: ltr;
  background: linear-gradient(135deg, #12305e, #0a1c3a); border: 1px solid #4f7fbf59; color: #f2f7ff; box-shadow: inset 0 1px 0 #ffffff14, 0 8px 22px #0006;
  transition: border-color .25s, box-shadow .25s, transform .25s; }
.wa-card:hover { border-color: #70d8ffa6; box-shadow: inset 0 1px 0 #ffffff1f, 0 12px 28px #0008, 0 0 24px #408dff33; transform: translateY(-2px); }
.wa-ico { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #408dff, #70d8ff); color: #031026; box-shadow: 0 4px 12px #408dff4d; }
.wa-ico svg { width: 19px; height: 19px; }
.wa-txt { font: 700 15px/1 Cairo, Arial, sans-serif; letter-spacing: .2px; white-space: nowrap; }
.foot-links { align-items: center; flex-wrap: wrap; justify-content: center; gap: 14px 22px; white-space: nowrap; }
@media (max-width: 820px) { .foot-in { flex-direction: column-reverse; text-align: center; gap: 18px; } }
@media (max-width: 600px) { .wa-card { height: 42px; padding: 0 16px 0 5px; } .wa-ico { width: 32px; height: 32px; } .wa-txt { font-size: 14.5px; } }
