/*
Theme Name: Smart Mind
Theme URI: https://smdxb.net
Author: 3-UAE Studio
Author URI: https://3-uae.com
Description: Custom bilingual theme for Smart Mind Academy Dubai. Built by 3-UAE.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: smartmind
*/

:root {
	--night: #161c55;
	--night-2: #1f2770;
	--ink: #1e2350;
	--ink-soft: #565c80;
	--royal: #4352c9;
	--bulb: #ffd93b;
	--bulb-deep: #f2bf00;
	--sky: #cfe2fa;
	--sky-soft: #eaf2fd;
	--paper: #f7f8fd;
	--amber: #e8963a;
	--line: #dde3f3;
	--display: "Baloo Bhaijaan 2", "Readex Pro", Tahoma, sans-serif;
	--body: "Readex Pro", Tahoma, sans-serif;
	--wrap: 1180px;
	--r-lg: 28px;
	--r-md: 16px;
	--r-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.75;
	color: var(--ink);
	background: var(--paper);
	text-rendering: optimizeLegibility;
}
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--bulb-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; color: var(--night); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 62ch; }
.screen-reader-text { position: absolute !important; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; inset-inline-start: 12px; top: 12px; background: #fff; padding: 10px 16px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1;
	padding: .95em 1.6em; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-bulb { background: var(--bulb); color: var(--night); box-shadow: 0 4px 0 var(--bulb-deep); }
.btn-bulb:hover { background: #ffe366; color: var(--night); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-ink { background: var(--night); color: #fff; }
.btn-ink:hover { background: var(--royal); color: #fff; }
.btn-line { background: #fff; color: var(--night); border-color: var(--line); }
.btn-line:hover { border-color: var(--royal); color: var(--royal); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,248,253,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.hdr { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 54px; height: auto; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--night); line-height: 1.05; }
.brand-name small { display: block; font-family: var(--body); font-weight: 400; font-size: .72rem; color: var(--ink-soft); }
.nav { margin-inline-start: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sky-soft); color: var(--royal); }
.hdr-tools { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--night); text-decoration: none; }
.cart-link:hover { background: var(--sky-soft); }
.cart-link svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--amber); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.lang a, .lang .trp-ls-shortcode-current-language, .lang-switch { font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--royal); }
.lang-switch { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-switch:hover { border-color: var(--royal); }
.hdr .btn { padding: .75em 1.2em; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; color: var(--night); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
@media (max-width: 1060px) {
	.menu-toggle { display: grid; place-items: center; }
	.nav { position: fixed; inset: 76px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 20px 24px; display: none; margin: 0; }
	.nav.open { display: block; }
	.nav ul { flex-direction: column; }
	.nav a { padding: 12px 14px; font-size: 1.05rem; }
	.hdr { gap: 10px; }
	.hdr .btn-book { display: none; }
	.hdr-tools { margin-inline-start: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 70% 0%, var(--night-2) 0%, var(--night) 55%, #0f1442 100%); color: #fff; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 30px; min-height: min(86vh, 760px); padding-block: 72px 56px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero-lead { font-size: 1.15rem; color: #d6defa; max-width: 34ch; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.chips-label { font-size: .9rem; color: #aeb8e8; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--body); font-size: .92rem; font-weight: 500; color: #e7ecff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: rgba(255,255,255,.5); }
.chip[aria-pressed="true"] { background: var(--bulb); color: var(--night); border-color: var(--bulb); }
.owl-stage { position: relative; justify-self: center; width: min(100%, 380px); }
.owl-stage img.owl { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); transform-origin: 50% 90%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.owl-glow { position: absolute; inset: 12% 8% 0; background: radial-gradient(closest-side, rgba(255,217,59,.28), transparent 70%); z-index: -1; }
.bubble { position: absolute; z-index: 3; top: -6px; inset-inline-start: -18%; max-width: 240px; background: #fff; color: var(--night); font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.35; padding: 14px 18px; border-radius: 22px; box-shadow: 0 14px 30px rgba(5,8,40,.35); transition: opacity .25s, transform .25s; }
.bubble::after { content: ""; position: absolute; bottom: -10px; inset-inline-end: 34px; border: 12px solid transparent; border-top-color: #fff; border-bottom: 0; }
.bubble.swap { opacity: 0; transform: translateY(6px) scale(.97); }
.bubble small { display: block; font-family: var(--body); font-weight: 400; font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.hero-foot { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.12); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 34px; padding-block: 18px; font-size: .95rem; color: #c9d2f5; }
.hero-facts b { color: var(--bulb); font-weight: 600; }
@media (max-width: 520px) {
	.brand-name small { display: none; }
	.brand img { width: 44px; }
	.brand-name { font-size: 1rem; }
	.lang-switch { padding: 6px 10px; font-size: .82rem; }
	.hdr { gap: 6px; }
	.hdr-tools { gap: 4px; }
}
@media (max-width: 900px) {
	.hero-in { grid-template-columns: 1fr; padding-block: 44px 34px; min-height: 0; text-align: start; }
	.owl-stage { width: min(44%, 200px); margin: 0 6% -10px auto; justify-self: end; order: -1; }
	.bubble { top: 6%; left: auto; right: 100%; width: max-content; max-width: 150px; font-size: .95rem; padding: 10px 13px; }
	.bubble::after { left: 100%; right: auto; bottom: auto; top: 16px; border: 9px solid transparent; border-left-color: #fff; border-right: 0; }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head p { color: var(--ink-soft); font-size: 1.08rem; }
.sec-tint { background: #fff; }
.page-hero { background: var(--night); color: #fff; padding-block: 64px 56px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero p { color: #d6defa; font-size: 1.12rem; max-width: 56ch; margin: 0; }
.crumbs { font-size: .9rem; color: #aeb8e8; margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; }
.page-hero .glyph-bg { position: absolute; inset-inline-end: -2%; bottom: -30%; font-family: var(--display); font-size: clamp(10rem, 26vw, 22rem); line-height: 1; color: rgba(255,255,255,.05); pointer-events: none; user-select: none; }

/* ---------- subjects (letter tiles) ---------- */
.subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.subject { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 24px; text-decoration: none; color: inherit; overflow: hidden; isolation: isolate; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .3s; }
.subject::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,217,59,.35), transparent); opacity: 0; transform: scale(.6); transition: opacity .5s, transform .6s; z-index: -1; }
.subject:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(22,28,85,.35); border-color: transparent; }
.subject:hover::before { opacity: 1; transform: scale(1); }
.subject-tile { flex: none; width: 78px; height: 78px; border-radius: 22px; background: var(--sky-soft); display: grid; place-items: center; transition: background .35s, transform .5s cubic-bezier(.3,1.5,.5,1); }
.subject:hover .subject-tile { background: #fff; box-shadow: 0 0 0 2px var(--bulb), 0 12px 24px -10px rgba(22,28,85,.35); transform: rotate(-6deg) scale(1.08); }
.subject-tile .ico { width: 56px; height: 56px; overflow: visible; }
.subject-glyph { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--royal); white-space: nowrap; transition: color .3s; }
.subject-glyph.sm { font-size: 1.45rem; }
.subject-glyph.xs { font-size: 1rem; }
.subject:hover .subject-glyph { color: var(--bulb); }
.subject-body { display: flex; flex-direction: column; flex: 1; }
.subject h3 { margin: 0 0 6px; font-size: 1.28rem; }
.subject p { margin: 0 0 18px; color: var(--ink-soft); font-size: .97rem; line-height: 1.65; }
.subject-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.subject .who { font-size: .82rem; font-weight: 600; color: var(--amber); }
.subject .go { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--royal); }
.subject .go i { width: 26px; height: 26px; border-radius: 50%; background: var(--sky-soft); position: relative; transition: background .3s, transform .4s; }
.subject .go i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-top: 2px solid currentColor; border-inline-start: 2px solid currentColor; transform: rotate(-45deg); }
[dir="rtl"] .subject .go i::after { transform: rotate(45deg); }
.subject:hover .go i { background: var(--bulb); transform: translateX(-4px); }
[dir="ltr"] .subject:hover .go i, html:not([dir]) .subject:hover .go i { transform: translateX(4px); }
@media (max-width: 960px) { .subjects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
	.subjects { grid-template-columns: 1fr; gap: 12px; }
	.subject { flex-direction: row; align-items: flex-start; padding: 18px; gap: 16px; border-radius: 20px; }
	.subject-tile { width: 64px; height: 64px; border-radius: 18px; }
	.subject-tile .ico { width: 46px; height: 46px; }
	.subject-glyph { font-size: 1.65rem; }
	.subject-glyph.sm { font-size: 1.15rem; }
	.subject-glyph.xs { font-size: .8rem; }
	.subject h3 { font-size: 1.12rem; }
	.subject p { font-size: .92rem; margin-bottom: 12px; }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; inset-inline: 28px calc(25% - 6px); border-top: 2px dashed var(--sky); }
.step { position: relative; padding-inline-end: 22px; }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--night); color: var(--bulb); font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin-bottom: 18px; position: relative; }
.step:last-child .step-n { background: var(--bulb); color: var(--night); }
.step h3 { font-size: 1.2rem; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
@media (max-width: 860px) {
	.steps { grid-template-columns: 1fr; gap: 26px; }
	.steps::before { top: 28px; bottom: 28px; inset-inline: 27px auto; border-top: 0; border-inline-start: 2px dashed var(--sky); }
	.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 0; }
	.step-n { margin: 0; }
}

.steps.v { grid-template-columns: 1fr; gap: 22px; }
.steps.v::before { top: 28px; bottom: 28px; inset-inline: 27px auto; border-top: 0; border-inline-start: 2px dashed var(--sky); }
.steps.v .step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 0; }
.steps.v .step-n { margin: 0; }
.steps.v h3 { margin: 0; }

/* ---------- packages (session dots) ---------- */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px 24px; }
.pack.is-pick { background: var(--night); color: #fff; border-color: var(--night); }
.pack-flag { position: absolute; top: -13px; inset-inline-start: 22px; background: var(--bulb); color: var(--night); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }
.pack-flag.best { background: var(--amber); color: #fff; }
.pack-count { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); }
.pack-count b { font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--royal); }
.pack.is-pick .pack-count b { color: var(--bulb); }
.pack-count span { font-size: 1.15rem; font-weight: 700; }
.dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 18px 0 20px; height: 150px; align-content: start; }
@media (max-width: 560px) { .dots { height: auto; min-height: 0; } }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--sky); }
.pack.is-pick .dots i { background: rgba(255,217,59,.85); }
.pack-price { font-family: var(--display); font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.pack-price .woocommerce-Price-currencySymbol { font-size: .6em; font-weight: 700; }
.pack-per { font-size: .95rem; color: var(--ink-soft); margin-bottom: 14px; }
.pack.is-pick .pack-per, .pack.is-pick .pack-meta { color: #c9d2f5; }
.pack-meta { list-style: none; padding: 0; margin: 0 0 22px; font-size: .9rem; color: var(--ink-soft); }
.pack-meta li { padding: 7px 0; border-top: 1px solid var(--line); }
.pack.is-pick .pack-meta li { border-color: rgba(255,255,255,.14); }
.pack .btn { margin-top: auto; width: 100%; }
.pack-ask { display: block; text-align: center; font-size: .88rem; margin-top: 10px; }
.pack.is-pick .pack-ask { color: #fff; }
.pay-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; color: var(--ink-soft); font-size: .95rem; }
.pay-row span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bulb-deep); margin-inline-end: 8px; vertical-align: middle; }
@media (max-width: 1060px) { .packs { grid-template-columns: 1fr 1fr; gap: 26px 18px; } }
@media (max-width: 560px) { .packs { grid-template-columns: 1fr; } }

