:root{--navy:#071d46;--navy2:#092c66;--blue:#1456b3;--blue-light:#e8f1ff;--gold:#ffca23;--gold2:#f8b900;--cream:#fffdf7;--ink:#10213b;--muted:#657388;--line:#dfE6ef;--radius:22px;--shadow:0 16px 45px rgba(9,33,78,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#fff;font-size:16px}img{display:block;max-width:100%}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{width:min(1180px,calc(100% - 56px));margin-inline:auto}.skip-link{position:absolute;left:12px;top:-60px;background:#fff;color:#111;padding:12px;z-index:100}.skip-link:focus{top:12px}.announcement{background:var(--gold);color:#142641;text-align:center;font-weight:750;min-height:35px;display:flex;align-items:center;justify-content:center;gap:13px;letter-spacing:.06em;font-size:11px;text-transform:uppercase}.live-dot{width:7px;height:7px;background:#122951;border-radius:50%;box-shadow:0 0 0 3px #fff7}.announcement-star{opacity:.5;font-size:14px}.site-header{position:relative;background:#fff;z-index:30;box-shadow:0 1px 0 rgba(5,21,50,.08)}.nav-row{height:85px;display:flex;align-items:center;gap:20px;justify-content:space-between}.brand{display:flex;gap:10px;align-items:center;white-space:nowrap}.brand img{width:52px;height:52px;border:3px solid var(--gold);border-radius:50%;object-fit:cover}.brand-word{font-weight:850;letter-spacing:-.045em;font-size:24px;color:#071b41}.brand-word small{font-size:14px;font-weight:600}.brand-word strong{color:#1760b8}.nav{display:flex;gap:31px;margin-inline:auto}.nav a{font-weight:650;color:#4b5b70;font-size:13px;transition:color .2s;white-space:nowrap}.nav a:hover{color:var(--blue)}.nav-actions{display:flex;align-items:center;gap:11px}.lang-btn{border:1px solid #d7e1ee;background:#f8faff;border-radius:30px;padding:9px 14px;font-weight:750;color:#163862}.btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;white-space:nowrap;min-height:55px;padding:15px 24px;border-radius:13px;font-weight:800;font-size:14px;transition:transform .2s,box-shadow .2s;border:0}.btn:hover{transform:translateY(-2px);box-shadow:0 13px 25px rgba(3,13,37,.13)}.btn-primary{background:var(--gold);color:#11264a}.btn-small{min-height:40px;padding:12px 17px;font-size:12px}.hero{background:radial-gradient(circle at 90% 12%,#245abd 0,transparent 40%),linear-gradient(122deg,#061a40 15%,#0c397c 70%,#1155b6 150%);overflow:hidden;position:relative;color:#fff}.hero-orbit{position:absolute;border:1px solid rgba(255,255,255,.07);border-radius:50%;pointer-events:none}.hero-orbit-1{width:700px;height:700px;right:-270px;top:-190px}.hero-orbit-2{width:900px;height:900px;right:-350px;top:-280px}.math-decor{position:absolute;color:#4d88cf;font-size:24px;font-style:italic;opacity:.36;user-select:none}.decor-1{top:45px;right:34px;transform:rotate(-8deg)}.decor-2{bottom:95px;right:37%;transform:rotate(9deg)}.hero-layout{min-height:642px;display:grid;grid-template-columns:1.07fr .93fr;gap:20px;align-items:center;position:relative;z-index:1}.hero-copy{padding:66px 0 82px}.eyebrow{color:#195ab3;display:inline-flex;align-items:center;gap:9px;letter-spacing:.17em;font-weight:850;font-size:12px}.eyebrow.light{color:#9ec8ff}.mini-star{color:var(--gold);font-size:17px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(45px,5.5vw,76px);line-height:1.04;letter-spacing:-.055em;font-weight:850;margin:22px 0 25px}h1 em{color:var(--gold);font-style:normal}.hero-lede{font-size:17px;line-height:1.75;max-width:535px;color:#cbdcf2;margin-bottom:26px}.hero-tags{display:flex;flex-wrap:wrap;gap:9px}.hero-tags span{color:#c5d9f4;border:1px solid #5274a2;padding:9px 11px;border-radius:7px;font-weight:700;font-size:12px}.hero-actions{display:flex;gap:24px;align-items:center;margin:36px 0 32px}.text-link{display:inline-flex;gap:15px;align-items:center;color:#f2f7ff;font-size:13px;font-weight:800;border-bottom:1px solid currentColor;padding-bottom:5px}.text-link.dark{color:#114d9c}.hero-languages{display:flex;align-items:center;gap:13px;font-size:12px;color:#b6cdeb}.small-line{height:1px;width:38px;background:var(--gold)}.hero-visual{position:relative;min-height:590px;display:flex;align-items:center;justify-content:center}.portrait-glow{position:absolute;width:430px;height:430px;border-radius:50%;filter:blur(64px);background:rgba(40,118,255,.30)}.hero-avatar{position:relative;border-radius:50%;width:min(95%,470px);height:auto;box-shadow:0 30px 80px #0416349b;z-index:2;border:7px solid #ffcb22;object-fit:cover}.floating-pill{position:absolute;z-index:3;background:#fff;border-radius:12px;box-shadow:0 18px 45px #0005;color:#0f2d58;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:850}.tutor-badge{left:-16px;top:115px;padding:12px 16px}.pill-icon{background:#ffca23;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;font-size:23px}.exam-badge{right:0;bottom:65px;padding:15px 17px}.badge-target{color:#e9ab00;font-size:27px}.wave-base{position:absolute;bottom:-65px;left:-10%;right:-10%;height:95px;background:white;border-radius:50% 50% 0 0}.cred-strip{background:#fff;padding:26px 0;border-bottom:1px solid #e9edf3}.strip-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.strip-inner span{font-size:12px;font-weight:850;letter-spacing:.05em;color:#173f78}.strip-inner span:first-child{font-size:10px;letter-spacing:.16em;color:#697687}.strip-inner b{color:#edb900;font-size:13px}.section{padding:105px 0;scroll-margin-top:15px}.heading-split{display:grid;grid-template-columns:1.3fr .7fr;align-items:end;gap:50px;margin-bottom:40px}.section h2{font-size:clamp(35px,4.1vw,53px);line-height:1.12;letter-spacing:-.045em;margin:13px 0 20px;font-weight:850}.ink-blue{color:#165cba}.section-heading p{line-height:1.8;color:#647287;font-size:16px;margin-bottom:5px}.programme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.programme-card{min-height:323px;border:1px solid #e1e9f4;border-radius:21px;padding:25px;display:flex;flex-direction:column;background:#f5f9ff;transition:transform .2s,box-shadow .2s}.programme-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.card-american{background:#fff9eb;border-color:#f1e6cd}.card-sat{background:#f7f7ff;border-color:#e6e7ff}.card-ks{background:#eef8f5;border-color:#d6ebe3}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:48px}.card-num{font-size:12px;font-weight:850;color:#5e728c}.subject-icon{width:48px;height:48px;border-radius:13px;background:#dbeafe;color:#125bbc;display:grid;place-items:center;font-size:25px;font-weight:850}.card-american .subject-icon{background:#ffedbb;color:#a66d00}.card-sat .subject-icon{background:#e6e6ff;color:#5454bd}.card-ks .subject-icon{background:#d5f1e3;color:#16815f}.programme-card h3{font-size:21px;letter-spacing:-.025em;line-height:1.2;margin-bottom:10px}.programme-card p{font-size:13px;line-height:1.7;color:#5d6d82;margin-bottom:auto}.card-bottom{border-top:1px solid rgba(16,40,85,.12);padding-top:17px;display:flex;align-items:center;justify-content:space-between;margin-top:20px;gap:5px}.card-bottom span{font-size:10px;font-weight:800;letter-spacing:.02em;color:#49739f}.card-bottom a{width:28px;height:28px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#205dad;font-size:18px}.about-section{background:#f5f8fc}.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px;align-items:center}.about-visual{position:relative;padding:26px}.about-photo-wrap{aspect-ratio:1/1;max-width:440px;border-radius:38px;background:#0a3678;overflow:hidden;position:relative;box-shadow:0 30px 70px rgba(5,32,82,.18)}.about-photo-wrap>img{width:100%;height:100%;object-fit:cover}.about-stamp{position:absolute;bottom:20px;left:21px;background:var(--gold);border-radius:14px;padding:10px 16px;display:flex;flex-direction:column;transform:rotate(-4deg);line-height:1.1;color:#142847;box-shadow:0 10px 23px #0015}.about-stamp span{font-weight:800;font-size:12px}.about-stamp strong{font-size:25px;letter-spacing:-.05em}.photo-corner{position:absolute;width:100px;height:100px;border-color:var(--gold);border-style:solid}.photo-corner-a{top:0;left:0;border-width:7px 0 0 7px;border-radius:27px 0 0 0}.photo-corner-b{right:0;bottom:0;border-width:0 7px 7px 0;border-radius:0 0 27px 0}.about-copy .about-intro{font-size:16px;line-height:1.9;color:#5c6b80;margin:14px 0 31px;max-width:610px}.approach-points{display:flex;flex-direction:column;gap:19px;margin:0 0 34px}.approach-points>div{display:flex;gap:15px}.point-icon{display:grid;place-items:center;flex:0 0 37px;height:37px;border-radius:50%;color:#1d5fab;background:#e0eeff;font-weight:900}.approach-points h3{font-size:16px;margin-bottom:4px}.approach-points p{color:#637283;font-size:13px;margin:0;line-height:1.6}.tips-section{background:radial-gradient(circle at 25% 70%,#1351a3 0,transparent 44%),#061d48;color:#fff}.tips-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:100px;align-items:center}.tips-copy h2{max-width:550px}.gold-text{color:var(--gold)}.tips-copy>p{color:#bad0ef;line-height:1.8;max-width:480px}.sample-formula{display:flex;align-items:center;gap:20px;font-weight:750;letter-spacing:.02em;font-size:clamp(24px,3vw,38px);padding:20px 0;color:#fff}.formula-x{color:var(--gold);font-size:42px}.tips-copy .tips-small{color:#ffd862;font-size:14px}.btn-outline{background:transparent;border:1px solid #90b5e9;color:#fff;margin-top:15px}.video-panel{justify-self:center;width:100%;max-width:295px}.video-frame{border:7px solid #eef6ff;border-radius:26px;overflow:hidden;background:#0f356e;box-shadow:0 20px 60px #0008}.video-frame video{display:block;width:100%;aspect-ratio:9/16;object-fit:cover}.video-caption{margin-top:16px;color:#c8daee;font-size:12px;text-align:center}.video-spark{color:var(--gold);margin-inline-end:8px}.steps-section{background:#fff}.center{text-align:center;max-width:680px;margin:0 auto 50px}.center .eyebrow{justify-content:center}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.step{padding:30px 32px 34px;border-top:3px solid #ebf0f8;background:#fafcff;border-radius:0 0 16px 16px}.step-count{font-size:35px;letter-spacing:-.06em;font-weight:900;color:var(--gold2)}.step h3{font-size:18px;margin:18px 0 10px}.step p{font-size:13px;color:#657484;line-height:1.8;margin:0}.faq-section{background:#f7f9fc}.faq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}.faq-grid>div>p{color:#637283;line-height:1.75;max-width:350px}.faq-list details{border-bottom:1px solid #d8e0eb;padding:19px 4px}.faq-list details:first-child{border-top:1px solid #d8e0eb}.faq-list summary{font-weight:800;cursor:pointer;list-style:none;font-size:15px;display:flex;justify-content:space-between;gap:20px}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary::after{content:'+';font-size:24px;font-weight:400;color:#175fbb;line-height:.8}.faq-list details[open] summary::after{content:'−'}.faq-list details p{padding:14px 0 0;font-size:14px;line-height:1.8;color:#5f6d7c;max-width:570px;margin:0}.contact-section{background:#071e47;color:white;position:relative;overflow:hidden}.contact-section:before{content:'';position:absolute;inset:-40% 40% 0 -40%;background:radial-gradient(circle,#155dc0 0,transparent 65%);opacity:.6}.contact-grid{display:grid;grid-template-columns:.93fr 1.07fr;gap:95px;align-items:center;position:relative}.contact-copy h2{font-size:clamp(46px,5vw,68px)}.contact-copy>p{color:#bdd3ef;line-height:1.8;max-width:455px}.contact-direct{margin-top:40px;display:flex;align-items:center;gap:16px;max-width:365px;border-radius:17px;background:#ffcb25;color:#132b4d;padding:15px 20px}.wa-circle{background:#1dba70;color:#fff;font-size:28px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%}.contact-direct small{display:block;font-size:10px;font-weight:750;letter-spacing:.2em}.contact-direct strong{display:block;font-size:20px;letter-spacing:.01em}.contact-direct b{margin-left:auto}.contact-copy .contact-small{margin-top:21px;color:#a7c5e5;font-size:12px}.enquiry-card{background:white;border-radius:25px;padding:33px;color:#14294a;box-shadow:0 30px 80px #0004}.enquiry-head{margin-bottom:22px}.enquiry-head h3{font-size:23px;margin-bottom:5px}.enquiry-head p{font-size:12px;color:#677687;line-height:1.7}.enquiry-card label{display:block;color:#223f63;font-weight:800;font-size:12px;margin:14px 0 7px}.enquiry-card input,.enquiry-card select,.enquiry-card textarea{width:100%;padding:12px 13px;border-radius:10px;border:1px solid #d6e0ed;background:#f8fbff;color:#263a59;outline-offset:2px;font-size:13px}.enquiry-card textarea{resize:vertical}.enquiry-card input:focus,.enquiry-card textarea:focus,.enquiry-card select:focus{border-color:#3683e5;outline:2px solid #c0d8ff}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.btn-submit{width:100%;margin-top:23px;background:var(--gold);color:#0e284f}.form-privacy{display:flex;gap:8px;font-size:11px;color:#697689;margin:13px 0 0;line-height:1.5}.site-footer{background:#041431;color:#c6d5ed}.footer-top{padding:32px 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #28416a}.footer-brand{display:flex;gap:10px;align-items:center;font-size:20px;font-weight:750;color:#fff}.footer-brand strong{color:var(--gold)}.footer-brand-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:var(--gold);color:#061b3e;font-size:23px}.footer-links{display:flex;gap:27px;font-size:13px;font-weight:700}.footer-links a:hover{color:#fff}.footer-bottom{padding:20px 0 26px;display:flex;justify-content:space-between;align-items:center;color:#899fba;font-size:11px}.footer-bottom p{margin:0}.floating-wa{position:fixed;bottom:24px;right:22px;background:#1ec577;color:white;width:53px;height:53px;border-radius:50%;display:grid;place-items:center;z-index:20;font-size:28px;box-shadow:0 8px 26px #0004;border:3px solid #fff}.floating-wa:hover{transform:scale(1.08)}:focus-visible{outline:3px solid #f5b71a;outline-offset:3px}
@media(max-width:1100px){.nav{gap:17px}.nav a{font-size:12px}.hero-layout{grid-template-columns:1fr .88fr}.hero-avatar{width:95%}.programme-grid{grid-template-columns:repeat(2,1fr)}.about-grid,.tips-grid{gap:55px}.contact-grid{gap:50px}}@media(max-width:760px){.container{width:min(100% - 36px,590px)}.announcement{font-size:9px;gap:8px;padding:6px 8px}.nav-row{height:69px}.brand img{width:42px;height:42px}.brand-word{font-size:19px}.brand-word small{font-size:12px}.nav{display:none}.nav-actions{gap:7px}.lang-btn{font-size:12px;padding:8px 11px}.nav-cta{display:none}.hero-layout{grid-template-columns:1fr;gap:0}.hero-copy{padding:62px 0 12px}.hero h1{font-size:clamp(44px,10.5vw,65px);margin:17px 0 19px}.hero-lede{font-size:15px;line-height:1.75}.hero-tags span{font-size:10px;padding:8px 10px}.hero-actions{gap:18px;margin:25px 0}.hero-actions .btn{font-size:13px;min-height:50px;padding:12px 16px}.text-link{font-size:12px}.hero-languages{font-size:11px}.hero-visual{min-height:415px;margin:0 0 35px}.hero-avatar{width:345px;max-width:82%}.wave-base{bottom:-76px}.decor-2{display:none}.cred-strip{padding:19px 0}.strip-inner{justify-content:center;gap:8px 12px}.strip-inner span{font-size:10px}.strip-inner span:first-child{width:100%;text-align:center}.section{padding:69px 0}.heading-split,.about-grid,.tips-grid,.contact-grid,.faq-grid{grid-template-columns:1fr;gap:30px}.section h2{font-size:clamp(34px,8.3vw,46px)}.heading-split{margin-bottom:26px}.section-heading p{font-size:14px}.programme-grid{gap:12px}.programme-card{padding:22px;min-height:285px}.card-top{margin-bottom:29px}.programme-card h3{font-size:18px}.programme-card p{font-size:12px}.card-bottom span{font-size:9px}.about-visual{max-width:435px;margin:auto}.about-copy .about-intro{font-size:14px}.tips-grid{gap:45px}.video-panel{max-width:260px}.steps-grid{grid-template-columns:1fr;gap:13px}.step{padding:20px 22px}.step-count{font-size:28px}.step h3{margin:8px 0}.faq-grid{gap:10px}.contact-section:before{background:radial-gradient(closest-side,#155dc0 0,transparent 100%)}.contact-copy h2{font-size:52px}.contact-direct{margin-top:25px}.enquiry-card{padding:23px}.footer-top,.footer-bottom{gap:20px;flex-wrap:wrap}.footer-links{gap:16px}.floating-wa{bottom:15px;right:14px;width:49px;height:49px}}@media(max-width:420px){.container{width:calc(100% - 30px)}.hero-visual{min-height:368px}.hero-avatar{width:310px}.hero h1{font-size:43px}.hero-actions{align-items:flex-start;flex-direction:column;gap:16px}.programme-grid{grid-template-columns:1fr}.programme-card{min-height:245px}.card-top{margin-bottom:20px}.form-pair{grid-template-columns:1fr;gap:0}.contact-direct strong{font-size:17px}.contact-copy h2{font-size:43px}.announcement-star,.announcement2{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
/* Right-to-left layout: content direction flips, while mathematical expressions and contact numbers remain LTR. */
html[dir="rtl"] body{font-family:Tahoma,"Segoe UI",Arial,sans-serif}html[dir="rtl"] .floating-wa{right:auto;left:22px}html[dir="rtl"] .hero-avatar{transform:none}html[dir="rtl"] .formula-x,html[dir="rtl"] .sample-formula{direction:ltr}html[dir="rtl"] .brand-word{letter-spacing:0}html[dir="rtl"] .contact-direct b{margin-left:0;margin-right:auto}html[dir="rtl"] .math-decor{direction:ltr}html[dir="rtl"] .card-num{direction:ltr}html[dir="rtl"] .faq-list summary::after{margin-right:auto}html[dir="rtl"] .contact-copy h2{letter-spacing:0}html[dir="rtl"] .hero h1{letter-spacing:0}html[dir="rtl"] .nav a{font-size:13px}
/* Arabic is a joined (cursive) script: non-zero letter-spacing breaks letter joins in Safari/iOS. */
html[dir="rtl"] :is(.announcement,.eyebrow,.strip-inner span,.contact-direct small,.card-bottom span,.section h2,.programme-card h3,h1,h2,h3){letter-spacing:0}
/* Set by lang-init.js for Arabic visitors until script.js has swapped the text (failsafe timeout 3s). */
html.lang-pending body{visibility:hidden}
/* Narrow tablets: header CTA made the nav wrap / collide with the logo; floating WhatsApp button remains available. */
@media(min-width:761px) and (max-width:960px){.nav-cta{display:none}}

/* V1.3: dark gold increases contrast for step numbers on white backgrounds. */
.step-count{color:#795300}


/* ===================== V1.4 ===================== */

/* Arabic typography: Cairo (SIL OFL 1.1, self-hosted, Arabic subset, variable 200–1000, 31 KB).
   Only downloaded when Arabic text is rendered; Latin glyphs fall through to the same system stack as the English site. */
@font-face{font-family:"Cairo";src:url(assets/fonts/cairo-arabic-var.woff2) format("woff2");font-weight:200 1000;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
html[dir="rtl"] body,html[dir="rtl"] button,html[dir="rtl"] input,html[dir="rtl"] select,html[dir="rtl"] textarea{font-family:"Cairo",Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif;font-feature-settings:"kern" 1,"liga" 1,"calt" 1}
/* Arabic has taller ascenders/descenders and dots: open up line-heights and soften the heavy Latin weights. */
html[dir="rtl"] h1,html[dir="rtl"] .section h2{line-height:1.38;font-weight:800}
html[dir="rtl"] .contact-copy h2{line-height:1.3}
html[dir="rtl"] h3,html[dir="rtl"] .programme-card h3{line-height:1.5;font-weight:750}
html[dir="rtl"] p,html[dir="rtl"] .hero-lede,html[dir="rtl"] .faq-list details p{line-height:1.95}
html[dir="rtl"] .programme-card p,html[dir="rtl"] .step p,html[dir="rtl"] .approach-points p{font-size:14px;line-height:1.85}
html[dir="rtl"] .card-bottom span{font-size:11px}
html[dir="rtl"] .eyebrow{font-size:13px;font-weight:800}
html[dir="rtl"] .announcement{font-size:12px;font-weight:700}
html[dir="rtl"] .hero-tags span,html[dir="rtl"] .strip-inner span{font-size:12.5px;font-weight:700}
html[dir="rtl"] .strip-inner span:first-child{font-size:11px}
html[dir="rtl"] .nav a{font-size:14px;font-weight:700}
html[dir="rtl"] .btn{font-weight:750;font-size:15px}
html[dir="rtl"] .btn-small{font-size:13px}
html[dir="rtl"] .faq-list summary{font-size:16px;font-weight:750;line-height:1.6}
html[dir="rtl"] .enquiry-card label{font-size:13px;font-weight:750}
html[dir="rtl"] .enquiry-card input,html[dir="rtl"] .enquiry-card select,html[dir="rtl"] .enquiry-card textarea{font-size:14px}
html[dir="rtl"] .form-privacy,html[dir="rtl"] .enquiry-head p{font-size:12.5px}

/* Utilities */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}

/* ---- Hero slogan: "Your Maths Journey Starts Here." ---- */
.hero-title{margin:20px 0 26px}
.ht{display:flex;flex-direction:column;align-items:flex-start}
.ht-line{display:block}
.ht-lead{font-size:.72em;font-weight:750;letter-spacing:-.04em;color:#dbe8fb;line-height:1.1}
.ht-journey-line{line-height:1}
.ht-journey{position:relative;display:inline-block;font-style:normal;color:var(--gold);font-size:1.32em;font-weight:900;letter-spacing:-.06em;padding-bottom:.3em;padding-inline-end:.12em;text-shadow:0 10px 40px rgba(255,202,35,.18)}
/* A dotted, plotted "path" under Journey that ends in a point: graphs + progress. Data-URI image is allowed by the CSP (img-src data:). */
.ht-journey::after{content:"";position:absolute;left:.02em;right:.1em;bottom:.02em;height:.2em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M2 18C60 4 110 22 160 13S250 3 298 9' fill='none' stroke='%23ffca23' stroke-width='3.2' stroke-linecap='round' stroke-dasharray='1 9' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center/100% 100%;animation:mro-draw 1.1s .25s cubic-bezier(.6,.05,.3,1) both}
.ht-journey::before{content:"";position:absolute;right:0;bottom:.07em;width:.17em;height:.17em;border-radius:50%;background:#fff;box-shadow:0 0 0 .05em var(--gold),0 0 18px rgba(255,255,255,.55);animation:mro-pop .35s 1.25s ease-out both}
.ht-end{margin-top:0}
.ht-here{display:inline-block;background:#fff;color:#0a2c66;padding:.02em .2em .06em;border-radius:.16em;transform:rotate(-2.5deg);box-shadow:.09em .09em 0 var(--gold);margin-inline-start:.06em}
@keyframes mro-draw{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes mro-pop{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}
/* RTL: the highlighted word (رحلتك) leads the Arabic headline; the path is mirrored to draw right-to-left. */
html[dir="rtl"] .ht-journey-line{order:-1}
html[dir="rtl"] .ht-lead{font-size:.8em;line-height:1.45;letter-spacing:0}
html[dir="rtl"] .ht-journey{font-size:1.18em;letter-spacing:0;line-height:1.35;padding-bottom:.24em}
html[dir="rtl"] .ht-journey::after{left:.1em;right:.02em;transform:scaleX(-1)}
html[dir="rtl"] .ht-journey::before{right:auto;left:0}
html[dir="rtl"] .ht-end{line-height:1.45}
html[dir="rtl"] .ht-here{transform:rotate(2.5deg);box-shadow:-.09em .09em 0 var(--gold);padding:0 .22em .04em}

/* ---- Avatar: clean presentation; nothing overlaps the original artwork ---- */
.hero-visual{flex-direction:column;gap:22px}
.hero-avatar{border:0;width:min(92%,460px);box-shadow:0 0 0 10px rgba(255,255,255,.06),0 30px 80px #0416349b}
.portrait-glow{top:50%;left:50%;transform:translate(-50%,-58%)}
.hero-badges{position:relative;z-index:3;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.hero-badges .floating-pill{position:static;padding:11px 15px}
.tutor-badge .pill-icon{width:28px;height:28px;font-size:19px}
.exam-badge .badge-target{font-size:22px}

/* ---- Social links ---- */
.social-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.social-ico{width:20px;height:20px;flex:0 0 auto}
.hero-social{display:flex;align-items:center;gap:14px;margin-top:22px}
.hero-social-label{font-size:12px;font-weight:700;color:#9ec8ff;letter-spacing:.04em}
html[dir="rtl"] .hero-social-label{letter-spacing:0;font-size:13px}
.social-hero .social-link{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#e6f0ff;border:1px solid rgba(158,200,255,.35);background:rgba(255,255,255,.04);transition:background .2s,color .2s,border-color .2s,transform .2s}
.social-hero .social-link:hover{background:var(--gold);color:#0b2550;border-color:var(--gold);transform:translateY(-2px)}
.site-footer .footer-top{gap:22px;flex-wrap:wrap}
.social-footer .social-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 15px;border-radius:12px;border:1px solid #28416a;font-size:13px;font-weight:700;color:#d5e2f5;transition:background .2s,border-color .2s,color .2s}
.social-footer .social-link:hover{background:#0c2652;border-color:var(--gold);color:#fff}
.social-footer .social-ico{width:18px;height:18px;color:var(--gold)}
.footer-bottom a{display:inline-flex;align-items:center;min-height:44px}

/* ---- Two new programme cards (6 total, 3 × 2 on desktop) ---- */
.card-alevel{background:#eef3ff;border-color:#d9e3fb}
.card-alevel .subject-icon{background:#0b2f6b;color:#ffca23}
.card-alevel .card-num{color:#4a5c76}
.card-alevel .card-bottom span{color:#355d8c}
.card-other{background:#fff;border-color:#e1e9f4}
.card-other .subject-icon{background:#fff3c4;color:#8a5a00}
.programme-card{min-height:290px}

@media(max-width:1100px){.programme-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){
  .hero-title{margin:16px 0 18px}
  .hero h1.hero-title{font-size:clamp(42px,11.5vw,62px)}
  .hero-visual{min-height:0;gap:16px;margin:8px 0 46px}
  .hero-avatar{width:330px;max-width:84%}
  .portrait-glow{width:300px;height:300px}
  .hero-badges .floating-pill{font-size:11px;padding:8px 11px}
  .hero-social{margin-top:18px}
  .social-hero .social-link{width:44px;height:44px}
  .footer-top{flex-direction:column;align-items:flex-start}
}
@media(max-width:420px){
  .hero h1.hero-title{font-size:43px}
  html[dir="rtl"] .hero h1.hero-title{font-size:40px}
  .hero-avatar{width:300px}
  .programme-card{min-height:0}
  .social-footer .social-link{padding:10px 12px}
}

/* V1.4: six subjects wrap onto two lines; attach each separator to its item so no line starts with an orphan ✳. */
.strip-inner{justify-content:center;gap:10px 22px}
.strip-inner b{display:none}
.strip-inner span+b+span::before{content:"✳";color:#c99a00;margin-inline-end:12px;font-size:13px}
@media(min-width:761px){.strip-inner span:first-child{margin-inline-end:6px}}
.text-link{white-space:nowrap}

/* V1.4.1 — readable mixed Arabic/Latin programme names. */
html[dir="rtl"] bdi[dir="ltr"]{direction:ltr;unicode-bidi:isolate;white-space:nowrap}

/* V1.4.1 — mobile first-view: keep slogan and enquiry CTA prominent,
   reveal the portrait earlier, then show secondary location/social information.
   Subject chips are duplicated in the immediately following programme strip and
   remain available on tablet/desktop; no curriculum or programme card is removed. */
@media(max-width:760px){
  .hero-layout{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .hero-copy{display:contents}
  .hero-copy>.eyebrow{order:1;align-self:flex-start;margin-top:30px}
  .hero-copy>.hero-title{order:2;margin:12px 0 15px}
  .hero-copy>.hero-lede{order:3;margin:0}
  .hero-copy>.hero-tags{display:none}
  .hero-copy>.hero-actions{order:4;margin:19px 0 12px}
  .hero-visual{order:5;min-height:0;margin:8px 0 24px;gap:14px}
  .hero-copy>.hero-languages{order:6}
  .hero-copy>.hero-social{order:7;margin:14px 0 38px}
}
@media(max-width:420px){
  .hero-copy>.eyebrow{margin-top:24px}
  .hero-copy>.hero-actions{margin:16px 0 8px}
  .hero-visual{margin:6px 0 20px}
}

/* ===================== V1.5 — mobile UX refinement (≤760px only; desktop/tablet unchanged) ===================== */
/* New elements are mobile-only. */
.menu-btn,.nav-wa,.hero-wa{display:none}
@keyframes mro-menu{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(max-width:760px){
  /* Compact sticky header with hamburger; language switch stays visible. */
  .site-header{position:sticky;top:0}
  .nav-row{height:62px;gap:10px}
  .brand{gap:8px}
  .brand img{width:40px;height:40px}
  .brand-word{font-size:18.5px}
  .nav-actions{gap:8px}
  .lang-btn{min-height:44px;padding:8px 13px}
  .menu-btn{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border-radius:12px;border:1px solid #d7e1ee;background:#f8faff;color:#0b2550;transition:background .2s,color .2s,border-color .2s}
  .menu-bars{position:relative;display:block;width:20px;height:14px}
  .menu-bars span{position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;transition:transform .22s,opacity .18s,top .22s}
  .menu-bars span:nth-child(1){top:0}
  .menu-bars span:nth-child(2){top:6px}
  .menu-bars span:nth-child(3){top:12px}
  .menu-btn[aria-expanded="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
  .menu-btn[aria-expanded="true"] .menu-bars span:nth-child(1){top:6px;transform:rotate(45deg)}
  .menu-btn[aria-expanded="true"] .menu-bars span:nth-child(2){opacity:0}
  .menu-btn[aria-expanded="true"] .menu-bars span:nth-child(3){top:6px;transform:rotate(-45deg)}
  .site-header.menu-open .nav{display:flex;flex-direction:column;gap:0;position:absolute;top:100%;left:0;right:0;margin:0;padding:6px 18px 18px;background:#fff;border-top:1px solid #e9eef5;box-shadow:0 22px 40px rgba(5,21,50,.2);animation:mro-menu .2s ease-out both}
  .site-header.menu-open .nav a{display:flex;align-items:center;min-height:52px;padding:0 4px;border-bottom:1px solid #eef2f7;font-size:16px;font-weight:750;color:#0f2d58}
  .site-header.menu-open .nav a:hover{color:var(--blue)}
  .site-header.menu-open .nav a.nav-wa{justify-content:center;gap:10px;margin-top:16px;border:0;border-radius:13px;background:var(--gold);color:#11264a;font-weight:800;font-size:15px}
  html[dir="rtl"] .site-header.menu-open .nav a{font-size:17px}
  .wa-ico{width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:#1ec577;color:#fff;display:grid;place-items:center;font-size:15px;line-height:1}
  .section{scroll-margin-top:70px}

  /* Hero: slogan → short line → avatar → chips → CTAs, all in the first screen. */
  .hero-copy>.eyebrow{order:1;margin-top:20px}
  .hero-copy>.hero-title{order:2;margin:10px 0 0}
  .hero h1.hero-title{font-size:clamp(36px,10.6vw,52px)}
  .hero-copy>.hero-lede{display:none}
  .hero-copy>.hero-languages{order:3;margin-top:12px;font-size:12px;color:#c3d6ef}
  .hero-visual{order:4;margin:14px 0 0;gap:0}
  .hero-avatar{width:clamp(150px,28vh,230px);width:clamp(150px,28svh,230px);max-width:62%}
  .portrait-glow{width:220px;height:220px;filter:blur(50px)}
  .hero-badges{display:none}
  .hero-copy>.hero-tags{display:flex;order:5;gap:6px;margin-top:16px}
  .hero-tags span{font-size:11px;padding:6px 9px;border-radius:6px}
  .hero-copy>.hero-actions{order:6;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 0}
  .hero-actions .btn{min-height:50px;padding:10px 12px;gap:8px;font-size:13px}
  .hero-actions .text-link{display:none}
  .hero-wa{display:inline-flex;background:#fff;color:#0b2550}
  .hero-copy>.hero-social{order:7;margin:18px 0 40px}
  /* The hero chips now carry the subject list on mobile, so the duplicate strip below is hidden. */
  .cred-strip{display:none}
}
@media(max-width:420px){
  .hero-copy>.eyebrow{margin-top:18px}
  .hero h1.hero-title{font-size:clamp(34px,10.6vw,44px)}
  html[dir="rtl"] .hero h1.hero-title{font-size:clamp(32px,9.8vw,41px)}
  .hero-copy>.hero-actions{margin:16px 0 0}
  .hero-visual{margin:14px 0 0}
  .hero-avatar{width:clamp(150px,28vh,230px);width:clamp(150px,28svh,230px)}
}
@media(max-width:380px){
  .hero-actions .btn{font-size:12.5px;padding:10px 8px;gap:6px}
  .hero-actions .btn-primary span[aria-hidden]{display:none}
}
/* V1.5: the floating WhatsApp bubble steps aside while the hero CTAs are on screen (mobile only), so it never covers them. */
@media(max-width:760px){
  .floating-wa{transition:opacity .2s,transform .2s,visibility .2s}
  html.hero-cta-visible .floating-wa{opacity:0;visibility:hidden;transform:scale(.6);pointer-events:none}
}
/* V1.5: short phones (e.g. iPhone SE, 667px tall): tighten rhythm so the CTAs stay in the first screen. */
@media(max-width:760px) and (max-height:720px){
  .hero-copy>.eyebrow{margin-top:14px}
  .hero-copy>.hero-title{margin-top:8px}
  .hero-copy>.hero-languages{margin-top:8px}
  .hero-visual{margin-top:10px}
  .hero-avatar{width:clamp(140px,22vh,230px);width:clamp(140px,22svh,230px)}
  .portrait-glow{width:170px;height:170px}
  .hero-copy>.hero-tags{margin-top:12px}
  .hero-copy>.hero-actions{margin-top:12px}
  html[dir="rtl"] .hero h1.hero-title{font-size:clamp(30px,9vw,38px)}
}
/* V1.5: equal CTA columns that can never exceed the screen; Arabic button text sized for two-up layout. */
@media(max-width:760px){
  .hero-copy>.hero-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[dir="rtl"] .hero-actions .btn{font-size:14px;padding:10px 8px}
}
@media(max-width:380px){html[dir="rtl"] .hero-actions .btn{font-size:13px;gap:6px}}
/* V1.5: very small phones (≤340px) — single-column cards never exceed the screen; hero CTAs stack. */
@media(max-width:420px){.programme-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:340px){.hero-copy>.hero-actions{grid-template-columns:minmax(0,1fr);gap:8px}.hero-actions .btn-primary span[aria-hidden]{display:inline}}
/* V1.5: on all phones the announcement bar shows one message on one line (previously wrapped to two lines at 421–760px). */
@media(max-width:760px){.announcement-star,.announcement2{display:none}}
/* ==========================================================================
   V1.6: desktop & tablet hero balance (≥761px only — phones keep V1.5 exactly).
   - The portrait is sized from one variable (--av) and grows to fill its column.
   - Avatar, glow, rings and badges form one centred group; badges sit directly
     under the portrait (never over it) instead of floating in empty space.
   - The two orbit rings are redrawn concentric with the portrait, so they frame
     the avatar in both English (avatar right) and Arabic (avatar left).
   - Slightly tighter vertical rhythm so the hero reads as one composition.
   ========================================================================== */
@media(min-width:761px){
  .hero{--av:clamp(300px,36vw,512px)}
  .hero-orbit{display:none}
  .hero-copy{padding:56px 0 74px}
  .hero-actions{margin:32px 0 26px}
  .hero-layout{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:36px;min-height:0}
  .hero-visual{min-height:0;display:grid;grid-template-columns:var(--av);grid-template-rows:var(--av) auto;justify-content:center;align-content:center;row-gap:20px;margin-block:24px}
  .hero-avatar,.portrait-glow,.hero-visual::before,.hero-visual::after{grid-area:1/1}
  .hero-avatar{width:var(--av);max-width:none;place-self:center}
  .portrait-glow{position:relative;inset:auto;transform:none;place-self:center;width:calc(var(--av)*.95);height:calc(var(--av)*.95)}
  .hero-visual::before,.hero-visual::after{content:"";place-self:center;border-radius:50%;border:1px solid rgba(255,255,255,.08);pointer-events:none;z-index:0}
  .hero-visual::before{width:calc(var(--av) + 96px);height:calc(var(--av) + 96px)}
  .hero-visual::after{width:calc(var(--av) * 1.62);height:calc(var(--av) * 1.62);border-color:rgba(255,255,255,.055)}
  .hero-badges{grid-area:2/1;justify-self:center;width:max-content;max-width:calc(var(--av) + 80px);gap:12px;flex-wrap:wrap;justify-content:center}
  /* Arabic: the corner formula moves to the portrait side so it never collides with the RTL eyebrow. */
  html[dir="rtl"] .decor-1{right:auto;left:34px;transform:rotate(8deg)}
}
/* Large desktops: let the text column breathe a little more than the visual. */
@media(min-width:1101px){
  .hero-title{margin:18px 0 24px}
}
/* Tablets (761–1100px): portrait fills its narrower column; badges compact so they stay paired. */
@media(min-width:761px) and (max-width:1100px){
  .hero{--av:clamp(300px,40vw,430px)}
  .hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:24px}
  .hero-visual{grid-template-columns:min(var(--av),100%);grid-template-rows:min(var(--av),100%) auto;row-gap:16px}
  .hero-avatar{width:min(var(--av),100%)}
  .hero-badges{gap:10px;max-width:100%}
  .hero-badges .floating-pill{font-size:12px;padding:9px 12px;gap:8px}
  .hero-visual::after{display:none}
}
/* ==========================================================================
   V1.7: Free 30-minute online trial offer.
   Announcement bar, hero CTA + note, highlighted offer card, form request type.
   ========================================================================== */
.announcement-link{color:inherit;text-decoration:underline;text-decoration-color:rgba(20,38,65,.35);text-underline-offset:3px}
.announcement-link:hover,.announcement-link:focus-visible{text-decoration-color:currentColor}
.hero-trial-note{display:flex;align-items:center;gap:9px;margin:0 0 22px;font-size:13px;font-weight:700;color:#ffe08a;letter-spacing:.01em}
.hero-trial-note .mini-star{color:var(--gold)}
html[dir="rtl"] .hero-trial-note{letter-spacing:0;font-size:14px}
@media(min-width:761px){.hero-copy>.hero-actions{margin:32px 0 14px}}

/* Offer card */
.trial-section{background:#fff;padding:64px 0 0;scroll-margin-top:20px}
.trial-card{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"badge copy actions" "badge terms terms";column-gap:40px;row-gap:22px;align-items:center;padding:42px 48px;border-radius:26px;color:#fff;
  background:radial-gradient(circle at 88% 10%,#245abd 0,transparent 45%),linear-gradient(122deg,#061a40 10%,#0c397c 75%,#1155b6 140%);box-shadow:0 24px 60px rgba(7,29,70,.22)}
.trial-card::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;border:1px solid rgba(255,255,255,.07);inset-inline-end:-140px;top:-180px;pointer-events:none}
.trial-badge{grid-area:badge;position:relative;width:150px;height:150px;border-radius:50%;background:var(--gold);color:#0b2550;display:grid;place-content:center;text-align:center;box-shadow:0 0 0 10px rgba(255,202,35,.14),0 18px 40px rgba(0,0,0,.28)}
.trial-badge strong{font-size:62px;line-height:.9;font-weight:900;letter-spacing:-.04em}
.trial-badge span{font-size:13px;font-weight:850;letter-spacing:.18em;margin-top:6px}
html[dir="rtl"] .trial-badge span{letter-spacing:0;font-size:16px}
.trial-copy{grid-area:copy;min-width:0}
.trial-copy h2{margin:12px 0 10px;font-size:clamp(26px,2.6vw,34px);line-height:1.18;letter-spacing:-.02em;color:#fff}
html[dir="rtl"] .trial-copy h2{letter-spacing:0;line-height:1.5}
.trial-lede{margin:0;font-size:17px;line-height:1.6;color:#ffe08a;font-weight:600}
.trial-actions{grid-area:actions;display:flex;flex-direction:column;align-items:center;gap:14px;position:relative}
.trial-actions .btn-trial{gap:12px}
.trial-form-link{display:inline-flex;gap:8px;align-items:center;font-size:13px;font-weight:700;color:#d6e6fb;border-bottom:1px solid rgba(214,230,251,.5);padding-bottom:3px}
.trial-form-link:hover,.trial-form-link:focus-visible{color:#fff;border-color:#fff}
.trial-terms{grid-area:terms;margin:0;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);font-size:12.5px;line-height:1.6;color:#bcd2ee}
.trial-terms span:first-child{font-weight:800;color:#e6f0ff}
html[dir="rtl"] .trial-terms{font-size:13.5px}

/* Form: request type + hint */
.form-hint{margin:8px 0 2px;font-size:12.5px;line-height:1.55;color:#4c5d75;background:#fff8e1;border:1px solid #f5dd8a;border-radius:10px;padding:9px 12px}
.form-hint[hidden]{display:none}

/* Tablet */
@media(max-width:1100px){
  .trial-card{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"badge copy" "badge actions" "terms terms";column-gap:32px;padding:38px 36px}
  .trial-badge{width:124px;height:124px}.trial-badge strong{font-size:52px}
  .trial-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:12px 22px}
}

/* Phones: hero keeps V1.5's height — the gold trial CTA replaces "Enquire about lessons" in the same row,
   and the white WhatsApp button becomes a compact icon button beside it. */
@media(max-width:760px){
  .hero-copy>.hero-actions{grid-template-columns:minmax(0,1fr) 50px}
  .hero-wa{padding:0;width:50px}
  .hero-wa .hero-wa-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .hero-actions .btn-trial .btn-arrow{display:none}
  .hero-actions .btn-trial{font-size:14px;padding:10px 12px}
  html[dir="rtl"] .hero-actions .btn-trial{font-size:14px}
  .hero-copy>.hero-trial-note{order:6;margin:10px 0 0;font-size:12px;justify-content:center}
  html[dir="rtl"] .hero-copy>.hero-trial-note{font-size:12.5px}
  .trial-section{padding:28px 0 0}
  .trial-card{grid-template-columns:1fr;grid-template-areas:"badge" "copy" "actions" "terms";row-gap:16px;padding:28px 22px 24px;border-radius:22px;text-align:center;justify-items:center}
  .trial-badge{width:92px;height:92px;box-shadow:0 0 0 7px rgba(255,202,35,.14),0 12px 28px rgba(0,0,0,.25)}
  .trial-badge strong{font-size:38px}.trial-badge span{font-size:10px;margin-top:3px}
  html[dir="rtl"] .trial-badge span{font-size:12px}
  .trial-copy .eyebrow{justify-content:center}
  .trial-copy h2{font-size:24px;margin:10px 0 8px}
  .trial-lede{font-size:15px}
  .trial-actions{flex-direction:column;align-items:stretch;width:100%}
  .trial-actions .btn-trial{width:100%;white-space:normal}
  .trial-form-link{align-self:center}
  .trial-terms{font-size:12px;padding-top:14px}
}
@media(max-width:380px){.hero-actions .btn-trial{font-size:13px;padding:10px 8px}html[dir="rtl"] .hero-actions .btn-trial{font-size:13px}}
@media(max-width:340px){.hero-copy>.hero-actions{grid-template-columns:minmax(0,1fr) 50px}.hero-actions .btn-trial{font-size:12.5px}}
/* Short phones (≤720px tall): drop the hero note to keep the CTA on the first screen; the offer is still in the yellow bar. */
@media(max-width:760px) and (max-height:720px){.hero-copy>.hero-trial-note{display:none}}
/* V1.7: WhatsApp mark inside the offer button on every screen size (the base .wa-ico style only existed for phones). */
.trial-actions .wa-ico{width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:#1ec577;color:#fff;display:grid;place-items:center;font-size:15px;line-height:1}
.trial-badge{box-shadow:0 0 0 10px rgba(255,255,255,.08),0 0 0 11px rgba(255,202,35,.28),0 18px 40px rgba(0,0,0,.22)}
@media(max-width:760px){.trial-badge{box-shadow:0 0 0 7px rgba(255,255,255,.08),0 0 0 8px rgba(255,202,35,.28),0 12px 28px rgba(0,0,0,.2)}}
.trial-badge{box-shadow:0 0 0 10px rgba(255,255,255,.07),0 0 0 11px rgba(255,202,35,.32)}
@media(max-width:760px){.trial-badge{box-shadow:0 0 0 7px rgba(255,255,255,.07),0 0 0 8px rgba(255,202,35,.32)}}
.trial-badge{box-shadow:0 0 0 10px #143a7a,0 0 0 11px rgba(255,202,35,.45)}
@media(max-width:760px){.trial-badge{box-shadow:0 0 0 7px #143a7a,0 0 0 8px rgba(255,202,35,.45)}}
/* V1.7 desktop/tablet: the trial note takes the slot of the location line, which the yellow bar
   already shows on these screens ("Online worldwide • Doha home lessons"), so the hero keeps V1.6's height. */
@media(min-width:761px){
  .hero-copy>.hero-languages{display:none}
  .hero-copy>.hero-trial-note{margin:0}
  .hero-copy>.hero-actions{margin:32px 0 18px}
}
@media(max-width:760px){
  .trial-actions .btn-trial{font-size:14px;gap:10px;padding:12px 14px}
  .trial-actions .btn-trial .btn-arrow{display:none}
}
/* V1.7: the offer link in the yellow bar gets a ≥24px tap target (WCAG 2.2 target size) without changing the bar's height. */
.announcement-link{display:inline-flex;align-items:center;min-height:24px}
@media(max-width:760px){.announcement{padding-top:5px;padding-bottom:5px}}

/* V1.7.1 RTL Hero visibility refinement — Arabic ONLY.
   Purpose: keep the booking action visible in the first browser viewport on
   Arabic desktop and phones without changing EN layouts or the approved avatar.
   Mobile short viewports prioritise the action before the programme chips. */
@media (min-width:761px) {
  html[dir="rtl"] .hero-copy {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    padding-block:28px 44px;
  }
  html[dir="rtl"] .hero-copy>.eyebrow {order:1}
  html[dir="rtl"] .hero-copy>.hero-title {
    order:2;
    margin:12px 0 14px;
    font-size:clamp(44px,4.7vw,67px);
  }
  html[dir="rtl"] .hero-copy>.hero-lede {
    order:3;
    margin:0 0 13px;
    line-height:1.65;
  }
  /* Place the conversion action before the secondary programme index. */
  html[dir="rtl"] .hero-copy>.hero-actions {
    order:4;
    margin:7px 0 11px;
    gap:17px;
    flex-wrap:wrap;
  }
  html[dir="rtl"] .hero-copy>.hero-trial-note {order:5;margin:0 0 13px}
  html[dir="rtl"] .hero-copy>.hero-tags {order:6;gap:7px}
  html[dir="rtl"] .hero-copy>.hero-social {order:7;margin-top:15px}
  html[dir="rtl"] .hero-copy>.hero-languages {display:none}
}
@media (max-width:760px) {
  html[dir="rtl"] .hero-copy>.eyebrow {margin-top:10px}
  html[dir="rtl"] .hero-copy>.hero-title {
    margin:5px 0 0;
    font-size:clamp(30px,8.8vw,40px);
  }
  html[dir="rtl"] .ht-lead {line-height:1.28}
  html[dir="rtl"] .ht-journey {line-height:1.2;padding-bottom:.18em}
  html[dir="rtl"] .ht-end {line-height:1.28}
  html[dir="rtl"] .hero-copy>.hero-languages {margin-top:7px;line-height:1.5}
  html[dir="rtl"] .hero-visual {margin-top:8px}
  html[dir="rtl"] .hero-avatar {width:clamp(145px,24svh,195px)}
  html[dir="rtl"] .hero-copy>.hero-tags {margin-top:9px;gap:5px}
  html[dir="rtl"] .hero-tags span {font-size:10.5px;padding:5px 8px}
  html[dir="rtl"] .hero-copy>.hero-actions {margin-top:9px}
  html[dir="rtl"] .hero-copy>.hero-trial-note {margin-top:6px}
  html[dir="rtl"] .hero-copy>.hero-social {margin-top:12px}
}
/* On short phones the primary booking CTA takes priority over the optional
   curriculum chips. Both remain visible; nothing is deleted or hidden. */
@media (max-width:760px) and (max-height:740px) {
  html[dir="rtl"] .hero-copy>.hero-actions {order:5}
  html[dir="rtl"] .hero-copy>.hero-tags {order:6;margin-top:7px}
  html[dir="rtl"] .hero-copy>.hero-trial-note {order:7}
  html[dir="rtl"] .hero-copy>.hero-social {order:8}
}
/* V1.7.1 (Claude QA): short desktop/laptop browser windows — Arabic ONLY, ≥761px wide and ≤720px tall
   (e.g. a 1366×768 laptop leaves a ~650px viewport after the taskbar and browser toolbar).
   The slogan scales with the viewport height as well as the width, so the booking CTA stays in the
   first screen. Viewports taller than 720px are unaffected (identical to the ChatGPT V1.7.1 candidate). */
@media (min-width:761px) and (max-height:720px) {
  html[dir="rtl"] .hero-copy {padding-block:16px 36px}
  html[dir="rtl"] .hero-copy>.eyebrow {margin-top:0}
  html[dir="rtl"] .hero-copy>.hero-title {
    margin:6px 0 8px;
    font-size:clamp(36px,min(4.7vw,8.2vh),67px);
    font-size:clamp(36px,min(4.7vw,8.2svh),67px);
  }
  html[dir="rtl"] .hero-copy>.hero-lede {margin-bottom:8px;line-height:1.6}
  html[dir="rtl"] .hero-copy>.hero-actions {margin:4px 0 9px}
}

/* ===================== V1.8: unified enquiry form =====================
   Form-only additions (existing field/label/button styles are reused). No hero, header or layout changes. */
.form-required-note{margin:4px 0 0;font-size:12px;font-weight:700;color:#55647a}
.enquiry-card .req{color:#b42318;font-weight:900;margin-inline-start:2px}
.enquiry-card .opt{font-weight:600;color:#5d6b80}
.enquiry-card .field[hidden],.form-errors[hidden],.form-status[hidden],.field-error[hidden]{display:none}
.enquiry-card .field-error{margin:6px 0 0;font-size:12px;font-weight:700;line-height:1.45;color:#b42318}
.enquiry-card [aria-invalid="true"]{border-color:#d92d20;background:#fff7f6}
.enquiry-card [aria-invalid="true"]:focus{border-color:#d92d20;outline-color:#fecdca}
.enquiry-card .check{display:flex;align-items:center;gap:9px;margin:9px 0 0;font-size:12.5px;font-weight:700;color:#34506f;cursor:pointer}
.enquiry-card .check input{width:20px;height:20px;flex:0 0 20px;margin:0;padding:0;accent-color:var(--blue);cursor:pointer}
.enquiry-card input:disabled{opacity:.55;cursor:not-allowed}
.enquiry-card .form-hint strong{color:#5c4300}
.form-errors{margin:18px 0 0;padding:10px 12px;border-radius:10px;background:#fef3f2;border:1px solid #fecdca;color:#912018;font-size:12.5px;font-weight:700;line-height:1.5}
.form-request-note{margin:12px 0 0;font-size:12px;line-height:1.55;color:#4c5d75}
.form-status{margin:12px 0 0;padding:11px 13px;border-radius:10px;background:#ecfdf3;border:1px solid #abefc6;color:#05603a;font-size:12.5px;font-weight:700;line-height:1.5}
.form-status a{color:#05603a;text-decoration:underline;text-underline-offset:2px}
html[dir="rtl"] .enquiry-card .check,html[dir="rtl"] .form-required-note{font-size:13px}
html[dir="rtl"] .enquiry-card .field-error,html[dir="rtl"] .form-errors,html[dir="rtl"] .form-request-note,html[dir="rtl"] .form-status{font-size:13px}
/* The floating WhatsApp button leads to this form, so it hides while the form is on screen (all sizes). */
html.form-visible .floating-wa{opacity:0;visibility:hidden;transform:scale(.6);pointer-events:none;transition:opacity .2s,transform .2s,visibility .2s}

/* ===================== V1.9: English desktop hero on shorter laptop windows =====================
   English ONLY (html[dir="ltr"]), ≥761px wide. Arabic keeps its approved V1.7.1 rules.
   Windows ≥821px tall (e.g. 1440×900, 1920×1080) are unaffected.
   Tier 1 (≤820px tall, e.g. 1366×768): trims spacing only — same typography.
   Tier 2 (≤740px tall, e.g. 1280×720): the slogan also scales with the window height.
   Tier 3 (≤680px tall, real laptop windows after browser toolbars): slightly tighter again.
   The avatar size and artwork are never changed. */
@media (min-width:761px) and (max-height:820px) {
  html[dir="ltr"] .hero-copy {padding-block:30px 52px}
  html[dir="ltr"] .hero-copy>.hero-title {margin:12px 0 16px}
  html[dir="ltr"] .hero-copy>.hero-lede {margin-bottom:18px}
  html[dir="ltr"] .hero-copy>.hero-actions {margin:22px 0 16px}
}
@media (min-width:761px) and (max-height:740px) {
  html[dir="ltr"] .hero h1.hero-title {
    font-size:clamp(45px,min(5.5vw,9vh),76px);
    font-size:clamp(45px,min(5.5vw,9svh),76px);
  }
}
@media (min-width:761px) and (max-height:680px) {
  html[dir="ltr"] .hero-copy {padding-block:20px 44px}
  html[dir="ltr"] .hero-copy>.hero-title {margin:8px 0 12px}
  html[dir="ltr"] .hero-copy>.hero-lede {margin-bottom:12px}
  html[dir="ltr"] .hero-copy>.hero-actions {margin:14px 0 14px}
  html[dir="ltr"] .hero h1.hero-title {
    font-size:clamp(42px,min(5.5vw,8.6vh),76px);
    font-size:clamp(42px,min(5.5vw,8.6svh),76px);
  }
}
