/*
 * Mindset Growth Hub: Home page (English, LTR).
 * Every <style> block of tpl-en-home in final.html, in its original order.
 */

/* ---------- 1. Brand system (colours sampled from the logo) ---------- */
:root {
  --primary: #3A66AE;        /* logo blue */
  --primary-dark: #2B4F8C;
  --navy: #14244B;           /* deep ground built from the logo blue */
  --secondary: #F6AB1C;      /* logo amber */
  --secondary-dark: #DB9206;
  --accent: #BCD6EC;         /* logo sky ("Mindset" wordmark) */
  --accent-soft: #E4EFF9;
  --background: #F4F7FC;
  --surface: #FFFFFF;
  --text: #14244B;
  --muted: #55627F;
  --line: #DDE6F2;
  --font-display: "Alexandria", "IBM Plex Sans Arabic", Tahoma, system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", system-ui, sans-serif;
  --r-sm: 12px; --r-md: 20px; --r-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(20,36,75,.06);
  --shadow-md: 0 14px 34px -12px rgba(20,36,75,.22);
  --shadow-lg: 0 30px 60px -24px rgba(20,36,75,.38);
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--background); line-height: 1.6; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 56ch; margin-top: 14px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--secondary); color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
svg.lucide { width: 1.15em; height: 1.15em; flex: none; }

/* The brand shape: the logo's bar (square top-left, everything else round) */
.bar { border-radius: 10px 999px 999px 999px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s; white-space: nowrap; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--secondary); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(246,171,28,.8); }
.btn-primary:hover { background: #FFBB33; transform: translateY(-2px); }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0C1838; transform: translateY(-2px); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn-outline { color: var(--primary-dark); box-shadow: inset 0 0 0 2px var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Scroll reveal (only hidden when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 3. Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .97rem; color: var(--text); transition: background .2s, color .2s; }
.nav a[aria-current="page"] { color: var(--primary-dark); }
.nav a:hover { background: var(--accent-soft); color: var(--primary-dark); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 46px; padding: 0 22px; }
.login { font-weight: 700; padding: 10px 14px; color: var(--primary-dark); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); place-items: center; color: var(--navy); }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }

/* ---------- 4. Hero (centred headline, category chips floating around it) ---------- */
.hero { color: #fff; position: relative; overflow: hidden; text-align: center; padding: clamp(84px, 11vw, 150px) 0 clamp(96px, 12vw, 160px);
  background: linear-gradient(120deg, var(--navy) 0%, var(--primary-dark) 55%, var(--primary) 100%); }
