/* ==========================================================
   مسار التعليمية — Site styles (mobile-first polish)
   Brand: Navy #0D1B3D · Gold #D4A017 · Cream #F7F3EC · Gray #6C757D · Cairo
   ========================================================== */
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fonts/cairo-arabic-wght-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fonts/cairo-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --navy: #0D1B3D;
  --navy-2: #172a5c;
  --navy-3: #22377a;
  --gold: #D4A017;
  --gold-2: #E8BE4E;
  --gold-d: #A97C0B;
  --cream: #F7F3EC;
  --cream-2: #EFE8DB;
  --gray: #6C757D;
  --ink: #18213A;
  --line: #E7E0D2;
  --white: #fff;
  --wa: #1FAF5A;
  --r: 18px;
  --r-sm: 12px;
  --sh-1: 0 1px 2px rgba(13, 27, 61, .06), 0 4px 14px rgba(13, 27, 61, .06);
  --sh-2: 0 10px 40px rgba(13, 27, 61, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif;
  color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; color: var(--navy); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.45rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 2.2rem; }
.muted { color: var(--gray); }
.muted a { color: var(--navy); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .5rem 1rem; font-size: .92rem; }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(13, 27, 61, .25); }
.btn--primary:hover { background: var(--navy-2); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-d)); color: var(--navy); box-shadow: 0 8px 22px rgba(212, 160, 23, .35); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #179a4d; }
.btn svg { pointer-events: none; }
.link-arrow { width: fit-content; display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(13, 27, 61, .06); }
.nav__in { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand img { width: 36px; height: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand b { color: var(--navy); font-size: 1.15rem; font-weight: 900; }
.brand small { color: var(--gold-d); font-size: .74rem; font-weight: 600; }
.nav__links { display: flex; gap: 1.6rem; margin-inline-start: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--ink); position: relative; padding: .3rem 0; }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta-m { display: none; }
.nav__actions { display: flex; gap: .6rem; align-items: center; }
.nav__burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; padding: 56px 0 72px; }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero__lines path { fill: none; stroke: #e4d9c2; stroke-width: 1; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--line); padding: .35rem .95rem; border-radius: 999px; font-size: .9rem; font-weight: 700; color: var(--navy); box-shadow: var(--sh-1); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(31, 175, 90, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(31, 175, 90, 0); } }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.75rem); font-weight: 900; margin: 1.1rem 0 1rem; line-height: 1.3; letter-spacing: -.01em; }
.hero h1 .hl { display: block; color: var(--gold); position: relative; width: fit-content; }
.hero h1 .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: .02em; height: .16em; background: var(--gold); opacity: .18; border-radius: 4px; }
.lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); color: #3b4560; max-width: 36em; }
.hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0 1.4rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.chips li { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; color: var(--navy); }
.chips .ic { color: #fff; background: var(--gold); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 3; }

.hero__visual { position: relative; justify-self: center; width: min(430px, 100%); aspect-ratio: 43 / 54; }
.hero__arch { position: absolute; inset: 8% 6% 0 6%; border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: var(--sh-2); background: var(--navy); border: 6px solid #fff; }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__arc { position: absolute; inset: -3% -6% auto -6%; width: 112%; overflow: visible; z-index: 2; pointer-events: none; }
.hero__arc path { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__plane { position: absolute; top: 2%; left: 4%; z-index: 3; color: var(--gold); transform: rotate(-30deg); animation: fly 4s ease-in-out infinite; }
@keyframes fly { 50% { transform: rotate(-30deg) translate(4px, -6px); } }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--sh-2); animation: bob 5s ease-in-out infinite; }
.float { text-decoration: none; color: inherit; }
a.float:hover { box-shadow: 0 14px 44px rgba(13, 27, 61, .2); }
.float b { display: block; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.float small { color: var(--gray); font-size: .78rem; }
.float--a { inset-inline-start: -14%; top: 36%; }
.float--b { inset-inline-end: -10%; bottom: 10%; animation-delay: -2.5s; }
.float__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.float__ic--gold { background: var(--gold); color: var(--navy); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; position: relative; }
.stats::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.8rem 1rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 28%; bottom: 28%; width: 1px; background: rgba(255, 255, 255, .14); }
.stat b { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 900; color: var(--gold); line-height: 1.1; }
.stat span { font-size: .95rem; color: #cfd6e8; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 6vw + 30px, 112px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: radial-gradient(1200px 500px at 85% -10%, var(--navy-3), transparent 60%), var(--navy); color: #dfe5f3; }
.section--navy h2 { color: #fff; }
.head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.head p { color: var(--gray); font-size: 1.08rem; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold-d); font-weight: 800; font-size: .95rem; margin-bottom: .6rem; }
.kicker::before, .head .kicker::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.kicker--gold { color: var(--gold-2); }
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; box-shadow: var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }

/* About */
.about__in { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__text p { color: #46506a; font-size: 1.06rem; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.pillar { background: var(--cream); border-radius: var(--r); padding: 1.7rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; border: 1px solid transparent; transition: border-color .3s, background .3s; }
.pillar:nth-child(2), .pillar:nth-child(3) { background: var(--navy); }
.pillar:nth-child(2) b, .pillar:nth-child(3) b { color: #fff; }
.pillar:nth-child(2) .pillar__ic, .pillar:nth-child(3) .pillar__ic { background: rgba(255, 255, 255, .08); color: var(--gold-2); border-color: rgba(255, 255, 255, .12); }
.pillar__ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); border: 1px solid var(--line); }
.pillar b { color: var(--navy); font-size: 1.08rem; line-height: 1.5; }

/* Services */
.service__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); margin-bottom: 1.1rem; transition: transform .3s var(--ease); }
.service:hover .service__ic { transform: rotate(-6deg) scale(1.05); }
.service p { color: var(--gray); margin: 0; }