/* ---------- group band ---------- */
.band { background: var(--bulb); color: var(--night); border-radius: var(--r-lg); display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; }
.band-txt { padding: clamp(30px, 5vw, 56px); }
.band-txt h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.band-txt p { font-size: 1.05rem; max-width: 46ch; }
.band-pin { display: inline-block; font-weight: 600; font-size: .92rem; background: rgba(22,28,85,.09); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.band-img { background: #fff8e6; display: grid; place-items: center; padding: 18px; }
.band-img img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; border-radius: 18px; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; } .band-img { order: -1; } }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
.why-list li { border-inline-start: 3px solid var(--bulb); padding-inline-start: 16px; }
.why-list h3 { font-size: 1.15rem; margin-bottom: 4px; }
.why-list p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 520px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- final cta ---------- */
.final { background: var(--night); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 70px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.final h2 { color: #fff; margin-bottom: .3em; }
.final p { color: #c9d2f5; margin: 0; max-width: 50ch; }
.final .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.final::after { content: "؟"; position: absolute; inset-inline-end: 4%; top: -30%; font-family: var(--display); font-size: 16rem; color: rgba(255,255,255,.04); line-height: 1; }
@media (max-width: 760px) { .final { grid-template-columns: 1fr; } }

/* ---------- about / contact / content ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 30px; } }
.vm { display: grid; gap: 26px; }
.vm > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.vm h3 { color: var(--royal); }
.lead { font-size: 1.2rem; color: var(--ink); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
.contact-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.contact-list b { display: block; font-family: var(--display); color: var(--night); font-size: 1.1rem; }
.contact-list a { overflow-wrap: anywhere; font-weight: 600; text-decoration: none; direction: ltr; unicode-bidi: embed; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 38px); }
.entry { max-width: 72ch; }
.entry h2 { font-size: 1.8rem; margin-top: 1.4em; }
.entry h3 { margin-top: 1.2em; }
.entry ul, .entry ol { padding-inline-start: 1.3em; }
.entry img { border-radius: var(--r-md); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--night); margin-bottom: 50px; }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .85rem; color: var(--ink-soft); }
.facts dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--night); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { text-decoration: none; color: inherit; display: block; }
.post-card .thumb { aspect-ratio: 1.91/1; border-radius: var(--r-md); background: var(--sky-soft) center/cover; margin-bottom: 16px; display: grid; place-items: center; font-family: var(--display); font-size: 3rem; color: var(--royal); }
.post-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.post-card:hover h2 { color: var(--royal); }
.post-card time, .post-meta { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #c9d2f5; padding-block: 64px 26px; margin-top: 0; }
.ft { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ft h3 { color: #fff; font-size: 1.1rem; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft a { color: #e7ecff; text-decoration: none; }
.ft a:hover { color: var(--bulb); }
.ft-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.ft-brand img { width: 64px; background: #fff; border-radius: 14px; padding: 4px; }
.ft-brand b { font-family: var(--display); color: #fff; font-size: 1.3rem; }
.ft-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }
.ft-bottom a { color: #aeb8e8; }
.ltr { direction: ltr; unicode-bidi: embed; white-space: nowrap; }
#trp-floater-ls, .trp-floating-switcher { display: none !important; }
@media (max-width: 820px) { .ft { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- WooCommerce ---------- */
.woo-wrap { padding-block: 50px 90px; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce .button.alt, .woocommerce button.button.alt {
	font-family: var(--display) !important; font-weight: 700 !important; border-radius: 999px !important; padding: .9em 1.5em !important;
	background: var(--night) !important; color: #fff !important; border: 0 !important;
}
.woocommerce .button.alt, .woocommerce #place_order, .woocommerce .checkout-button { background: var(--bulb) !important; color: var(--night) !important; box-shadow: 0 4px 0 var(--bulb-deep); }
.woocommerce .button:hover { filter: brightness(1.08); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single,
.forminator-ui input[type=text], .forminator-ui input[type=email], .forminator-ui input[type=tel], .forminator-ui input[type=number], .forminator-ui textarea, .forminator-ui select {
	border: 1.5px solid var(--line) !important; border-radius: var(--r-sm) !important; padding: 12px 14px !important; font-family: var(--body) !important; font-size: 1rem !important; background: #fff !important; min-height: 48px;
}
.woocommerce form .form-row input.input-text:focus, .forminator-ui input:focus, .forminator-ui textarea:focus { border-color: var(--royal) !important; outline: none; box-shadow: 0 0 0 3px rgba(67,82,201,.15) !important; }
.woocommerce table.shop_table { border-radius: var(--r-md); border-color: var(--line); background: #fff; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--royal); background: #fff; border-radius: var(--r-sm); }
.woocommerce-message { border-top-color: #1fa67a; }
.woocommerce div.product .product_title { font-size: 2.4rem; }
.woocommerce div.product p.price, .woocommerce ul.products li.product .price { color: var(--royal); font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.woocommerce-checkout #payment { background: var(--sky-soft) !important; border-radius: var(--r-md) !important; }
.woocommerce span.onsale { background: var(--amber); }
.forminator-ui .forminator-button-submit { font-family: var(--display) !important; font-weight: 700 !important; background: var(--night) !important; border-radius: 999px !important; padding: 14px 30px !important; font-size: 1.05rem !important; }
.forminator-ui .forminator-label { font-weight: 600 !important; color: var(--ink) !important; font-family: var(--body) !important; }

/* ---------- reveal (one orchestrated hero entrance only) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.hero .rise { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
	.hero .rise:nth-child(2) { animation-delay: .1s; }
	.hero .rise:nth-child(3) { animation-delay: .2s; }
	.hero .rise:nth-child(4) { animation-delay: .3s; }
	.hero .rise:nth-child(5) { animation-delay: .4s; }
	.owl-stage { animation: owlin 1.1s .15s cubic-bezier(.2,.9,.25,1.15) both; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes owlin { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; transform: none; } }


/* ---------- package picker ---------- */
.pk-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.pk-tab { position: relative; display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 18px 10px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; cursor: pointer; font-family: var(--display); color: var(--night); transition: background .3s, border-color .3s, transform .3s, color .3s; }
.pk-tab b { font-size: 2rem; font-weight: 800; line-height: 1; }
.pk-tab span { font-size: 1rem; font-weight: 700; }
.pk-tab em { position: absolute; top: -11px; inset-inline: 0; margin-inline: auto; width: max-content; font-style: normal; font-family: var(--body); font-size: .72rem; font-weight: 700; background: var(--amber); color: #fff; padding: 3px 10px; border-radius: 99px; }
.pk-tab:hover { border-color: var(--royal); transform: translateY(-2px); }
.pk-tab[aria-checked="true"] { background: var(--night); border-color: var(--night); color: var(--bulb); }
.pk-tab[aria-checked="true"] em { background: var(--bulb); color: var(--night); }
.pk-stage { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); color: #fff; border-radius: 32px; overflow: hidden; position: relative; }
.pk-visual { padding: clamp(26px, 4vw, 48px); background: radial-gradient(120% 100% at 0% 0%, #26308a, var(--night) 65%); display: flex; flex-direction: column; justify-content: center; }
.pk-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(5px, .8vw, 9px); }
.pk-grid i { aspect-ratio: 1; border-radius: 50%; background: rgba(207,226,250,.12); transform: scale(.55); transition: background .35s, transform .45s cubic-bezier(.3,1.6,.5,1), box-shadow .35s; transition-delay: calc(var(--k) * 9ms); }
.pk-grid i.on { background: var(--bulb); transform: scale(1); box-shadow: 0 0 12px rgba(255,217,59,.45); }
.pk-legend { margin: 18px 0 0; font-size: .88rem; color: #aeb8e8; }
.pk-info { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; gap: 6px; }
.pk-flag { align-self: flex-start; background: var(--bulb); color: var(--night); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 99px; margin-bottom: 6px; }
.pk-flag[hidden], .pk-save[hidden] { display: none; }
.pk-count { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: #c9d2f5; }
.pk-count b { font-size: 1.8rem; color: #fff; }
.pk-price { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.pk-price small { font-size: .38em; color: var(--bulb); }
.pk-sub { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 8px 0 14px; color: #c9d2f5; }
.pk-sub b { color: #fff; font-size: 1.1rem; }
.pk-save { background: rgba(31,181,143,.18); color: #7ef0c8; padding: 2px 12px; border-radius: 99px; }
.pk-save b { color: #b4ffe4; }
.pk-meta { list-style: none; padding: 0; margin: 0 0 22px; font-size: .94rem; color: #d6defa; }
.pk-meta li { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 10px; align-items: center; }
.pk-meta li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bulb); flex: none; }
.pk-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.pk-acts .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.pk-acts .btn-line:hover { border-color: #fff; color: #fff; }
.pk-swap { animation: pkswap .5s cubic-bezier(.2,.8,.2,1); }
@keyframes pkswap { from { opacity: .2; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
	.pk-stage { grid-template-columns: 1fr; border-radius: 26px; }
	.pk-tabs { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--bulb); color: var(--night); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg); margin: -14px -2% 0; position: relative; z-index: 3; box-shadow: 0 10px 30px -10px rgba(22,28,85,.4); }
.marquee-row { display: flex; overflow: hidden; }
.marquee-row + .marquee-row { margin-top: 4px; opacity: .55; }
.marquee-track { display: flex; flex: none; gap: 26px; align-items: center; padding-inline-end: 26px; animation: marq 38s linear infinite; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem); white-space: nowrap; }
.marquee-row.rev .marquee-track { animation-direction: reverse; font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 700; }
.marquee i { font-style: normal; font-size: .6em; color: var(--royal); }
@keyframes marq { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: marq-rtl; }
@keyframes marq-rtl { to { transform: translateX(50%); } }

/* ---------- scroll progress ---------- */
.scroll-bar { position: fixed; top: 0; inset-inline: 0; height: 3px; background: var(--bulb); transform: scaleX(0); transform-origin: 0 50%; z-index: 100; pointer-events: none; }
[dir="rtl"] .scroll-bar { transform-origin: 100% 50%; }

/* ---------- intro ---------- */
#intro { display: none; }
.scroll-bar { display: block; }
html.intro { overflow: hidden; }
html.intro #intro { display: grid; place-items: center; align-content: center; gap: 10px; position: fixed; inset: 0; z-index: 9999; background: radial-gradient(80% 70% at 50% 45%, #26308a, var(--night) 60%, #0b0f33); color: #fff; text-align: center; }
#intro.out { clip-path: circle(0% at 50% 45%); transition: clip-path .9s cubic-bezier(.7,0,.2,1); }
html.intro #intro { clip-path: circle(150% at 50% 45%); }
.intro-orbit { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.intro-orbit span { position: absolute; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2.6rem); color: var(--sky); opacity: 0; animation: orbit 1.9s cubic-bezier(.5,0,.25,1) forwards; animation-delay: calc(var(--k) * 30ms); }
@keyframes orbit {
	0% { opacity: 0; transform: rotate(var(--a)) translateY(-58vmin) rotate(calc(var(--a) * -1)) scale(1.4); }
	25% { opacity: 1; }
	70% { opacity: 1; color: var(--bulb); transform: rotate(calc(var(--a) + 200deg)) translateY(-22vmin) rotate(calc((var(--a) + 200deg) * -1)) scale(1); }
	100% { opacity: 0; transform: rotate(calc(var(--a) + 320deg)) translateY(0) rotate(calc((var(--a) + 320deg) * -1)) scale(.2); }
}
.intro-core { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.intro-core img { width: 128px; background: #fff; border-radius: 34px; padding: 10px; opacity: 0; transform: scale(.3) rotate(-20deg); animation: logoin .9s 1.45s cubic-bezier(.3,1.6,.5,1) forwards; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
@keyframes logoin { to { opacity: 1; transform: none; } }
.intro-flash { position: absolute; inset: -60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,217,59,.9), rgba(255,217,59,0)); opacity: 0; transform: scale(.2); animation: flash 1.1s 1.55s ease-out forwards; }
@keyframes flash { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(2.4); } }
.intro-name { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); margin: 18px 0 0; line-height: 1.1; overflow: hidden; }
.intro-name span { display: inline-block; opacity: 0; transform: translateY(100%); animation: wordup .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: 1.85s; }
.intro-name span + span { animation-delay: 1.97s; color: var(--bulb); }
.intro-tag { margin: 4px 0 0; color: #c9d2f5; opacity: 0; animation: fadein .6s 2.2s forwards; }
@keyframes wordup { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }
.intro-skip { position: absolute; bottom: 28px; inset-inline-end: 28px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 8px 18px; font: 600 .9rem var(--body); cursor: pointer; }

/* ---------- scroll reveals (JS adds classes) ---------- */
@media (prefers-reduced-motion: no-preference) {
	html.js .rv { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
	html.js .rv.in { opacity: 1; transform: none; }
	html.js .rv-scale { transform: scale(.94) translateY(20px); }
	html.js .rv-scale.in { transform: none; }
	.sw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
	.sw > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--w) * 60ms); }
	.split.in .sw > span { transform: none; }
	html.js .steps::before { transform: scaleX(0); transform-origin: right; transition: transform 1.4s cubic-bezier(.6,0,.2,1) .2s; }
	html.js [dir="ltr"] .steps::before, html.js:not([dir="rtl"]) .steps::before { transform-origin: left; }
	html.js .steps.in::before { transform: none; }
	html.js .step .step-n { transform: scale(0); transition: transform .6s cubic-bezier(.3,1.7,.5,1); transition-delay: calc(.25s + var(--i, 0) * 220ms); }
	html.js .steps.in .step-n { transform: none; }
	.owl-stage img.owl { animation: bob 5s ease-in-out infinite; }
	@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
	.page-hero .glyph-bg { transition: transform .1s linear; }
	.btn-bulb { transition: transform .25s cubic-bezier(.2,.8,.2,1), background .15s, box-shadow .15s; }
	/* hero entrance waits for the intro */
	html.js .hero .rise { animation: none; opacity: 0; transform: translateY(18px); }
	html.js.go .hero .rise { animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
	html.js .owl-stage { animation: none; opacity: 0; }
	html.js.go .owl-stage { animation: owlin 1.1s .15s cubic-bezier(.2,.9,.25,1.15) both; }
}

/* ---------- subject icon motion ---------- */
.ico .mv { transform-box: fill-box; transform-origin: center; }
.ico-zh .swing { transform-origin: 50% 0%; }
.ico-es .fan { transform-origin: 50% 100%; }
.ico .draw { stroke-dasharray: 40; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
	.subject.in .ico-zh .swing, .subject:hover .ico-zh .swing { animation: swing 1.6s ease-in-out; }
	.subject:hover .ico-zh .swing { animation-iteration-count: infinite; }
	.subject.in .ico-tutor .mv, .subject:hover .ico-tutor .mv { animation: write .9s ease-in-out 2; }
	.subject.in .ico-en .mv, .subject:hover .ico-en .mv { animation: pop .7s cubic-bezier(.3,1.7,.5,1); }
	.subject.in .ico-ar .draw, .subject:hover .ico-ar .draw { animation: draw 1.2s ease-out; }
	.subject:hover .ico-math .b1 { animation: blink .5s 2; }
	.subject:hover .ico-math .b2 { animation: blink .5s .25s 2; }
	.subject.in .ico-fr .star, .subject:hover .ico-fr .star { animation: twinkle 1.2s ease-in-out; }
	.subject:hover .ico-fr .star, .subject:hover .ico-fr .star2 { animation: twinkle 1.2s ease-in-out infinite; }
	.subject.in .ico-es .fan, .subject:hover .ico-es .fan { animation: fan 1s cubic-bezier(.3,1.5,.5,1); }
	.ico-nn .steam { animation: steam 2.4s ease-in-out infinite; }
	.subject:hover .ico-quran .moon, .subject.in .ico-quran .moon { animation: glow 1.6s ease-in-out; }
}
@keyframes swing { 0%,100% { transform: rotate(0); } 25% { transform: rotate(9deg); } 50% { transform: rotate(-7deg); } 75% { transform: rotate(4deg); } }
@keyframes write { 0%,100% { transform: translate(0,0); } 30% { transform: translate(-6px,3px); } 60% { transform: translate(-2px,-2px); } }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { fill: #ffd93b; transform: scale(1.4); } }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.5) rotate(45deg); } }
@keyframes fan { from { transform: scaleX(.15); } to { transform: scaleX(1); } }
@keyframes steam { 0% { transform: translateY(4px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }
@keyframes glow { 0%,100% { filter: none; transform: scale(1); } 50% { filter: drop-shadow(0 0 6px #ffd93b); transform: scale(1.2) rotate(-10deg); } }

/* ---------- hero v2: centred owl with orbiting subjects ---------- */
.hero .hero-in { grid-template-columns: 1fr; justify-items: center; text-align: center; min-height: 0; gap: 18px; padding-block: 34px 54px; }
.hero h1 { margin-inline: auto; max-width: 16ch; }
.hero .hero-lead { margin-inline: auto; max-width: 46ch; }
.hero .hero-actions { justify-content: center; margin-bottom: 0; }
.hero .hero-facts { justify-content: center; }
.hero .stage { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero .stage .bubble { position: relative; inset: auto; top: auto; left: auto; right: auto; z-index: 4; width: min(320px, 86vw); max-width: none; min-height: 78px; margin: 0 0 6px; padding: 12px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 1.12rem; border-radius: 24px; }
.hero .stage .bubble small { margin-top: 2px; }
.hero .stage .bubble::after { top: auto; bottom: -11px; left: 0; right: 0; inset-inline: 0; margin-inline: auto; width: 0; border: 12px solid transparent; border-top-color: #fff; border-bottom: 0; }
.orbit { --S: min(86vw, 470px); --R: calc(var(--S) / 2 - 34px); position: relative; width: var(--S); height: var(--S); display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; pointer-events: none; }
.ring.r1 { inset: 4%; border: 1.5px dashed rgba(207,226,250,.28); }
.ring.r2 { inset: 20%; border: 1px solid rgba(255,217,59,.18); box-shadow: 0 0 80px rgba(255,217,59,.12) inset; }
.orbit .owl-stage { width: 50%; margin: 0; justify-self: auto; order: 0; position: relative; z-index: 2; }
.orbit .owl-glow { inset: -10% -20% -5%; }
.orbit-spin { position: absolute; inset: 0; z-index: 3; }
.orb { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; transform: rotate(var(--a)) translate(var(--R)) rotate(calc(var(--a) * -1)); box-shadow: 0 10px 24px -8px rgba(5,8,40,.55); transition: box-shadow .3s; }
.orb:hover, .orb[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--bulb), 0 0 30px rgba(255,217,59,.6); }
.orb-in { display: grid; place-items: center; width: 100%; height: 100%; }
.orb .ico { width: 38px; height: 38px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.orb:hover .ico, .orb[aria-pressed="true"] .ico { transform: scale(1.15); }
.orb:focus-visible { outline: 3px solid var(--bulb); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
	.orbit-spin { animation: spin 70s linear infinite; }
	.orb-in { animation: spin 70s linear infinite reverse; }
	.orbit:hover .orbit-spin, .orbit:hover .orb-in, .orbit:focus-within .orbit-spin, .orbit:focus-within .orb-in { animation-play-state: paused; }
	.ring.r1 { animation: spin 120s linear infinite reverse; }
	.orb[aria-pressed="true"] .ico-zh .swing { animation: swing 1.6s ease-in-out infinite; }
	.orb[aria-pressed="true"] .ico-fr .star { animation: twinkle 1.2s ease-in-out infinite; }
	.orb[aria-pressed="true"] .ico-es .fan { animation: fan 1s cubic-bezier(.3,1.5,.5,1); }
	.orb[aria-pressed="true"] .ico-tutor .mv { animation: write .9s ease-in-out infinite; }
	.orb[aria-pressed="true"] .ico-quran .moon { animation: glow 1.6s ease-in-out infinite; }
	.orb[aria-pressed="true"] .ico-ar .draw { animation: draw 1.2s ease-out; }
	.orb[aria-pressed="true"] .ico-en .mv { animation: pop .7s cubic-bezier(.3,1.7,.5,1); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
	.orbit { --R: calc(var(--S) / 2 - 26px); }
	.orb { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
	.orb .ico { width: 30px; height: 30px; }
	.hero .stage .bubble { font-size: 1rem; min-height: 70px; }
	.hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
}
html.intro .ht-ctc, html.intro .ht_ctc_chat_greetings_box { display: none !important; }
/* package picker on phones: details first, smaller dot board */
@media (max-width: 860px) {
	.pk-visual { order: 2; padding-top: 0; }
	.pk-grid { gap: 4px; max-width: 320px; margin-inline: auto; width: 100%; }
	.pk-legend { text-align: center; }
}