/* EDIT: hero photo. Replace the url() below with your own image. */
.hero-photo { background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=75"); position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; mix-blend-mode: luminosity; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-bars { position: absolute; left: 50%; top: -60px; transform: translateX(-50%); display: flex; gap: 34px; opacity: .16; pointer-events: none; }
.hero-bars i { width: 190px; height: 520px; background: #fff; border-radius: 14px 999px 999px 999px; animation: drift 14s ease-in-out infinite; }
.hero-bars i:nth-child(2) { margin-top: 90px; background: var(--secondary); animation-delay: -5s; }
.hero-bars i:nth-child(3) { margin-top: 180px; animation-delay: -9s; }
@keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
.hero-in { position: relative; max-width: 860px; margin-inline: auto; z-index: 2; }
.hero h1 { font-size: clamp(2.7rem, 6.8vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.hero h1 span { display: block; }
.hero h1 .l2 { color: var(--secondary); }
.hero-sub { color: #D5E0F3; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46ch; margin: 24px auto 0; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.chip { position: absolute; pointer-events: auto; display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; color: var(--text); padding: 10px 20px 10px 10px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 700; font-size: .98rem; animation: float 7s ease-in-out infinite; transition: box-shadow .3s; }
.chip:hover { box-shadow: 0 0 0 3px var(--secondary), var(--shadow-lg); }
.chip svg { width: 46px !important; height: 46px !important; padding: 12px; border-radius: 50%; background: var(--primary); color: #fff; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.chip:nth-child(even) svg { background: var(--secondary); color: var(--navy); }
.chip:nth-child(3) svg { background: var(--navy); }
.chip:nth-child(1) { top: 13%; left: 7%; }
.chip:nth-child(2) { top: 11%; right: 8%; animation-delay: -2s; }
.chip:nth-child(3) { top: 46%; left: 2.5%; animation-delay: -4s; }
.chip:nth-child(4) { top: 50%; right: 3%; animation-delay: -1s; }
.chip:nth-child(5) { bottom: 21%; left: 17%; animation-delay: -3s; }
.chip:nth-child(6) { bottom: 19%; right: 15%; animation-delay: -5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.js .hero .seq { opacity: 0; transform: translateY(24px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--i) * .12s + .1s); }
.js .hero .chip { opacity: 0; animation: pop .6s var(--ease) forwards, float 7s ease-in-out 1.4s infinite; }
.js .hero .chip:nth-child(1) { animation-delay: .5s, 1.4s; } .js .hero .chip:nth-child(2) { animation-delay: .6s, 1.9s; }
.js .hero .chip:nth-child(3) { animation-delay: .7s, 2.4s; } .js .hero .chip:nth-child(4) { animation-delay: .8s, 1.6s; }
.js .hero .chip:nth-child(5) { animation-delay: .9s, 2.1s; } .js .hero .chip:nth-child(6) { animation-delay: 1s, 2.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
@media (max-width: 1180px) {
  .hero-chips { position: relative; inset: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; padding: 0 20px; }
  .hero .chip { position: static; animation: none !important; opacity: 1 !important; }
}

/* ---------- 5. Trust / stats ---------- */
.stats { margin-top: -64px; position: relative; z-index: 2; }
.stats-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-md); display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px; }
.stat { padding: 26px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; height: 48%; width: 1px; background: var(--line); }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; color: var(--primary); display: block; letter-spacing: -.03em; }
.stat:nth-child(even) b { color: var(--navy); }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- 6. Popular courses ---------- */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.course { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; position: relative; }
.course:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cover { height: 190px; border-radius: var(--r-md) var(--r-md) 0 0; position: relative; overflow: hidden; background: var(--primary); color: #fff; }
.cover-art { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .6s var(--ease); }
.course:hover .cover-art { transform: scale(1.08); }
.cover-art::before, .cover-art::after { content: ""; position: absolute; width: 74px; height: 170px; border-radius: 8px 999px 999px 999px; background: rgba(255,255,255,.14); top: -30px; right: 34px; }
.cover-art::after { right: 122px; top: -70px; background: rgba(255,255,255,.08); }
.cover-art svg { width: 64px; height: 64px; stroke-width: 1.5; position: relative; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,36,75,.45), transparent 55%); opacity: 0; transition: opacity .35s; }
.course:hover .cover::after { opacity: 1; }
.cover.t-amber { background: var(--secondary); color: var(--navy); }
.cover.t-navy { background: var(--navy); }
.cover.t-sky { background: var(--accent); color: var(--navy); }
.cover.t-amber .cover-art::before, .cover.t-sky .cover-art::before { background: rgba(255,255,255,.35); }
.cover.t-amber .cover-art::after, .cover.t-sky .cover-art::after { background: rgba(255,255,255,.22); }
.cat { position: absolute; left: 16px; top: 16px; z-index: 1; background: #fff; color: var(--navy); font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.price { position: absolute; right: 20px; top: 158px; z-index: 2; min-width: 64px; height: 64px; padding: 0 10px; border-radius: 999px; background: var(--secondary); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; box-shadow: 0 8px 18px -6px rgba(246,171,28,.9); border: 4px solid #fff; }
.course-body { padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course-body p { color: var(--muted); font-size: .96rem; }
.teacher { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.teacher span { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; }
.meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.meta li { display: flex; align-items: center; gap: 6px; }
.meta .rate svg { color: var(--secondary); fill: var(--secondary); }
.course-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.course-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary-dark); }
.course-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); } /* whole card clickable */
.course-link svg { transition: transform .25s var(--ease); }
.course:hover .course-link svg { transform: translateX(6px); }
.course-all { background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 34px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.course-all::before { content: ""; position: absolute; width: 120px; height: 260px; right: -20px; bottom: -90px; background: var(--primary); border-radius: 10px 999px 999px 999px; }
.course-all::after { content: ""; position: absolute; width: 90px; height: 200px; right: 112px; bottom: -110px; background: var(--secondary); border-radius: 10px 999px 999px 999px; }
.course-all h3 { font-size: 1.9rem; max-width: 12ch; position: relative; }
.course-all p { color: #C9D6EE; position: relative; max-width: 26ch; margin-top: 10px; }
.course-all .btn { align-self: flex-start; position: relative; z-index: 1; }

/* ---------- 7. Why learn with us (three columns: visual + card / tall orbit / card + visual) ---------- */
.why { background: var(--surface); }
.center-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.center-head .lead { margin-inline: auto; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-col { display: grid; gap: 22px; grid-template-rows: 1fr 1fr; }
.why-col.tall { grid-template-rows: 1fr; }
.wcard { background: var(--background); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.wcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.wcard .w-ico { width: 50px; height: 50px; border-radius: 6px 999px 999px 999px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 18px; }
.wcard .num { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--accent); }
.wcard .top { display: flex; align-items: flex-start; }
.wcard p { color: var(--muted); margin-top: auto; padding-top: 14px; }
/* Visual tiles. EDIT: put <img src="photo.jpg" alt="..."> inside .wimg to use a photo */
.wimg { border-radius: var(--r-lg); min-height: 250px; position: relative; overflow: hidden; background: var(--primary); color: #fff; display: grid; place-items: center; }
.wimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: transform .8s var(--ease); }
.wimg:hover img, .wimg:hover .art { transform: scale(1.06); }
.wimg .art { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.wimg .art::before, .wimg .art::after { content: ""; position: absolute; width: 96px; height: 250px; border-radius: 10px 999px 999px 999px; background: rgba(255,255,255,.16); right: 40px; top: -50px; }
.wimg .art::after { right: 156px; top: -110px; background: var(--secondary); opacity: .9; }
.wimg > svg { position: relative; width: 72px; height: 72px; stroke-width: 1.4; }
.wimg.amber { background: var(--navy); align-content: end; justify-items: start; padding: 30px; }
.wimg.amber .art::after { background: var(--primary); }
.wimg.amber .art::before { background: var(--secondary); }
.wimg.amber h3, .wimg.amber p, .wimg.amber .num { position: relative; z-index: 3; }
.wimg.amber p { color: #C9D6EE; margin-top: 8px; max-width: 28ch; }
.wimg.amber .num { font-family: var(--font-display); font-weight: 800; color: var(--secondary); margin-bottom: 6px; }
/* Orbit */
.orbit { position: relative; width: min(100%, 290px); aspect-ratio: 1; margin: 6px auto 34px; }
.ring { position: absolute; inset: 0; border: 1.5px dashed #BFCDE2; border-radius: 50%; animation: spin 50s linear infinite; }
.ring.r2 { inset: 22%; animation-duration: 36s; animation-direction: reverse; }
.ring span { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); border: 3px solid #fff; overflow: hidden; }
.ring span img { width: 100%; height: 100%; object-fit: cover; }
.ring span:nth-child(1) { top: -24px; left: calc(50% - 24px); }
.ring span:nth-child(2) { bottom: 8%; left: 1%; background: var(--secondary); color: var(--navy); }
.ring span:nth-child(3) { bottom: 8%; right: 1%; background: var(--accent); color: var(--navy); }
.ring.r2 span { width: 38px; height: 38px; }
.ring.r2 span:nth-child(1) { top: 40%; left: -19px; background: var(--navy); }
.ring.r2 span:nth-child(2) { top: 40%; right: -19px; left: auto; bottom: auto; }
.orbit-core { position: absolute; inset: 36%; border-radius: 50%; background: var(--secondary); color: var(--navy); display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 0 0 12px rgba(246,171,28,.2); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-col.tall { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- 8. What you'll get (dashboard) ---------- */
.get { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.get .lead { color: #C9D6EE; margin-inline: auto; }
.get-head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.get-grid { display: grid; grid-template-columns: 1fr minmax(320px, 1.15fr) 1fr; gap: 36px; align-items: center; }
.get-list { display: grid; gap: 14px; }
.get-item { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s var(--ease), border-color .3s; }
.get-item:hover { background: rgba(255,255,255,.12); border-color: var(--secondary); transform: translateX(6px); }
.get-list.right .get-item:hover { transform: translateX(-6px); }
.get-item .gi { width: 46px; height: 46px; flex: none; border-radius: 6px 999px 999px 999px; background: var(--primary); display: grid; place-items: center; font-size: 1.15rem; }
.get-item:nth-child(even) .gi { background: var(--secondary); color: var(--navy); }
.get-item b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.get-item small { color: #B9C7E3; font-size: .86rem; line-height: 1.35; display: block; }
.dash-wrap { position: relative; }
.dash { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-top b { font-family: var(--font-display); font-size: 1.15rem; }
.dash-top span { font-size: .8rem; font-weight: 700; background: var(--accent-soft); color: var(--primary-dark); padding: 5px 12px; border-radius: 999px; }
.progress { background: var(--background); border-radius: var(--r-md); padding: 18px; }
.progress-row { display: flex; justify-content: space-between; font-weight: 700; font-size: .92rem; margin-bottom: 10px; }
.pbar { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.pbar i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 999px; transition: width 1.4s var(--ease) .3s; }
.in .pbar i { width: var(--p, 68%); }
.lessons { margin-top: 14px; display: grid; gap: 8px; }
.lessons li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: .92rem; font-weight: 600; }
.lessons li.now { background: #FEF3D9; }
.lessons .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: .8rem; flex: none; }
.lessons .now .dot { background: var(--secondary); color: var(--navy); }
.lessons .todo .dot { background: var(--line); color: var(--muted); }
.lessons small { margin-left: auto; color: var(--muted); font-weight: 500; }
.float-card { position: absolute; background: #fff; color: var(--text); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .88rem; animation: float 8s ease-in-out infinite; }
.float-card svg { color: var(--secondary-dark); }
.float-card.f1 { top: -22px; right: -18px; }
.float-card.f2 { bottom: -22px; left: -18px; animation-delay: -3s; }
.float-card.f2 svg { color: var(--primary); }

/* ---------- 9. Learner success ---------- */
.success-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 22px; }
.s-card { border-radius: var(--r-lg); padding: 32px; background: var(--surface); box-shadow: var(--shadow-sm); }
.s-ring { grid-row: span 2; background: var(--primary); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.ring-svg { width: 210px; height: 210px; transform: rotate(-90deg); }
.ring-svg circle { fill: none; stroke-width: 14; }
.ring-svg .bg { stroke: rgba(255,255,255,.18); }
.ring-svg .fg { stroke: var(--secondary); stroke-linecap: round; stroke-dasharray: 565; stroke-dashoffset: 565; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.in .ring-svg .fg { stroke-dashoffset: 28; } /* 95% of 565 */
.ring-box { position: relative; }
.ring-box b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; }
.s-ring p { color: #DCE7F8; max-width: 26ch; }
.s-num b { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; display: block; letter-spacing: -.03em; }
.s-num span { color: var(--muted); font-weight: 600; }
.s-num.amber { background: var(--secondary); box-shadow: none; }
.s-num.amber span { color: var(--navy); }
.s-num svg { width: 30px; height: 30px; margin-bottom: 18px; color: var(--primary); }
.s-num.amber svg { color: var(--navy); }
.s-skills { grid-column: span 2; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.s-skills > div:first-child { flex: 1 1 240px; }
.s-skills p { color: var(--muted); margin-top: 8px; }
.cert { flex: 0 1 280px; border: 2px solid var(--line); border-radius: var(--r-md); padding: 20px; position: relative; background: linear-gradient(135deg, #fff, var(--accent-soft)); }
.cert small { color: var(--muted); font-weight: 600; font-size: .78rem; }
.cert b { display: block; font-family: var(--font-display); font-size: 1.25rem; margin: 4px 0 12px; }
.cert i { display: block; height: 6px; border-radius: 99px; background: var(--line); margin-top: 7px; }
.cert i:last-of-type { width: 60%; }
.cert .seal { position: absolute; right: 16px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--secondary); color: var(--navy); display: grid; place-items: center; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.skill-chips span { padding: 7px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--primary-dark); font-weight: 700; font-size: .86rem; }

/* ---------- 10. Reviews (heading + featured quote on the left, two promo cards on the right) ---------- */
.reviews { background: var(--background); }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: stretch; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--primary-dark); font-weight: 700; font-size: .85rem; padding: 8px 16px; border-radius: 999px; margin-bottom: 18px; }
.rev-left { display: flex; flex-direction: column; }
.rev-stage { position: relative; margin-top: 36px; flex: 1; display: flex; }
.rev-stage::before { content: ""; position: absolute; width: 110px; height: 250px; left: -34px; top: 30px; background: var(--accent); border-radius: 12px 999px 999px 999px; }
.rev-card { position: relative; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: clamp(24px, 3.4vw, 40px); width: 100%; display: flex; flex-direction: column; min-width: 0; }
.rev-card > svg { width: 54px; height: 54px; color: var(--accent); fill: var(--accent); margin-bottom: 8px; }
.rev-view { overflow: hidden; flex: 1; }
.rev-track { display: flex; height: 100%; transition: transform .6s var(--ease); }
.rev { flex: 0 0 100%; display: flex; flex-direction: column; gap: 16px; }
.rev .stars { display: flex; gap: 4px; color: var(--secondary); }
.rev .stars svg { fill: currentColor; width: 22px; height: 22px; }
.rev blockquote { margin: 0; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; font-weight: 500; }
.rev-who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.rev-who .av { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; overflow: hidden; flex: none; }
.rev-who .av img { width: 100%; height: 100%; object-fit: cover; }
.rev-who b { display: block; }
.rev-who small { color: var(--muted); }
.rev-course { background: var(--accent-soft); color: var(--primary-dark); padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.rev-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.rev-ctrl button.arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--navy); transition: background .25s, color .25s, transform .25s var(--ease); }
.rev-ctrl button.arrow:hover { background: var(--primary); color: #fff; transform: scale(1.06); }
.dots { display: flex; gap: 8px; margin-left: auto; }
.dots button { width: 10px; height: 10px; border-radius: 999px; background: var(--line); transition: width .3s var(--ease), background .3s; padding: 0; }
.dots button[aria-current="true"] { width: 30px; background: var(--primary); }
.rev-side { display: grid; gap: 22px; }
.promo { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: center; position: relative; overflow: hidden; }
.promo h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.promo p { margin: 12px 0 18px; font-size: .98rem; }
.promo .pill { margin-bottom: 14px; }
.promo.feat { background: var(--navy); color: #fff; }
.promo.feat p { color: #C9D6EE; }
.promo.feat .pill { background: var(--primary); color: #fff; }
.promo.feat .meta { color: #DCE7F8; margin-bottom: 20px; }
.promo.join { background: var(--accent-soft); }
.promo.join p { color: var(--muted); }
.promo.join .pill { background: #fff; }
/* Promo artwork. EDIT: add <img src="photo.jpg" alt=""> inside .promo-art to use a photo */
.promo-art { position: relative; aspect-ratio: 1 / 1.05; border-radius: 12px 999px 999px 999px; background: var(--primary); display: grid; place-items: center; color: #fff; }
.promo-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.promo-art > svg { width: 44%; height: 44%; stroke-width: 1.3; }
.promo.join .promo-art { background: var(--secondary); color: var(--navy); }
.promo-art .tag { position: absolute; background: #fff; color: var(--navy); border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: .8rem; box-shadow: var(--shadow-md); animation: float 7s ease-in-out infinite; white-space: nowrap; }
.promo-art .tag:nth-of-type(1) { top: 6%; left: -8%; }
.promo-art .tag:nth-of-type(2) { bottom: 14%; right: -4%; animation-delay: -3s; background: var(--secondary); }
.promo.join .promo-art .tag:nth-of-type(2) { background: var(--navy); color: #fff; }
@media (max-width: 960px) { .rev-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .promo { grid-template-columns: 1fr; } .promo-art { max-width: 200px; order: -1; } .rev-stage::before { left: -14px; } }

/* ---------- 11. Trusted by ---------- */
.trusted { padding: 56px 0; text-align: center; }
.trusted h2 { font-size: 1.35rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.marquee { margin-top: 16px; padding-block: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee var(--marquee-time, 38s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.logo-slot { width: 170px; height: 68px; border-radius: 14px; border: 2px dashed #C3D0E3; display: grid; place-items: center; color: #7C8AA6; font-weight: 700; font-size: .85rem; flex: none; transition: border-color .35s, color .35s, transform .35s var(--ease), box-shadow .35s; }
.logo-slot.has-img { border-style: solid; border-color: var(--line); background: var(--surface); }
.logo-slot img { max-height: 40px; max-width: 78%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .45s var(--ease), opacity .45s, transform .45s var(--ease); }
/* Hover: the logo itself lights up in its own colours (the card background stays the same) */
.logo-slot:hover { border-color: var(--accent); color: var(--primary); transform: translateY(-4px); box-shadow: 0 14px 28px -16px rgba(20,36,75,.35); }
.logo-slot:hover img { filter: grayscale(0) saturate(1.15); opacity: 1; transform: scale(1.1); }
@keyframes marquee { to { transform: translateX(var(--marquee-shift, calc(-50% - 11px))); } }

/* ---------- 12. FAQ ---------- */
.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-media { position: relative; margin-top: 40px; max-width: 420px; padding-inline-start: 18px; padding-bottom: 20px; }
.faq-media::before { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 55%; height: 68%; background: var(--secondary); border-radius: 12px 12px 999px 999px; }
.faq-photo { position: relative; z-index: 1; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--accent-soft); box-shadow: var(--shadow-lg); }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; transition: transform .6s var(--ease); }
.faq-media:hover .faq-photo img { transform: scale(1.05); }
.help { margin-top: 32px; background: var(--accent-soft); border-radius: var(--r-md); padding: 24px; display: flex; gap: 16px; align-items: center; }
.help svg { width: 28px; height: 28px; color: var(--primary); }
.help a { font-weight: 700; color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; transition: color .2s; }
.faq-q:hover { color: var(--primary); }
.faq-q .pm { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-q[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--secondary); color: var(--navy); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 60px 24px 4px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- 13. Final CTA ---------- */
.cta { padding: clamp(48px, 7vw, 90px) 0; background: var(--surface); }
.cta-box { background: var(--secondary); border-radius: var(--r-lg); padding: clamp(40px, 7vw, 88px) clamp(26px, 6vw, 80px); position: relative; overflow: hidden; }
.cta-box h2 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); max-width: 12ch; position: relative; z-index: 1; }
.cta-box p { font-size: 1.15rem; max-width: 38ch; margin: 18px 0 30px; position: relative; z-index: 1; font-weight: 500; }
.cta-box .btn { position: relative; z-index: 1; }
.cta-bars { position: absolute; right: 6%; top: -40px; display: flex; gap: 20px; }
.cta-bars i { width: 110px; height: 320px; border-radius: 10px 999px 999px 999px; background: var(--primary); animation: float 9s ease-in-out infinite; }
.cta-bars i:nth-child(2) { background: #fff; margin-top: 60px; animation-delay: -3s; }
.cta-bars i:nth-child(3) { margin-top: 120px; animation-delay: -6s; background: var(--navy); }

/* ---------- 14. Footer ---------- */
.footer { background: var(--navy); color: #C9D6EE; padding: 72px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 16px; }
.foot-logo img { height: 48px; width: auto; }
.footer p { margin-top: 18px; max-width: 34ch; font-size: .96rem; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; letter-spacing: 0; }
.footer li { margin-bottom: 10px; font-size: .96rem; }
.footer li a { transition: color .2s; display: inline-flex; gap: 10px; align-items: center; }
.footer li a:hover { color: var(--secondary); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .25s, color .25s, transform .25s var(--ease); }
.social a:hover { background: var(--secondary); color: var(--navy); transform: translateY(-3px); }
.foot-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
.foot-bottom div { display: flex; gap: 22px; }
.foot-bottom a:hover { color: var(--secondary); }

/* ---------- 14b. About ---------- */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-media { position: relative; padding: 0 0 36px 36px; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 130px; height: 300px; background: var(--secondary); border-radius: 12px 999px 999px 999px; }
.about-media::after { content: ""; position: absolute; right: -18px; top: -22px; width: 80px; height: 180px; background: var(--accent); border-radius: 12px 999px 999px 999px; z-index: 0; }
.about-photo { position: relative; z-index: 1; aspect-ratio: 4 / 4.3; border-radius: var(--r-lg); overflow: hidden; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.about-photo > svg { width: 80px; height: 80px; stroke-width: 1.3; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-media:hover .about-photo img { transform: scale(1.05); }
.about-badge { position: absolute; z-index: 2; right: -14px; bottom: 70px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; animation: float 8s ease-in-out infinite; }
.about-badge span { width: 44px; height: 44px; border-radius: 50%; background: var(--secondary); color: var(--navy); display: grid; place-items: center; }
.about-badge span svg { fill: currentColor; }
.about-badge b { font-family: var(--font-display); font-size: 1.3rem; display: block; line-height: 1.1; }
.about-badge small { color: var(--muted); font-weight: 600; }
.pill.caps { letter-spacing: .08em; }
.about-points { display: grid; gap: 16px; margin: 28px 0 32px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.about-points span { width: 34px; height: 34px; flex: none; border-radius: 5px 999px 999px 999px; background: var(--primary); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.about-points li:nth-child(2) span { background: var(--secondary); color: var(--navy); }
.about-points b { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.about-points small { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-media { max-width: 520px; } .about-badge { right: 0; } }

/* ---------- 14c. Stats now sit below About: compact navy strip ---------- */
.stats { margin-top: 0; background: var(--surface); padding-bottom: clamp(48px, 7vw, 88px); }
.stats-card { background: var(--navy); box-shadow: var(--shadow-md); }
.stat { padding: 22px 16px; }
.stat b, .stat:nth-child(even) b { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.stat:nth-child(even) b { color: var(--secondary); }
.stat span { color: #C9D6EE; font-size: .92rem; }
.stat + .stat::before { background: rgba(255,255,255,.16); }

/* ---------- 14d. Course cards with photos + pagination ---------- */
.course { border: 1px solid var(--line); animation: cardIn .5s var(--ease) both; animation-delay: var(--d, 0s); }
.course:hover { border-color: var(--accent); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.cover { height: auto; aspect-ratio: 16 / 10; }
.cover img { transition: transform .7s var(--ease); z-index: 1; }
.course:hover .cover img { transform: scale(1.08); }
.cover::after { z-index: 2; }
.cat { z-index: 3; }
.price { top: auto; margin-top: -34px; right: 20px; position: absolute; }
.cover-wrap { position: relative; }
.stars-row { display: inline-flex; gap: 2px; color: var(--secondary); margin-right: 4px; }
.stars-row svg { fill: currentColor; width: 15px; height: 15px; }
.course-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.course-link { background: var(--accent-soft); padding: 10px 18px; border-radius: 999px; transition: background .25s, color .25s; }
.course:hover .course-link { background: var(--primary); color: #fff; }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.pager button { width: 40px; height: 40px; padding: 0; border-radius: 10px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: var(--navy); display: grid; place-items: center; font-family: inherit; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.pager button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pager button[aria-current="page"] { background: #0F2A55; border-color: #0F2A55; color: #fff; }
.pager button:disabled { opacity: .45; cursor: default; }
@media (max-width: 480px) { .pager .lbl { display: none; } }

/* ---------- 14e. Reviews slider fade + FAQ chevron ---------- */
.rev { opacity: 0; transform: scale(.97); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.rev.is-on { opacity: 1; transform: none; }
.faq-q[aria-expanded="true"] .pm { transform: rotate(180deg); }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-art { transform: scale(.88); transform-origin: center; }
  .courses { grid-template-columns: repeat(2, 1fr); }
  .get-grid { grid-template-columns: 1fr 1fr; }
  .dash-wrap { grid-column: 1 / -1; grid-row: 1; max-width: 520px; margin: 0 auto 20px; width: 100%; }
  .get-list.right .get-item:hover { transform: translateX(6px); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .login { display: none; }
  .nav { position: absolute; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 22px; gap: 2px; box-shadow: var(--shadow-md); border-top: 1px solid var(--line); display: none; }
  .menu-open .nav { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 430px; transform: none; margin-top: 10px; }
  .chip.c1 { left: 0; } .chip.c2 { right: 0; } .chip.c3 { left: 4%; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .t1 { grid-column: span 6; } .t2, .t3 { grid-column: span 3; } .t4 { grid-column: span 6; }
  .success-grid { grid-template-columns: 1fr 1fr; }
  .s-ring { grid-column: span 2; grid-row: auto; }
  .rev-grid, .faq-grid { grid-template-columns: 1fr; }
  .cta-bars { opacity: .35; right: -30px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-cta .btn { display: none; }
  .logo img { height: 42px; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .courses { grid-template-columns: 1fr; }
  .get-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .t1, .t2, .t3, .t4 { grid-column: auto; }
  .tags { position: static; justify-content: flex-start; margin: 70px 0 20px; }
  .tile { min-height: 220px; }
  .success-grid { grid-template-columns: 1fr; }
  .s-ring, .s-skills { grid-column: auto; }
  .hbar { width: 31%; max-width: 120px; height: 270px; padding: 16px 12px 36px; }
  .hbar strong { font-size: 1rem; }
  .hero-art { gap: 12px; height: 400px; }
  .chip { font-size: .82rem; padding: 7px 12px 7px 7px; }
  .chip small { display: none; }
  .float-card.f1 { right: 0; } .float-card.f2 { left: 0; }
  .search { flex-direction: column; border-radius: 26px; padding: 10px; }
  .search label { padding: 10px 12px; }
  .faq-a p { padding-right: 8px; }
  .rev-stage::before { right: -10px; } .rev-stage::after { left: -10px; }
  .rev-course { margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-bars { display: none; }
}

/* ---------- 4b. Hero (Arabic, RTL) ---------- */
.mh-hero { position: relative; overflow: hidden; background: #0C1033; color: #fff; font-family: "IBM Plex Sans Arabic", var(--font-body); }
.mh-photo { position: absolute; inset: 0; background: #0C1033 url("../../images/home-hero-mindset.jpg") center / cover no-repeat; } /* EDIT: hero background image (navy with the Mindset logo bars) */
.mh-scrim { position: absolute; inset: 0; background: radial-gradient(ellipse 48% 62% at 50% 50%, rgba(12,16,51,.82) 0%, rgba(12,16,51,.65) 55%, rgba(12,16,51,.25) 100%); }
.mh-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 72px 0 140px; }
.mh-copy { display: flex; flex-direction: column; align-items: center; max-width: 880px; }
.mh-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #E4EDF9; font-size: 14px; font-weight: 500; }
.mh-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }
.mh-title { margin-top: 26px; font-family: "Alexandria", var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.25; letter-spacing: 0; color: #fff; }
.mh-title span { display: block; }
.mh-title .l2 { color: var(--secondary); }
.mh-sub { margin: 22px auto 0; max-width: 38em; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.8; color: #D5E0F3; }
.mh-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.mh-hero .btn { font-family: inherit; font-weight: 600; min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.mh-hero .btn-ghost { background: rgba(20,36,75,.25); font-weight: 500; }
html[dir="rtl"] .mh-hero .btn:hover svg { transform: translateX(-4px); }
.mh-stats { display: flex; justify-content: center; margin-top: 40px; }
.mh-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.18); }
.mh-stat:first-child { padding-right: 0; }
.mh-stat:last-child { padding-left: 0; border-left: 0; }
.mh-stat b { font-family: "Alexandria", var(--font-display); font-weight: 500; font-size: 32px; line-height: 1.1; direction: ltr; unicode-bidi: isolate; text-align: center; }
.mh-stat:first-child b { color: var(--secondary); }
.mh-stat span { font-size: 15px; color: #C9D6EE; }
.mh-visual { position: relative; height: 480px; }
.mh-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--text); border-radius: 16px; padding: 12px 12px 12px 22px; box-shadow: 0 24px 48px -20px rgba(10,20,45,.6); }
.mh-card:nth-child(1) { left: 40px; top: 20px; }
.mh-card:nth-child(2) { left: 0; bottom: 0; }
.mh-card .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--primary); }
.mh-card:nth-child(2) .ic { background: #FDF0D5; color: #A86A00; }
.mh-card b { display: block; font-size: 15px; font-weight: 600; }
.mh-card small { display: block; font-size: 13px; color: var(--muted); }
.mh-cats { position: relative; z-index: 2; margin-top: -72px; background: #fff; border-radius: 24px; box-shadow: 0 30px 60px -28px rgba(20,36,75,.4); padding: 22px 28px 26px; font-family: "IBM Plex Sans Arabic", var(--font-body); }
.mh-cats-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.mh-cats-head h2 { font-family: "Alexandria", var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: 0; }
.mh-cats-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; color: var(--primary-dark); }
.mh-cats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mh-cat { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--background); font-weight: 500; transition: background .25s, box-shadow .25s; }
.mh-cat:hover { background: var(--accent-soft); }
.mh-cat .ic { width: 42px; height: 42px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; }
.mh-cat:nth-child(even) .ic { background: var(--secondary); color: var(--navy); }
.mh-cat:nth-child(3) .ic, .mh-cat:nth-child(6) .ic { background: var(--navy); color: #fff; }
.js .mh-hero .seq { opacity: 0; transform: translateY(24px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--i) * .12s + .1s); }
@media (max-width: 1080px) {
  .mh-scrim { background: rgba(12,16,51,.8); }
  .mh-grid { padding: 56px 0 112px; }
  .mh-visual { height: auto; display: flex; flex-wrap: wrap; gap: 12px; }
  .mh-card { position: static; }
  .mh-cats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mh-photo { inset: 0 0 auto 0; height: 280px; }
  .mh-scrim { inset: 0 0 auto 0; height: 280px; background: linear-gradient(to bottom, rgba(12,16,51,.35) 0%, rgba(12,16,51,.35) 45%, #0C1033 100%); }
  .mh-grid { padding: 220px 0 44px; }
  .mh-cta { flex-direction: column; align-self: stretch; }
  .mh-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-self: stretch; margin-top: 28px; }
  .mh-stat, .mh-stat:first-child, .mh-stat:last-child { padding: 14px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.07); }
  .mh-stat b { font-size: 26px; }
  .mh-stat span { font-size: 14px; }
  .mh-visual .mh-card:nth-child(2) { display: none; }
  .mh-card { flex: 1; }
  .mh-cats { margin-top: 0; background: none; box-shadow: none; padding: 28px 0 0; }
  .mh-cats-grid { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 8px; }
  .mh-cat { flex: none; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 6px 16px -10px rgba(20,36,75,.35); }
  .mh-cat .ic { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .js .mh-hero .seq { opacity: 1; transform: none; } }

/* ---------- 15b. Arabic / RTL adjustments ---------- */
[lang="ar"] * { letter-spacing: 0 !important; }
h1, h2, h3, h4 { line-height: 1.35; }
html[dir="rtl"] .btn:hover svg, html[dir="rtl"] .course:hover .course-link svg { transform: translateX(-5px); }
html[dir="rtl"] .get-item:hover { transform: translateX(-6px); }
html[dir="rtl"] .get-list.right .get-item:hover { transform: translateX(6px); }
html[dir="rtl"] .faq-q { text-align: right; }
html[dir="rtl"] .wcard .num { margin-left: 0; margin-right: auto; }
.marquee, .marquee-track, #revTrack { direction: ltr; }
#revTrack > * { direction: rtl; }
@media (max-width: 900px) { html[dir="rtl"] .get-list.right .get-item:hover { transform: translateX(-6px); } }
html[dir="rtl"] .stat + .stat::before { left: auto; right: 0; }
html[dir="rtl"] .cover-art::before { right: auto; left: 34px; }
html[dir="rtl"] .cover-art::after { right: auto; left: 122px; }
html[dir="rtl"] .cat { left: auto; right: 16px; }
html[dir="rtl"] .price { right: auto; left: 20px; }
html[dir="rtl"] .wimg .art::before { right: auto; left: 40px; }
html[dir="rtl"] .wimg .art::after { right: auto; left: 156px; }
html[dir="rtl"] .wimg.amber .art::before, html[dir="rtl"] .wimg.amber .art::after { width: 72px; height: 170px; top: -80px; }
html[dir="rtl"] .wimg.amber .art::after { left: 128px; top: -110px; }
html[dir="rtl"] .cert .seal { right: auto; left: 16px; }
html[dir="rtl"] .rev-stage::before { left: auto; right: -34px; }
html[dir="rtl"] .about-media::before { left: auto; right: 0; }
html[dir="rtl"] .about-media::after { right: auto; left: -18px; }
html[dir="rtl"] .about-badge { right: auto; left: -14px; }
html[dir="rtl"] .stars-row { margin-right: 0; margin-left: 4px; }
html[dir="rtl"] .stat b { direction: ltr; unicode-bidi: isolate; }
.mh-cat { padding: 12px; gap: 10px; font-size: 15px; white-space: nowrap; }
.mh-cat .ic { width: 38px; height: 38px; }
@media (max-width: 900px) { html[dir="rtl"] .about-badge { left: 0; } }
@media (max-width: 520px) { html[dir="rtl"] .rev-stage::before { right: -14px; } }

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero .seq { opacity: 1; transform: none; }
  /* Client logos keep scrolling (paused on hover) */
  .marquee-track { animation: marquee var(--marquee-time, 38s) linear infinite !important; }
  .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused !important; }
}

/* ---------- English (LTR) adjustments ---------- */
html[dir="ltr"] .xh-in, html[dir="ltr"] .ph-grid { text-align: left; }
html[dir="ltr"] .xh-photo, html[dir="ltr"] .ph-photo { left: auto; right: 0; }
html[dir="ltr"] .xh-photo img, html[dir="ltr"] .ph-photo img { transform: scaleX(-1); }
html[dir="ltr"] .f input[dir="ltr"] { text-align: left; }
html[dir="ltr"] .sel select { padding-left: 16px; padding-right: 40px; }
html[dir="ltr"] .sel .chev { left: auto; right: 14px; }
html[dir="ltr"] .field select { padding-left: 0; padding-right: 22px; }
html[dir="ltr"] .field .chev { left: auto; right: 14px; }
html[dir="ltr"] .sort select { padding: 6px 22px 6px 0; }
html[dir="ltr"] .sort .chev { left: auto; right: 0; }
html[dir="ltr"] .btn-card:hover .ico { transform: translateX(4px); }
html[dir="ltr"] #revTrack > * { direction: ltr; }
html[dir="ltr"] .ucta h2 { max-width: 13em !important; }
html[dir="ltr"] .ucta p { max-width: 30em; }
html[dir="ltr"] .wimg.amber .art::before, html[dir="ltr"] .wimg.amber .art::after { width: 72px; height: 170px; top: -80px; }
html[dir="ltr"] .wimg.amber .art::after { right: 128px; top: -110px; }
html[dir="ltr"] .banner-text { transform: translate(-50%, -50%) rotate(-4deg); }
@media (max-width: 860px) { html[dir="ltr"] .xh-photo, html[dir="ltr"] .ph-photo { right: auto; } html[dir="ltr"] .banner-text { right: auto; left: 24px; transform: translateY(-50%) rotate(-4deg); } }

/* CTA: light sky card, icon tile, navy text, amber button, three brand bars */
.ucta-wrap{padding:72px 0;background:#fff}.ucta{width:min(100% - 40px,1200px);margin:auto;background:linear-gradient(105deg,#ABC9E8 0%,#C4DAF0 100%);color:#14244B;border:1px solid rgba(58,102,174,.28);border-radius:36px;padding:clamp(40px,6vw,92px) clamp(28px,6vw,92px);position:relative;overflow:hidden;font-family:inherit}
.ucta-ico{display:grid;place-items:center;width:70px;height:70px;border-radius:18px;background:#fff;color:#3A66AE;margin-bottom:28px;position:relative;z-index:1;box-shadow:0 10px 24px -14px rgba(20,36,75,.35)}.ucta-ico svg{width:30px;height:30px}
.ucta h2{font-size:clamp(2rem,4.6vw,3.6rem);line-height:1.25;margin:0 0 18px;font-weight:800;color:#14244B;position:relative;z-index:1;max-width:none;letter-spacing:0}.ucta p{color:#1E2E55;max-width:560px;margin:0 0 36px;font-size:1.1rem;line-height:1.8;position:relative;z-index:1}
.ucta a{display:inline-flex;align-items:center;gap:14px;min-height:68px;padding:0 36px;border-radius:16px;background:#F6AB1C;color:#14244B;font-weight:800;font-size:1.08rem;text-decoration:none;position:relative;z-index:1;box-shadow:0 14px 28px -12px rgba(246,171,28,.85);transition:transform .25s,background .25s}.ucta a:hover{transform:translateY(-2px);background:#FFBB33}
.ucta a svg{width:20px;height:20px;flex:none;transition:transform .25s}.ucta[dir=rtl] a svg{transform:scaleX(-1)}.ucta[dir=ltr] a:hover svg{transform:translateX(4px)}.ucta[dir=rtl] a:hover svg{transform:scaleX(-1) translateX(4px)}
.ucta-bars{position:absolute;top:-25px;display:flex;gap:25px;direction:ltr}.ucta[dir=rtl] .ucta-bars{left:86px}.ucta[dir=ltr] .ucta-bars{right:86px}
.ucta-bars b{width:130px;height:375px;border-radius:10px 999px 999px 999px;background:#3A66AE}.ucta-bars b:nth-child(2){background:#F6AB1C;margin-top:70px}.ucta-bars b:nth-child(3){background:#3A66AE;margin-top:140px}
@media(min-width:1001px){.ucta{padding-inline-end:560px}}@media(max-width:1000px){.ucta-bars{opacity:.25}}@media(max-width:620px){.ucta-bars{display:none}.ucta a{width:100%;justify-content:center}.ucta-wrap{padding:48px 0}.ucta-ico{width:58px;height:58px;margin-bottom:22px}}

/* ---------- WhatsApp button (fixed on screen) ---------- */
.wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; border: 2px solid var(--secondary); box-shadow: 0 14px 28px -12px rgba(12,16,51,.7); transition: transform .25s var(--ease), background .25s; }
.wa-float::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--secondary); animation: wa-pulse 2.4s ease-out infinite; pointer-events: none; }
.wa-float:hover { transform: scale(1.08); background: var(--primary); }
.wa-float:focus-visible { outline: 3px solid var(--secondary); outline-offset: 4px; }
.wa-float .wa-ico { width: 28px; height: 28px; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 620px) { .wa-float { left: 14px; bottom: 14px; width: 52px; height: 52px; } .wa-float .wa-ico { width: 25px; height: 25px; } }