/* ---------- University explorer ---------- */
.explorer__bar { display: grid; grid-template-columns: auto auto minmax(170px, 1fr) minmax(220px, 1.3fr); gap: 1.2rem 1.6rem; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; box-shadow: var(--sh-1); }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field__label { font-size: .86rem; font-weight: 700; color: var(--gray); }
.field__label b { color: var(--navy); }
.seg { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: .45rem .95rem; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .92rem; color: #4a5470; white-space: nowrap; transition: background .2s, color .2s; }
.seg button i { font-style: normal; font-size: .75rem; background: rgba(13, 27, 61, .08); border-radius: 999px; padding: 0 .45rem; margin-inline-start: .2rem; }
.seg button[aria-checked="true"] { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(13, 27, 61, .2); }
.seg button[aria-checked="true"] i { background: rgba(255, 255, 255, .18); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(to left, var(--gold) var(--p, 100%), var(--cream-2) var(--p, 100%)); outline: none; margin: .7rem 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--navy); cursor: pointer; box-shadow: var(--sh-1); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--navy); cursor: pointer; }
.search { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: 999px; padding: 0 .9rem; background: var(--cream); color: var(--gray); }
.search input { border: 0; background: transparent; padding: .55rem 0; width: 100%; outline: none; color: var(--ink); }
.search:focus-within { border-color: var(--navy); background: #fff; }
.explorer__meta { display: flex; justify-content: space-between; align-items: center; margin: 1.4rem .3rem 1rem; color: var(--gray); font-weight: 600; font-size: .95rem; }
.sort select { border: 1px solid var(--line); border-radius: 10px; padding: .3rem .6rem; background: #fff; margin-inline-start: .3rem; }
.unis { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.2rem; }
.uni { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.35rem; display: flex; flex-direction: column; gap: .3rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; animation: fadeUp .45s var(--ease) both; }
.uni:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.uni[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.uni__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.uni__badge { font-family: system-ui, sans-serif; font-weight: 800; font-size: .85rem; letter-spacing: .02em; background: var(--navy); color: #fff; border-radius: 10px; padding: .3rem .7rem; }
.tag { font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .15rem .7rem; }
.tag--public { background: #E7EDFB; color: var(--navy-3); }
.tag--private { background: #FBF1D6; color: var(--gold-d); }
.uni__name { font-family: system-ui, "Segoe UI", sans-serif; font-size: 1.04rem; font-weight: 750; text-align: right; margin: 0; line-height: 1.4; }
.uni__city { display: flex; align-items: center; gap: .3rem; color: var(--gray); font-size: .88rem; margin: 0; }
.uni__focus { color: #4b5570; font-size: .9rem; margin: .3rem 0 .4rem; flex: 1; line-height: 1.7; }
.uni__fee { background: var(--cream); border-radius: var(--r-sm); padding: .75rem .9rem; margin-bottom: .8rem; }
.uni__lvl { display: block; color: var(--gray); font-size: .78rem; font-weight: 600; }
.uni__range { display: block; font-size: 1.22rem; font-weight: 900; color: var(--navy); direction: ltr; text-align: right; font-family: system-ui, sans-serif; letter-spacing: -.01em; }
.bar { display: block; height: 6px; border-radius: 6px; background: var(--cream-2); position: relative; margin-top: .45rem; overflow: hidden; }
.bar i { position: absolute; top: 0; bottom: 0; right: var(--s); left: calc(100% - var(--e)); background: linear-gradient(90deg, var(--gold-d), var(--gold-2)); border-radius: 6px; transition: right .4s var(--ease), left .4s var(--ease); }
.empty { text-align: center; background: var(--cream); border-radius: var(--r); padding: 2.4rem 1.2rem; }
.empty[hidden] { display: none; }
.note { font-size: .88rem; color: var(--gray); margin: 1.2rem 0 0; text-align: center; }
.note--light { color: #aab4cc; text-align: start; }

/* ---------- Institutes ---------- */
.inst { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.inst__text p { color: #c9d1e6; font-size: 1.06rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .6rem; align-items: center; font-weight: 600; color: #fff; }
.ticks .ic { color: var(--gold); }
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; color: var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.table th, .table td { padding: 1rem 1.1rem; text-align: center; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--cream); color: var(--navy); font-weight: 800; font-size: .92rem; border-bottom: 2px solid var(--gold); }
.table tbody th { text-align: right; font-family: system-ui, sans-serif; font-weight: 750; color: var(--navy); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: #FBF8F2; }
.table td { font-weight: 800; font-family: system-ui, sans-serif; font-size: 1.04rem; }
.hrs { display: inline-flex; gap: .3rem; align-items: center; color: var(--gray); font-weight: 700; }
.na { color: #b8bec9; }

/* ---------- Steps / road ---------- */
.road { position: relative; }
.road__path { position: absolute; inset-inline: 4%; top: 6px; width: 92%; height: 60px; overflow: visible; }
.road__path path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.road__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; position: relative; }
.road__step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.road__num { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; color: var(--gold-2); background: var(--navy); border: 5px solid #fff; box-shadow: 0 0 0 2px var(--gold), var(--sh-2); margin-bottom: 1.1rem; position: relative; z-index: 1; font-family: system-ui, sans-serif; transition: transform .3s var(--ease); }
.road__step:hover .road__num { transform: scale(1.08); }
.road__card h3 { margin-bottom: .35rem; font-size: 1.08rem; }
.road__card p { color: var(--gray); font-size: .93rem; margin: 0; line-height: 1.75; }

/* ---------- Why Malaysia ---------- */
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.why__item { background: #fff; border-radius: var(--r); padding: 1.6rem 1.3rem; position: relative; overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.why__item:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.why__n { position: absolute; inset-inline-end: 12px; top: -4px; font-size: 4.2rem; font-weight: 900; color: var(--cream-2); line-height: 1; font-family: system-ui, sans-serif; }
.why__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); margin-bottom: 1rem; position: relative; }
.why__item h3 { font-size: 1.05rem; position: relative; }
.why__item p { color: var(--gray); font-size: .92rem; margin: 0; position: relative; }

/* ---------- Documents ---------- */
.docs { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: center; }
.docs__text p { color: #46506a; font-size: 1.06rem; margin-bottom: 1.6rem; }
.docs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.docs__list li { background: #fff; border-radius: var(--r); padding: 1.3rem; display: flex; gap: .9rem; align-items: flex-start; border: 1px solid var(--line); }
.docs__list b { color: var(--navy); display: block; margin-bottom: .25rem; }
.docs__list p { color: var(--gray); margin: 0; font-size: .92rem; line-height: 1.7; }
.docs__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cream); color: var(--gold-d); }

/* ---------- Testimonials ---------- */
.quote { margin: 0; display: flex; flex-direction: column; }
.quote__ic { color: var(--gold); margin-bottom: .8rem; }
.quote blockquote { margin: 0 0 1.4rem; flex: 1; color: #3b4560; }
.quote figcaption { display: flex; gap: .8rem; align-items: center; border-top: 1px solid var(--line); padding-top: 1rem; }
.quote figcaption b { display: block; color: var(--navy); line-height: 1.3; }
.quote figcaption small { color: var(--gray); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3.5rem; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head p { color: var(--gray); }
.faq__list { display: grid; gap: .8rem; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s; }
.qa[open] { border-color: var(--gold); box-shadow: var(--sh-1); }
.qa summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa__pm { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); position: relative; transition: background .2s, transform .3s; }
.qa__pm::before, .qa__pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); border-radius: 2px; }
.qa__pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.qa[open] .qa__pm { background: var(--gold); transform: rotate(180deg); }
.qa[open] .qa__pm::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { padding: 0 1.3rem 1.2rem; margin: 0; color: #4b5570; }

/* ---------- Apply / form ---------- */
.apply { background: var(--navy); color: #dfe5f3; padding: clamp(64px, 6vw + 30px, 110px) 0; position: relative; overflow: hidden; }
.apply::before { content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; border: 2px solid rgba(212, 160, 23, .35); inset-inline-start: -380px; top: -260px; }
.apply::after { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 55, 122, .9), transparent 70%); inset-inline-end: -200px; bottom: -300px; }
.apply__in { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; }
.apply__logo { width: 120px; margin-bottom: 1.4rem; }
.apply h2 { color: #fff; }
.apply__text p { font-size: 1.08rem; color: #c9d1e6; }
.contact { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .8rem; }
.contact li, .contact a { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; font-weight: 600; }
.contact span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--gold-2); flex: none; }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); position: relative; }
.form::before { content: ""; position: absolute; inset-inline: 2.4rem; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold); }
.form h3 { font-size: 1.4rem; margin-bottom: .2rem; }
.form__sub { color: var(--gray); font-size: .92rem; margin-bottom: 1.3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.inp { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.inp span { font-weight: 700; font-size: .88rem; color: var(--navy); }
.inp input, .inp select, .inp textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem .9rem; background: #FCFBF8; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.inp input:focus, .inp select:focus, .inp textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(13, 27, 61, .08); }
.inp input[dir="ltr"] { text-align: right; }
.inp input[dir="ltr"]::placeholder { text-align: right; }
.inp .is-bad { border-color: #d64545; background: #fff7f7; }
.inp textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__err { background: #fff1f1; color: #b02a2a; border-radius: 10px; padding: .6rem .9rem; font-size: .92rem; font-weight: 600; }
.form__priv { text-align: center; color: var(--gray); font-size: .82rem; margin: .8rem 0 0; }
.form__ok { text-align: center; padding: 1.5rem .5rem; }
.form__ok-ic { width: 76px; height: 76px; border-radius: 50%; background: #E7F7EE; color: var(--wa); display: grid; place-items: center; margin: 0 auto 1rem; }
.form__ok h3 { font-size: 1.3rem; }
.form__ok p { color: var(--gray); }
.form button[disabled] { opacity: .7; cursor: progress; }

/* ---------- Footer ---------- */
.foot { background: #081230; color: #aab4cc; padding: 64px 0 0; font-size: .95rem; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 40px; }
.foot__brand img { width: 92px; margin-bottom: 1rem; }
.foot h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot a { text-decoration: none; color: #aab4cc; transition: color .2s; }
.foot a:hover { color: var(--gold-2); }
.social { display: flex; gap: .55rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, color .2s; }
.social a:hover { background: var(--gold); color: var(--navy); }
.foot__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.2rem 0; text-align: center; font-size: .86rem; }

/* WhatsApp float */
.wa-float { position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: .5rem; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; padding: .8rem 1.1rem .8rem 1.2rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(31, 175, 90, .45); transition: transform .2s; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 175, 90, .5); animation: ring 2.4s infinite; }
@keyframes ring { 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 175, 90, 0); } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 1.1rem; }
  .nav__links a { font-size: .9rem; }
  .explorer__bar { grid-template-columns: auto auto; }
  .why { grid-template-columns: repeat(3, 1fr); }
  .road__list { grid-template-columns: repeat(3, 1fr); row-gap: 2.4rem; }
  .road__path { display: none; }
}
@media (max-width: 1080px) {
  .nav__links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; background: #fff; padding: .6rem 16px 1.2rem; border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); transform: translateY(-120%); transition: transform .35s var(--ease); z-index: -1; }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: .85rem .2rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__links a::after { display: none; }
  .nav__cta-m { display: block; color: var(--gold-d) !important; border: 0 !important; font-weight: 800 !important; }
  .nav__burger { display: inline-flex; }
  .hide-sm { display: none; }
  .hero__in, .about__in, .inst, .docs, .faq, .apply__in { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero { padding-top: 36px; }
  .hero__visual { width: min(300px, 70%); }
  .float--a { inset-inline-start: -10%; }
  .float--b { inset-inline-end: -8%; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .faq__head { position: static; }
  .stats__in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand small { display: none; }
  .nav__actions .btn--wa span { display: none; }
  .nav__actions .btn--wa { padding: .5rem; width: 42px; height: 42px; }
  .hero h1 { margin-top: .8rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .float { padding: .5rem .7rem; }
  .float b { font-size: .88rem; }
  .float small { display: none; }
  .float__ic { width: 34px; height: 34px; }
  .grid--3, .pillars, .docs__list, .why, .form__row { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .pillar { padding: 1.2rem 1rem; }
  .pillar b { font-size: .95rem; }
  .road__list { grid-template-columns: 1fr; row-gap: 0; }
  .road__step { flex-direction: row; text-align: start; align-items: flex-start; gap: 1rem; padding-bottom: 1.6rem; position: relative; }
  .road__step:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 27px; top: 56px; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--gold) 0 6px, transparent 6px 12px); }
  .road__num { width: 56px; height: 56px; font-size: 1.05rem; margin: 0; flex: none; border-width: 4px; }
  .explorer__bar { grid-template-columns: 1fr; padding: 1.1rem; }
  .seg { display: flex; }
  .seg button { flex: 1; padding: .45rem .5rem; }
  .explorer__meta { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table { background: transparent; box-shadow: none; display: grid; gap: .8rem; }
  .table tbody { display: grid; gap: .8rem; }
  .table tr { background: #fff; border-radius: var(--r-sm); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
  .table tbody th { grid-column: 1 / -1; background: var(--cream); border-bottom: 2px solid var(--gold); }
  .table td { text-align: start; border-bottom: 1px solid var(--line) !important; display: flex; flex-direction: column; font-size: 1rem; }
  .table td::before { content: attr(data-l); font-family: "Cairo", sans-serif; font-weight: 600; font-size: .78rem; color: var(--gray); }
    .stat { padding: 1.3rem .6rem; }
  .stat span { font-size: .85rem; }
  .foot__in { grid-template-columns: 1fr; gap: 2rem; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__arc path { stroke-dashoffset: 0; }
}

/* ==========================================================
   Multi-page additions
   ========================================================== */
.section--tight { padding: clamp(36px, 4vw + 16px, 72px) 0; }
.nav__links a.is-active { color: var(--navy); font-weight: 800; }
.nav__scrim { position: fixed; inset: 74px 0 0; background: rgba(13, 27, 61, .35); z-index: 40; }
.nav__scrim[hidden] { display: none; }

/* Inner page hero */
.phero { background: var(--cream); padding: clamp(28px, 3vw + 14px, 56px) 0 clamp(26px, 3vw + 10px, 48px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(212, 160, 23, .28); inset-inline-start: -160px; top: -220px; }
.phero h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.7rem); font-weight: 900; margin: .3rem 0 .5rem; max-width: 22em; }
.phero p { color: #46506a; font-size: clamp(1rem, .95rem + .3vw, 1.12rem); max-width: 44em; margin: 0; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--gray); font-weight: 600; }
.crumbs a { color: var(--gold-d); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* CTA band */
.band { background: var(--navy); color: #c9d1e6; padding: clamp(40px, 4vw + 20px, 72px) 0; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 2px solid rgba(212, 160, 23, .3); inset-inline-end: -200px; top: -260px; }
.band__in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1.6rem 3rem; flex-wrap: wrap; }
.band h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
.band p { margin: 0; }
.band__btns { display: flex; gap: .7rem; flex-wrap: wrap; }

/* Services / docs headings now h2 for correct outline */
.service h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.docs__list { counter-reset: none; }
.docs__list h2 { font-size: 1.05rem; margin: 0 0 .25rem; }
.docs__list { grid-template-columns: 1fr 1fr; }
.about__text p { color: #46506a; font-size: 1.06rem; }

/* University explorer (page) */
.explorer__bar { grid-template-columns: minmax(220px, 1.4fr) auto auto minmax(170px, 1fr); }
.uni__ar { margin: -.1rem 0 .1rem; color: var(--gold-d); font-weight: 700; font-size: .9rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs { min-height: 44px; }
input[type="range"] { height: 30px; background: linear-gradient(to left, var(--gold) var(--p, 100%), var(--cream-2) var(--p, 100%)) center / 100% 6px no-repeat; margin: .2rem 0; touch-action: pan-y; }
input[type="range"]::-webkit-slider-thumb { width: 26px; height: 26px; }
.more { text-align: center; margin-top: 1.6rem; }
.more[hidden] { display: none; }
.uni[data-collapsed] { display: none; }

/* Institutes: neutral cards, shown in the order set by the admin (no ranking, no highlight) */
.inst__count { display: flex; align-items: center; gap: .45rem; color: var(--gray); font-weight: 600; margin: 0 0 1.2rem; }
.insts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.inst-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--sh-1); }
.inst-card__h { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.inst-card h2 { font-family: system-ui, "Segoe UI", sans-serif; font-size: 1.08rem; font-weight: 750; margin: 0; text-align: right; }
.inst-card__prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; }
.inst-card__prices div { background: var(--cream); border-radius: var(--r-sm); padding: .6rem .5rem; text-align: center; }
.inst-card__prices dt { font-size: .78rem; color: var(--gray); font-weight: 600; }
.inst-card__prices dd { margin: 0; font-family: system-ui, sans-serif; font-weight: 800; color: var(--navy); font-size: 1.02rem; direction: ltr; }
.inst-card .btn { margin-top: auto; }

/* FAQ tabs (general / why Malaysia) */
.faq__body { min-width: 0; }
.tabs { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 1rem; }
.tabs button { flex: 1; border: 0; background: transparent; border-radius: 999px; padding: .6rem .8rem; font-weight: 700; color: #4a5470; cursor: pointer; min-height: 44px; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(13, 27, 61, .2); }
.js .faq__list[hidden] { display: none; }
.faq__intro { color: #46506a; margin: 0 0 .4rem; }
.faq__intro b { color: var(--navy); }
.qa__ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
.qa--why summary { justify-content: flex-start; }
.qa--why summary .qa__pm { margin-inline-start: auto; }
.section--cream .qa { border-color: #e9e1d1; }

/* Form additions */
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: #4b5570; margin: .2rem 0 1rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: .25rem; accent-color: var(--navy); }
.consent a { color: var(--navy); font-weight: 700; }
.consent.is-bad span { color: #b02a2a; }
.form__again { margin-top: .7rem; }
.cf-turnstile { margin-bottom: 1rem; }
.form .inp select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236C757D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left .95rem center; background-size: 12px 8px; padding-inline-end: 2.4rem; }

/* Footer heading (h2 for a correct outline, styled small) */
.foot__h { color: #fff; font-size: 1.02rem; margin-bottom: 1rem; }

/* Long-form text */
.prose { max-width: 760px; }
.prose p { color: #3b4560; font-size: 1.05rem; }

/* Mobile action bar */
.mbar { display: none; }

/* Comfortable touch targets everywhere */
.btn { min-height: 44px; }
.seg button { min-height: 40px; }
.foot a { display: inline-block; padding: .2rem 0; }

@media (max-width: 1080px) {
  .nav__links { max-height: calc(100dvh - 74px); overflow-y: auto; visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
  .nav__links.is-open { visibility: visible; transition: transform .35s var(--ease); }
  .nav__links a { min-height: 48px; display: flex; align-items: center; }
  .nav__links a.is-active { color: var(--gold-d); }
  .nav__cta-m { display: flex !important; justify-content: center; margin-top: 1rem; color: var(--navy) !important; border-radius: 999px !important; }
  .explorer__bar { grid-template-columns: 1fr 1fr; }
  .field--search { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .mbar { display: flex; gap: .5rem; position: fixed; inset-inline: 0; bottom: 0; z-index: 55; padding: .6rem 12px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(13, 27, 61, .08); transition: transform .3s var(--ease); }
  .mbar .btn--gold { flex: 1; }
  .mbar .btn--wa { width: 52px; padding: 0; flex: none; }
  .mbar.is-hidden, .menu-open .mbar { transform: translateY(110%); }
  .wa-float { display: none; }
  .foot__bottom { padding-bottom: calc(1.2rem + 68px + env(safe-area-inset-bottom)); }
  .docs__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 24px 0 40px; }
  .hero__in { gap: 1.6rem; }
  .hero h1 { font-size: clamp(1.85rem, 1.3rem + 3vw, 2.3rem); margin: .7rem 0 .7rem; }
  .eyebrow { font-size: .8rem; padding: .3rem .8rem; }
  .hero__ctas { margin: 1.3rem 0 1.1rem; gap: .6rem; }
  .hero__visual { width: min(240px, 64%); }
  .chips { gap: .35rem 1rem; }
  .chips li { font-size: .88rem; }
  .head { margin-bottom: 2rem; }
  .explorer__bar { grid-template-columns: 1fr; gap: 1rem; }
  .seg { width: 100%; }
  .explorer__meta { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .unis { grid-template-columns: 1fr; gap: .9rem; }
  .uni { padding: 1.1rem; }
  .uni__focus { margin: .1rem 0 .3rem; }
  .uni__fee { padding: .6rem .8rem; margin-bottom: .6rem; }
  .insts { grid-template-columns: 1fr; }
  .band__btns, .band__btns .btn { width: 100%; }
  .band__btns { flex-direction: column; }
  .apply { padding: 48px 0; }
  .apply__in { gap: 1.8rem; }
  .apply__logo { display: none; }
  .contact { margin-top: 1.1rem; }
  .form { padding: 1.3rem 1.1rem; border-radius: 20px; }
  .inp input, .inp select, .inp textarea { font-size: 16px; padding: .8rem .9rem; } /* 16px stops iOS zoom on focus */
  .qa summary { padding: 1rem 1.05rem; }
  .qa p { padding: 0 1.05rem 1.1rem; }
  .faq { gap: 1.6rem; }
  .crumbs { font-size: .82rem; }
  .pillars { grid-template-columns: 1fr 1fr; }
}
