/* =====================================================================
   MicroStarX — public website (v2, bright corporate)
   Brand: logo blue → sky cyan. Type: Plus Jakarta Sans (Urdu: Noto Nastaliq).
   Light theme by default, optional dark theme ([data-theme="dark"]), RTL ready.
   ===================================================================== */
:root {
  --primary: #0B63CE;
  --primary-700: #0849A0;
  --cyan: #12B3E8;
  --grad: linear-gradient(120deg, #0B63CE 0%, #12B3E8 100%);
  --grad-soft: linear-gradient(135deg, #EEF5FF 0%, #E6F7FD 100%);
  --ink: #0A1A3A;
  --text: #43516B;
  --muted: #56637B;
  --bg: #FFFFFF;
  --soft: #F5F8FE;
  --soft-2: #EAF2FD;
  --surface: #FFFFFF;
  --line: #E3EAF4;
  --success: #14A06B;
  --amber: #F6A609;
  --footer: #071230;
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-xl: 32px;
  --sh: 0 10px 30px -14px rgba(10, 26, 58, .22);
  --sh-hover: 0 24px 50px -20px rgba(11, 99, 206, .38);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ur: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --header-h: 76px;
  --bs-body-font-family: var(--font);
  --bs-primary: #0B63CE; --bs-primary-rgb: 11, 99, 206;
  --bs-link-color: #0B63CE; --bs-link-color-rgb: 11, 99, 206; --bs-link-hover-color: #0849A0;
  color-scheme: light;
}
[data-theme="dark"] {
  --ink: #EEF3FF; --text: #B8C4DA; --muted: #8E9BB5; --bg: #0A1122; --soft: #0F1930; --soft-2: #142242; --surface: #111C35;
  --line: #22314F; --footer: #050B1A; --grad-soft: linear-gradient(135deg, #0F1D3B 0%, #0D2338 100%);
  --sh: 0 10px 30px -14px rgba(0, 0, 0, .6); --sh-hover: 0 24px 50px -20px rgba(18, 179, 232, .35);
  --bs-body-bg: #0A1122; --bs-body-color: #B8C4DA; --bs-border-color: #22314F; --bs-secondary-color: #8E9BB5; --bs-tertiary-bg: #142242;
  color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { font-family: var(--font); font-size: 1rem; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font); color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-700); }
[data-theme="dark"] a:not(.btn) { color: #5DB8FF; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(11, 99, 206, .18); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.text-muted, .text-body-secondary { color: var(--muted) !important; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 3000; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.urdu, [lang="ur"] { font-family: var(--font-ur); }

/* Urdu interface */
html[lang="ur"] body { font-family: var(--font-ur); line-height: 2.05; font-size: 1.02rem; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] h4, html[lang="ur"] h5, html[lang="ur"] h6,
html[lang="ur"] .h1, html[lang="ur"] .h2, html[lang="ur"] .h3, html[lang="ur"] .h4, html[lang="ur"] .h5, html[lang="ur"] .h6 { font-family: var(--font-ur); line-height: 1.75; letter-spacing: 0; font-weight: 600; }
html[lang="ur"] .btn, html[lang="ur"] .nav-link, html[lang="ur"] .form-label { font-family: var(--font-ur); }
html[lang="ur"] .ltr, html[lang="ur"] [dir="ltr"] { font-family: var(--font); }

/* ------------------------------------------------------------ preloader */
.preloader { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; background: var(--bg); transition: opacity .45s ease, visibility .45s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark { width: 72px; height: 72px; position: relative; }
.preloader-mark img { width: 72px; height: 72px; object-fit: contain; animation: pulse 1.2s ease-in-out infinite; }
.preloader-mark::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 3px solid var(--soft-2); border-top-color: var(--primary); animation: spin 1s linear infinite; }
@keyframes pulse { 50% { transform: scale(.9); opacity: .75; } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 100%; z-index: 1100; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
[dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }

/* --------------------------------------------------------------- buttons */
.btn { font-weight: 600; border-radius: 999px; padding: .7rem 1.4rem; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s; }
.btn-sm { padding: .45rem 1rem; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.02rem; }
.btn-primary, .btn-grad { background: var(--grad); border: 0; color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 99, 206, .7); }
.btn-primary:hover, .btn-grad:hover, .btn-primary:focus-visible, .btn-grad:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(11, 99, 206, .8); background: var(--grad); }
.btn-outline-primary { color: var(--primary); border: 1.5px solid var(--primary); background: transparent; }
.btn-outline-primary:hover, .btn-outline-primary:focus-visible { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-check:checked + .btn-outline-primary { background: var(--primary); color: #fff; }
.btn-light-soft { background: var(--soft-2); color: var(--primary); border: 0; }
.btn-light-soft:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); border: 0; }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-ghost-white { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); background: transparent; }
.btn-ghost-white:hover { background: #fff; color: var(--primary); }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .btn-label::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-inline-start: .5em; vertical-align: -.15em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }
[dir="rtl"] .link-arrow i { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover i { transform: scaleX(-1) translateX(4px); }

/* ---------------------------------------------------------------- topbar */
.topbar { background: var(--footer); color: rgba(255, 255, 255, .72); font-size: .82rem; }
.topbar .container { min-height: 40px; }
.topbar-list { list-style: none; display: flex; gap: 1.3rem; margin: 0; padding: 0; align-items: center; }
.topbar-list i { margin-inline-end: .4rem; color: var(--cyan); }
.topbar a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--bg); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(10, 26, 58, .5); }
.site-header .navbar { min-height: var(--header-h); padding: .4rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.38rem; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--font); }
.brand-tag { font-size: .66rem; color: var(--muted); font-weight: 600; margin-top: .2rem; letter-spacing: .04em; font-family: var(--font); }
.navbar-toggler { border: 0; font-size: 1.7rem; color: var(--ink); padding: .2rem .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.nav-link { font-weight: 600; color: var(--ink); padding: .55rem .85rem !important; font-size: .95rem; border-radius: 999px; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.show { color: var(--primary); }
.nav-link.active { color: var(--primary); background: var(--soft-2); }
.dropdown-menu { border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: .5rem; min-width: 15rem; background: var(--surface); }
.dropdown-item { border-radius: var(--r-sm); padding: .55rem .8rem; font-weight: 500; color: var(--ink); white-space: normal; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--soft-2); color: var(--primary); }
.dropdown-item.active, .dropdown-item:active { background: var(--primary); color: #fff; }
.mega-menu { min-width: 620px; padding: 1rem; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega-item { display: flex; gap: .8rem; padding: .7rem; border-radius: var(--r); text-decoration: none; color: var(--text); }
.mega-item:hover, .mega-item:focus-visible { background: var(--soft); }
.mega-item i { flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--soft-2); color: var(--primary); font-size: 1.15rem; }
.mega-item strong { display: block; color: var(--ink); font-size: .93rem; }
.mega-item span { font-size: .8rem; color: var(--muted); line-height: 1.45; display: block; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; padding: .8rem 1rem; border-radius: var(--r); background: var(--grad-soft); font-size: .88rem; }
.header-tools { display: flex; align-items: center; gap: .35rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; font-size: 1rem; text-decoration: none; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--soft-2); color: var(--primary); }
.lang-btn { width: auto; padding: 0 .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.lang-btn[lang="ur"] { font-family: var(--font-ur); font-size: .85rem; line-height: 1; padding-top: 2px; }
.theme-toggle .bi-sun { display: none; }
[data-theme="dark"] .theme-toggle .bi-moon-stars { display: none; }
[data-theme="dark"] .theme-toggle .bi-sun { display: inline; }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .navbar .dropdown > .dropdown-menu { top: 100%; }
  .offcanvas-lg-body { display: flex; align-items: center; }
}
.header-tools .btn { white-space: nowrap; }
@media (max-width: 1399.98px) and (min-width: 992px) { .nav-link { padding: .5rem .6rem !important; font-size: .9rem; } }
@media (max-width: 1199.98px) and (min-width: 992px) { .nav-link { padding: .5rem .42rem !important; font-size: .86rem; } .brand-tag { display: none; } .brand-name { font-size: 1.2rem; } .header-tools .lang-btn { display: none !important; } }
@media (max-width: 991.98px) {
  .offcanvas { max-width: 88vw; background: var(--bg); }
  .offcanvas .nav-link { padding: .8rem .5rem !important; border-bottom: 1px solid var(--line); border-radius: 0; }
  .offcanvas .nav-link.active { background: transparent; }
  .offcanvas .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 .5rem; min-width: 0; }
  .mega-menu { min-width: 0; padding: 0; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-item span, .mega-foot { display: none; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); padding: 4.5rem 0 5rem; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 99, 206, .16) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 720px; height: 720px; inset-inline-end: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 179, 232, .28), transparent 65%); pointer-events: none; }
.hero .carousel-item { transition: opacity .8s ease; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .86rem; color: var(--primary); background: var(--surface); border: 1px solid var(--line); padding: .4rem .9rem .4rem .45rem; border-radius: 999px; box-shadow: var(--sh); }
.hero-badge i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: .8rem; }
.hero-title { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.07; margin: 1.3rem 0 1.1rem; max-width: 14ch; }
html[lang="ur"] .hero-title { line-height: 1.7; font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.12rem; max-width: 36rem; color: var(--text); }
.hero-trust { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; font-size: .9rem; color: var(--muted); }
.hero-trust strong { color: var(--ink); }
.avatar-stack { display: flex; }
.avatar-stack img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); margin-inline-start: -10px; }
.avatar-stack img:first-child { margin-inline-start: 0; }
.stars { color: var(--amber); font-size: .85rem; }
.hero-visual { position: relative; padding: 1.5rem; }
.hero-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(10, 26, 58, .45); aspect-ratio: 4/3.2; background: var(--soft-2); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 26, 58, .35)); }
.hero-ring { position: absolute; inset-inline-start: -8px; bottom: -8px; width: 150px; height: 150px; border-radius: 50%; border: 16px solid transparent; background: var(--grad) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .9; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; box-shadow: var(--sh); font-size: .82rem; line-height: 1.35; color: var(--muted); }
.float-card strong { display: block; color: var(--ink); font-size: 1rem; }
.float-card .fc-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.15rem; }
.float-card.fc-a { inset-inline-start: -10px; top: 14%; animation: floaty 6s ease-in-out infinite; }
.float-card.fc-b { inset-inline-end: -6px; bottom: 12%; animation: floaty 7s ease-in-out infinite reverse; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.hero-controls { display: flex; align-items: center; gap: .8rem; margin-top: 2.6rem; }
.hero-dots { display: flex; gap: .45rem; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(11, 99, 206, .25); padding: 0; transition: width .3s, background .3s; }
.hero-dots button.active { width: 32px; background: var(--primary); }
.hero-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; }
.hero-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
[dir="rtl"] .hero-arrow i { transform: scaleX(-1); }
@media (max-width: 991.98px) { .hero { padding: 3rem 0 3.5rem; } .hero-visual { max-width: 560px; margin: 1rem auto 0; } }
@media (max-width: 575.98px) { .float-card { font-size: .74rem; padding: .55rem .7rem; } .float-card .fc-icon { width: 34px; height: 34px; } .hero-ring { width: 100px; height: 100px; border-width: 12px; } }

/* -------------------------------------------------------- logo marquee */
.trusted { padding: 2.2rem 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.trusted-label { text-align: center; font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: 1.2rem; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; gap: 3rem; width: max-content; align-items: center; animation: marquee 55s linear infinite; }
[dir="rtl"] .logo-track { animation-name: marquee-rtl; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-item { flex: 0 0 auto; height: 60px; display: grid; place-items: center; }
.logo-item img { max-height: 56px; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.logo-item:hover img { filter: none; opacity: 1; }
[data-theme="dark"] .logo-item { background: #fff; padding: .4rem .7rem; border-radius: 10px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.5rem)); } }
@keyframes marquee-rtl { to { transform: translateX(calc(50% + 1.5rem)); } }

/* -------------------------------------------------------------- sections */
.section { padding: 6rem 0; position: relative; }
.section-sm { padding: 4rem 0; }
.section-soft { background: var(--soft); }
.section-grad { background: var(--grad-soft); }
@media (max-width: 767.98px) { .section { padding: 4rem 0; } }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; color: var(--primary); background: var(--soft-2); padding: .35rem .85rem; border-radius: 999px; margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.section-title { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; margin: 0; }
html[lang="ur"] .section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 1rem 0 0; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 3rem; }
.head-row .section-head { margin-bottom: 0; }
.prose { max-width: 75ch; }
.prose h2, .prose h3 { margin-top: 2rem; }
.prose img { border-radius: var(--r); }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--r); }
.prose blockquote { border-inline-start: 4px solid var(--cyan); padding-inline-start: 1rem; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.check-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
@media (max-width: 575.98px) { .check-list.two-col { grid-template-columns: 1fr; } }
.check-list li { position: relative; padding-inline-start: 2rem; font-weight: 500; color: var(--ink); }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; inset-inline-start: 0; top: .15rem; color: #fff; background: var(--grad); width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }

/* cards (shared) */
.card-x { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .3s, box-shadow .3s, border-color .3s; height: 100%; }
.card-x.hoverable:hover, a.card-x:hover { transform: translateY(-6px); box-shadow: var(--sh-hover); border-color: transparent; }
.icon-tile { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: var(--soft-2); color: var(--primary); transition: background .3s, color .3s; }
.hoverable:hover .icon-tile, a.card-x:hover .icon-tile { background: var(--grad); color: #fff; }

/* stats */
.stats-wrap { position: relative; z-index: 2; margin-top: -3rem; }
.stats-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 2rem 1.5rem; }
.stat { display: flex; align-items: center; gap: 1rem; padding: .5rem 1rem; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--soft-2); color: var(--primary); display: grid; place-items: center; font-size: 1.45rem; flex: 0 0 auto; }
.stat-num { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.03em; font-family: var(--font); }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: .25rem; }
@media (max-width: 991.98px) { .stat + .stat { border-inline-start: 0; } .stats-grid { row-gap: 1rem; } }
.stats-band-blue { background: var(--grad); border-radius: var(--r-lg); padding: 2.2rem 1.5rem; color: #fff; }
.stats-band-blue .stat-num { color: #fff; } .stats-band-blue .stat-label { color: rgba(255, 255, 255, .85); } .stats-band-blue .stat-icon { background: rgba(255, 255, 255, .16); color: #fff; } .stats-band-blue .stat + .stat { border-color: rgba(255, 255, 255, .2); }

/* specialties / features */
.feature-card { padding: 2rem; }
.feature-card h3 { font-size: 1.2rem; margin: 1.3rem 0 .5rem; }
.feature-card p { color: var(--muted); margin: 0; }

/* services */
.service-card { display: flex; flex-direction: column; padding: 1.8rem; text-decoration: none; color: var(--text); position: relative; overflow: hidden; }
.service-card h3 { font-size: 1.2rem; margin: 1.3rem 0 .5rem; color: var(--ink); }
.service-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.service-card .link-arrow { margin-top: .5rem; }
.service-card::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--soft-2); opacity: 0; transition: opacity .3s; }
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card-img { margin: -1.8rem -1.8rem 1.4rem; aspect-ratio: 16/9; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-card-img img { transform: scale(1.05); }

/* split feature */
.split-figure { position: relative; margin: 0; }
.split-figure img { border-radius: var(--r-xl); width: 100%; box-shadow: var(--sh); background: var(--soft); }
.split-figure .float-card { inset-inline-end: -10px; bottom: 24px; }
.split-figure::before { content: ""; position: absolute; inset-inline-start: -18px; top: -18px; width: 120px; height: 120px; border-radius: var(--r-lg); background-image: radial-gradient(var(--primary) 1.5px, transparent 1.5px); background-size: 14px 14px; opacity: .25; z-index: -1; }

/* why */
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
@media (max-width: 575.98px) { .why-list { grid-template-columns: 1fr; } }
.why-item { display: flex; gap: 1rem; padding: 1.2rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.why-item i { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-2); color: var(--primary); font-size: 1.2rem; }
.why-item h3 { font-size: 1.02rem; margin: .1rem 0 .25rem; }
.why-item p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.55; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) { .why-grid, .why-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .why-grid, .why-grid.four { grid-template-columns: 1fr; } }
.why-grid .feature-card { padding: 1.7rem; }

/* sliders (scroll-snap, jQuery controls) */
.x-slider { position: relative; }
.x-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem .25rem 1.5rem; scrollbar-width: none; }
.x-track::-webkit-scrollbar { display: none; }
.x-track > * { scroll-snap-align: start; flex: 0 0 calc((100% - 3rem) / 3); }
@media (max-width: 991.98px) { .x-track > * { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width: 575.98px) { .x-track > * { flex-basis: 86%; } }
.x-nav { display: flex; gap: .5rem; }
.x-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.x-nav button:hover:not(:disabled) { background: var(--primary); color: #fff; border-color: var(--primary); }
.x-nav button:disabled { opacity: .4; }
[dir="rtl"] .x-nav i { transform: scaleX(-1); }

/* projects */
.project-card { overflow: hidden; display: flex; flex-direction: column; }
.project-img { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--soft); aspect-ratio: 4/3; overflow: hidden; cursor: zoom-in; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .project-img img { transform: scale(1.06); }
.project-img .zoom { position: absolute; inset-inline-end: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--primary); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.project-card:hover .zoom { opacity: 1; transform: none; }
.project-body { padding: 1.3rem 1.5rem 1.5rem; }
.project-body h3 { font-size: 1.1rem; margin: .7rem 0 .2rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--primary); background: var(--soft-2); padding: .25rem .65rem; border-radius: 999px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.filter-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; transition: all .2s; }
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -10px rgba(11, 99, 206, .8); }
.filter-item.is-hidden { display: none !important; }

/* AI tools teaser */
.ai-card { position: relative; padding: 2.2rem; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; height: 100%; border: 1px solid var(--line); }
.ai-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.ai-card:hover::before { opacity: 1; }
.ai-card h3 { font-size: 1.35rem; margin: 1.2rem 0 .6rem; }
.ai-card p { color: var(--muted); }
.ai-chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; color: #fff; background: var(--grad); padding: .25rem .7rem; border-radius: 999px; }
.ai-steps { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .45rem; font-size: .92rem; }
.ai-steps li { display: flex; gap: .55rem; align-items: center; color: var(--ink); }
.ai-steps li i { color: var(--primary); }

/* institute band */
.course-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.course-chips li { display: inline-flex; align-items: center; gap: .45rem; background: var(--surface); border: 1px solid var(--line); padding: .6rem 1rem; border-radius: 999px; font-weight: 600; color: var(--ink); font-size: .92rem; box-shadow: 0 4px 12px -8px rgba(10, 26, 58, .25); }
.course-chips li i { color: var(--primary); }
.course-chips li.more a { text-decoration: none; }

/* team */
.team-card { overflow: hidden; text-align: center; }
.team-photo { position: relative; aspect-ratio: 1/1.08; overflow: hidden; background: var(--soft); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-links { position: absolute; inset-inline: 0; bottom: 12px; display: flex; justify-content: center; gap: .4rem; opacity: 0; transform: translateY(8px); transition: all .3s; }
.team-card:hover .team-links, .team-card:focus-within .team-links { opacity: 1; transform: none; }
.team-links a { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; text-decoration: none; }
.team-body { padding: 1.2rem 1rem 1.4rem; }
.team-name { font-size: 1.05rem; margin: 0 0 .2rem; }
.team-role { color: var(--primary); font-size: .86rem; font-weight: 600; margin: 0; }

/* testimonials */
.quote-card { padding: 2rem; display: flex; flex-direction: column; height: 100%; }
.quote-card .stars { margin-bottom: 1rem; }
.quote-card blockquote { margin: 0 0 1.5rem; color: var(--ink); font-size: 1.04rem; line-height: 1.7; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.quote-card figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-card figcaption strong { display: block; color: var(--ink); }
.quote-card figcaption span { color: var(--muted); font-size: .88rem; }
.quote-mark { position: absolute; inset-inline-end: 1.5rem; top: 1rem; font-size: 3.5rem; line-height: 1; color: var(--soft-2); font-family: Georgia, serif; }

/* news */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 1.4rem 1.5rem 1.6rem; }
.post-body time { font-size: .82rem; color: var(--muted); font-weight: 600; }
.post-body h3 { font-size: 1.15rem; margin: .4rem 0 .5rem; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h3 a:hover { color: var(--primary); }
.post-body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* CTA */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--grad); color: #fff; padding: 3.5rem; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .09); inset-inline-end: -120px; top: -160px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-title { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin: 0; }
.cta-lead { color: rgba(255, 255, 255, .88); margin: .8rem 0 0; font-size: 1.08rem; }
@media (max-width: 575.98px) { .cta-band { padding: 2.2rem 1.5rem; border-radius: var(--r-lg); } }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--grad-soft); padding: 4rem 0 3.6rem; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 99, 206, .14) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 85% 20%, #000, transparent 60%); }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; inset-inline-end: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 179, 232, .25), transparent 65%); }
.page-hero .container { position: relative; z-index: 1; }
.page-title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; margin: .6rem 0 0; max-width: 24ch; }
html[lang="ur"] .page-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-lead { color: var(--text); max-width: 44rem; margin: 1rem 0 0; font-size: 1.1rem; }
.breadcrumb { margin: 0; font-size: .88rem; font-weight: 600; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb-item.active { color: var(--muted); }
.page-hero-img { border-radius: var(--r-lg); box-shadow: var(--sh); max-height: 260px; object-fit: cover; width: 100%; }

/* about */
.about-collage { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.about-collage img { width: 100%; border-radius: var(--r-lg); object-fit: cover; box-shadow: var(--sh); }
.about-collage .tall { grid-row: span 2; height: 100%; min-height: 420px; }
.about-collage .sq { aspect-ratio: 1/1; }
.exp-badge { position: absolute; inset-inline-start: 50%; bottom: -24px; transform: translateX(-50%); background: var(--grad); color: #fff; border-radius: var(--r); padding: 1rem 1.4rem; box-shadow: var(--sh); text-align: center; font-weight: 700; }
[dir="rtl"] .exp-badge { transform: translateX(50%); }
.mv-card { padding: 2.2rem; }
.mv-card h2 { font-size: 1.5rem; margin: 1.2rem 0 .6rem; }
.mv-card p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
@media (max-width: 767.98px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } .about-collage .tall { min-height: 300px; } }

/* process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 16px); opacity: .35; }
.process-step { position: relative; text-align: center; }
.process-icon { position: relative; width: 70px; height: 70px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh); font-size: 1.6rem; color: var(--primary); }
.process-num { position: absolute; top: -4px; inset-inline-end: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.process-step strong { display: block; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 767.98px) { .process { grid-template-columns: repeat(2, 1fr); } .process::before { display: none; } }

/* capability grid */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 575.98px) { .cap-grid { grid-template-columns: 1fr; } }
.cap { padding: 1.4rem; }
.cap h3 { font-size: 1.02rem; margin: .9rem 0 .25rem; }
.cap p { margin: 0; color: var(--muted); font-size: .92rem; }
.cap .icon-tile { width: 46px; height: 46px; font-size: 1.2rem; border-radius: 12px; }

/* side card */
.side-card { padding: 1.8rem; top: calc(var(--header-h) + 1.5rem); }
.side-card.grad { background: var(--grad); color: #fff; border: 0; }
.side-card.grad h2, .side-card.grad h3 { color: #fff; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li a { display: flex; gap: .7rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.side-links li:last-child a { border-bottom: 0; }
.side-links li a:hover { color: var(--primary); }
.side-links i { color: var(--primary); }
.steps-mini { padding-inline-start: 1.2rem; margin: 0; }
.steps-mini li { margin-bottom: .5rem; }
.detail-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.detail-list li { display: flex; gap: .7rem; padding: .5rem 0; }
.detail-list i { color: var(--primary); }

/* institute */
.course-tools { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 1.8rem; }
.course-search { max-width: 320px; }
.course-card { padding: 1.4rem; display: flex; gap: 1rem; align-items: flex-start; }
.course-card .icon-tile { width: 48px; height: 48px; font-size: 1.25rem; border-radius: 12px; flex: 0 0 auto; }
.course-card h3 { font-size: 1.02rem; margin: 0 0 .2rem; }
.course-card small { color: var(--muted); }
.course-card .apply { margin-inline-start: auto; align-self: center; }

/* industries */
.industry { padding: 1.6rem; text-align: center; }
.industry .icon-tile { margin: 0 auto; }
.industry h3 { font-size: 1.05rem; margin: 1rem 0 .3rem; }
.industry p { margin: 0; font-size: .88rem; color: var(--muted); }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.2rem; }
.client-logo { position: relative; aspect-ratio: 4/3; display: grid; place-items: center; padding: 1.2rem; background: #fff; }
.client-logo img { max-height: 90px; object-fit: contain; filter: grayscale(.85); opacity: .85; transition: filter .3s, opacity .3s, transform .3s; }
.client-logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.client-logo .client-name { position: absolute; inset-inline: 0; bottom: 0; padding: .4rem; font-size: .75rem; font-weight: 600; text-align: center; color: var(--ink); background: rgba(255, 255, 255, .95); border-radius: 0 0 var(--r-lg) var(--r-lg); opacity: 0; transition: opacity .3s; }
.client-logo:hover .client-name { opacity: 1; }

/* forms */
.form-card { padding: 2.2rem; }
@media (max-width: 575.98px) { .form-card { padding: 1.3rem; } }
.form-card fieldset { margin-bottom: 2rem; }
.form-card legend { font-weight: 700; color: var(--ink); font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .55rem; }
.form-card legend i { color: var(--primary); }
.form-label { font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: .92rem; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid var(--line); padding: .7rem .95rem; background-color: var(--surface); color: var(--ink); }
.form-control::placeholder { color: var(--muted); opacity: .8; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(11, 99, 206, .12); background-color: var(--surface); color: var(--ink); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.input-group > .form-control { border-radius: 12px; }
.req { color: #D6334B; }
.course-pick-cat { font-weight: 700; color: var(--muted); font-size: .82rem; margin: 1.1rem 0 .5rem; }
.course-pick { display: flex; flex-wrap: wrap; gap: .5rem; }
.course-pill { border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .95rem; font-size: .9rem; font-weight: 600; cursor: pointer; user-select: none; color: var(--ink); background: var(--surface); transition: all .15s; }
.course-pill:hover { border-color: var(--primary); color: var(--primary); }
.btn-check:checked + .course-pill { background: var(--grad); color: #fff; border-color: transparent; }
.btn-check:checked + .course-pill::before { content: "\F26E"; font-family: "bootstrap-icons"; margin-inline-end: .3rem; }
.btn-check:focus-visible + .course-pill { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form-feedback:empty { display: none; }
.form-feedback.ok { color: var(--success); font-weight: 600; }
.form-feedback.err { color: #D6334B; font-weight: 600; }
.site-footer .form-feedback.ok { color: #7EE2B0; }
.site-footer .form-feedback.err { color: #FFB3B3; }
.success-panel { max-width: 640px; margin: 0 auto; text-align: center; padding: 3rem 2rem; }
.success-panel > i { font-size: 3.4rem; color: var(--success); }
.ref-no { font-size: 2rem; font-weight: 800; letter-spacing: .01em; }

/* contact */
.contact-card { padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; text-decoration: none; color: var(--muted); }
.contact-card strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: .15rem; }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-link { display: flex; gap: 1rem; align-items: center; padding: 1.5rem; border-radius: var(--r-lg); background: var(--grad); color: rgba(255, 255, 255, .9); text-decoration: none; }
.map-link i { font-size: 2rem; }
.map-link strong { display: block; color: #fff; }
.map-link:hover { color: #fff; box-shadow: var(--sh-hover); }

/* FAQ */
.faq-accordion .accordion-item { border: 1px solid var(--line); border-radius: var(--r) !important; margin-bottom: .75rem; overflow: hidden; background: var(--surface); }
.faq-accordion .accordion-button { font-weight: 600; color: var(--ink); background: var(--surface); padding: 1.1rem 1.25rem; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--soft-2); color: var(--primary); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 4px rgba(11, 99, 206, .12); }
.faq-accordion .accordion-body { color: var(--text); }
[data-theme="dark"] .accordion-button::after { filter: invert(1); }
.faq-ur summary { color: var(--primary); cursor: pointer; font-family: var(--font-ur); }

/* certificates */
.verify-box { padding: 2.4rem; background: var(--grad); color: #fff; border: 0; }
.verify-box h2 { color: #fff; }
.verify-box .form-control { border: 0; }
.verify-result { display: flex; gap: 1rem; align-items: center; padding: 1.3rem; border-radius: var(--r); background: var(--surface); color: var(--text); }
.verify-result.ok { border-inline-start: 5px solid var(--success); }
.verify-result.no { border-inline-start: 5px solid #D6334B; }
.verify-result.no > i { font-size: 1.8rem; color: #D6334B; }
.verify-result img { border-radius: 50%; object-fit: cover; }
.verify-result h3 { color: var(--ink); }
.verify-badge { color: var(--success); font-weight: 700; margin: 0 0 .2rem; }
.student-card { text-align: center; padding: 1.5rem; }
.student-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--soft); border: 4px solid var(--soft-2); }
.student-card h3 { font-size: 1rem; margin: .8rem 0 .2rem; }
.student-card p { margin: 0; color: var(--muted); font-size: .88rem; }

/* events */
.event-row { display: flex; gap: 1rem; align-items: center; padding: 1.1rem; text-decoration: none; color: var(--muted); }
.event-date { flex: 0 0 78px; text-align: center; background: var(--grad); color: rgba(255, 255, 255, .9); border-radius: var(--r); padding: .6rem; font-size: .76rem; font-weight: 600; }
.event-date strong { display: block; font-size: 1.7rem; color: #fff; line-height: 1; }
.event-info strong { display: block; color: var(--ink); font-size: 1.05rem; }

/* gallery */
.gallery-grid { columns: 3 280px; column-gap: 1.2rem; }
.gallery-item { break-inside: avoid; margin: 0 0 1.2rem; position: relative; }
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; }
.gallery-item img { width: 100%; display: block; transition: transform .6s; }
.gallery-item button:hover img { transform: scale(1.04); }
.gallery-item figcaption { font-size: .9rem; color: var(--muted); padding-top: .5rem; font-weight: 500; }
.lightbox-content { background: transparent; border: 0; }
.lightbox-img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--r); }
.lightbox-caption { color: #fff; text-align: center; margin: .8rem 0 0; }
.lightbox-close { position: absolute; inset-inline-end: 0; top: -2.4rem; }

/* empty + error */
.empty-state { text-align: center; padding: 3.5rem 1.5rem; border: 2px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); background: var(--surface); }
.empty-state > i { font-size: 2.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.empty-state h2 { margin: .9rem 0 .4rem; }
.error-page { padding: 6rem 0; }
.error-code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }

/* AI tools pages */
.tool-card { padding: 2.2rem; }
.tool-result { display: none; }
.tool-result.show { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.option-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; font-weight: 600; color: var(--ink); background: var(--surface); transition: all .15s; font-size: .92rem; }
.option-tile i { font-size: 1.25rem; color: var(--primary); }
.option-tile:hover { border-color: var(--primary); }
.btn-check:checked + .option-tile { border-color: var(--primary); background: var(--soft-2); box-shadow: 0 0 0 3px rgba(11, 99, 206, .12); }
.btn-check:focus-visible + .option-tile { outline: 3px solid var(--cyan); outline-offset: 2px; }
.brief-block { padding: 1.4rem; border-radius: var(--r); background: var(--soft); margin-bottom: 1rem; }
.brief-block h3 { font-size: 1rem; margin: 0 0 .6rem; display: flex; gap: .5rem; align-items: center; }
.brief-block h3 i { color: var(--primary); }
.brief-block ul { margin: 0; padding-inline-start: 1.2rem; }
.rec-card { padding: 1.3rem; display: flex; gap: 1rem; }
.rec-step { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; }
.rec-card h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.rec-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.thinking { display: none; align-items: center; gap: .7rem; color: var(--muted); font-weight: 600; margin-top: 1rem; }
.thinking.show { display: flex; }
.thinking span { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: typing 1.2s infinite; }
.thinking span:nth-child(2) { animation-delay: .15s; } .thinking span:nth-child(3) { animation-delay: .3s; }

/* footer */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, .7); padding-top: 5rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(11, 99, 206, .3), transparent 65%); inset-inline-end: -200px; top: -300px; }
.site-footer .container { position: relative; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta h2 { color: #fff; font-size: 1.6rem; margin: 0; }
.site-footer .brand-name { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.site-footer .brand-tag { color: rgba(255, 255, 255, .55); }
.footer-about { margin: 1.2rem 0 1.4rem; max-width: 30rem; }
.footer-title { color: #fff; font-size: 1.02rem; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-inline-start: 4px; }
.footer-contact a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .75rem; }
.footer-contact i { color: var(--cyan); }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--grad); transform: translateY(-3px); }
.newsletter-form .form-label { color: rgba(255, 255, 255, .85); font-weight: 500; }
.newsletter-form .form-control { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }
.newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter-form .input-group .form-control { border-start-end-radius: 0; border-end-end-radius: 0; }
.newsletter-form .input-group .btn { border-radius: 0 12px 12px 0; }
[dir="rtl"] .newsletter-form .input-group .btn { border-radius: 12px 0 0 12px; }
.footer-bottom { margin-top: 4rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-bottom a { color: rgba(255, 255, 255, .75); }

/* floating & mobile action bar */
.back-to-top { position: fixed; z-index: 1040; inset-inline-start: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; text-decoration: none; box-shadow: var(--sh); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { color: #fff; }
.whatsapp-float { position: fixed; z-index: 1040; inset-inline-start: 20px; bottom: 78px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; font-size: 1.45rem; text-decoration: none; box-shadow: 0 12px 24px -8px rgba(37, 211, 102, .7); }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }
.action-bar { display: none; }
@media (max-width: 767.98px) {
  body { padding-bottom: 64px; }
  .whatsapp-float, .back-to-top { display: none; }
  .action-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 1045; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(10, 26, 58, .5); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a, .action-bar button { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem 0; font-size: .7rem; font-weight: 600; color: var(--ink); text-decoration: none; border: 0; background: none; }
  .action-bar i { font-size: 1.2rem; color: var(--primary); }
  .action-bar .wa i { color: #25D366; }
  .chatbot { bottom: 76px !important; }
  .chatbot .chat-launcher { display: none; }
  .chatbot.open .chat-launcher { display: grid; }
}

/* popup */
.site-popup .modal-content { border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.popup-image { width: 100%; height: auto; display: block; max-height: 60vh; object-fit: contain; background: var(--soft); }
.popup-close { position: absolute; inset-inline-end: 12px; top: 12px; z-index: 2; background-color: #fff; border-radius: 50%; padding: .6rem; opacity: .95; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.site-popup .modal-body { padding: 1.8rem 2rem 2rem; }
.popup-content { color: var(--muted); }
.popup-dismiss { color: var(--muted); text-decoration: none; margin-top: .5rem; }

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

/* --------------------------------------------------------------- chatbot */
.chatbot { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 1060; font-size: .95rem; font-family: var(--font); }
.chat-launcher { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 1.5rem; box-shadow: 0 16px 32px -10px rgba(11, 99, 206, .75); display: grid; place-items: center; position: relative; transition: transform .2s; }
.chat-launcher:hover { transform: scale(1.06); }
.chat-launcher::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; animation: ping 2.6s ease-out 2s 3; }
.chat-hint { position: absolute; inset-inline-end: 72px; bottom: 10px; white-space: nowrap; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .82rem; font-weight: 600; box-shadow: var(--sh); animation: fadeUp .5s ease 3s both; }
.chatbot.open .chat-hint, .chatbot.hint-off .chat-hint { display: none; }
@keyframes ping { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.chat-icon-close { display: none; }
.chatbot.open .chat-icon-open { display: none; }
.chatbot.open .chat-icon-close { display: inline; }
.chat-panel { position: absolute; inset-inline-end: 0; bottom: 76px; width: min(390px, calc(100vw - 36px)); height: min(600px, calc(100vh - 120px)); background: var(--surface); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(10, 26, 58, .5); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); animation: panelIn .22s ease-out; }
.chat-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: scale(.95) translateY(8px); } to { opacity: 1; transform: none; } }
.chat-header { display: flex; align-items: center; gap: .65rem; padding: .95rem 1rem; background: var(--grad); color: #fff; }
.chat-header img { background: #fff; border-radius: 50%; padding: 3px; }
.chat-title { color: #fff; font-size: 1rem; margin: 0; font-family: var(--font); }
.chat-sub { margin: 0; font-size: .74rem; color: rgba(255, 255, 255, .85); display: flex; align-items: center; gap: .35rem; }
.chat-sub::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5CF2A5; }
.chat-lang { display: flex; background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 2px; }
.chat-lang button { border: 0; background: transparent; color: #fff; font-size: .76rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.chat-lang button[lang="ur"] { font-family: var(--font-ur); line-height: 1.6; }
.chat-lang button[aria-pressed="true"] { background: #fff; color: var(--primary); }
.chat-close { border: 0; background: transparent; color: #fff; font-size: 1.1rem; padding: .2rem .3rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .65rem; background: var(--soft); overscroll-behavior: contain; }
.msg { max-width: 86%; padding: .65rem .9rem; border-radius: 16px; line-height: 1.55; word-wrap: break-word; white-space: pre-line; }
.msg-bot { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-end-start-radius: 4px; align-self: flex-start; }
.msg-user { background: var(--grad); color: #fff; border-end-end-radius: 4px; align-self: flex-end; }
.msg-error { background: #FFF4F4; border-color: #F3C4C4; color: #8A1C1C; }
.msg a { color: inherit; font-weight: 700; }
.msg[dir="rtl"] { font-family: var(--font-ur); line-height: 2.2; text-align: right; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: .8rem .95rem; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-suggestions { display: flex; gap: .4rem; overflow-x: auto; padding: .6rem .8rem; border-top: 1px solid var(--line); background: var(--surface); scrollbar-width: thin; }
.chat-suggestions:empty { display: none; }
.chat-suggestions button { flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .32rem .8rem; font-size: .8rem; color: var(--primary); font-weight: 600; }
.chat-suggestions button:hover { border-color: var(--primary); background: var(--soft-2); }
.chat-suggestions[dir="rtl"] button { font-family: var(--font-ur); line-height: 1.9; }
.chat-form { display: flex; gap: .5rem; padding: .75rem .8rem; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 14px; padding: .6rem .8rem; font: inherit; max-height: 110px; background: var(--surface); color: var(--ink); }
.chat-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 99, 206, .12); }
.chat-form textarea[dir="rtl"] { font-family: var(--font-ur); }
.chat-form button { flex: 0 0 46px; height: 46px; border-radius: 14px; border: 0; background: var(--grad); color: #fff; align-self: flex-end; }
.chat-form button:disabled { opacity: .5; }
[dir="rtl"] .chat-form button i { transform: scaleX(-1); display: inline-block; }
.chat-note { margin: 0; padding: 0 .9rem .65rem; font-size: .7rem; color: var(--muted); background: var(--surface); }
@media (max-width: 575.98px) {
  .chatbot { inset-inline-end: 12px; }
  .chat-panel { position: fixed; inset: auto 8px 140px 8px; width: auto; height: calc(100dvh - 170px); }
  .chat-hint { display: none; }
}

/* layout safety */
@media (max-width: 767.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
main, .site-footer { overflow-x: clip; }

/* dark-mode details */
[data-theme="dark"] .site-header { background: rgba(10, 17, 34, .97); }
[data-theme="dark"] .btn-white { background: var(--surface); color: #fff; }
[data-theme="dark"] .client-logo { background: #fff; }
[data-theme="dark"] .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23B8C4DA' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
[data-theme="dark"] .btn-close:not(.btn-close-white) { filter: invert(1); }
[data-theme="dark"] .popup-close { filter: none; }
[data-theme="dark"] .verify-result { background: var(--surface); }
[data-theme="dark"] .pagination { --bs-pagination-bg: var(--surface); --bs-pagination-border-color: var(--line); --bs-pagination-color: var(--text); --bs-pagination-disabled-bg: var(--soft); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .logo-marquee { mask-image: none; }
  .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 1.5rem; }
  .logo-track .logo-item[aria-hidden="true"] { display: none; }
  .preloader { display: none; }
}

/* cards that live in stacked columns must size to their content */
.side-card, .form-card, .tool-card, .verify-box, .success-panel, .stats-card { height: auto; }
.site-header .navbar > .container { flex-wrap: nowrap; }
.navbar-brand { min-width: 0; margin-inline-end: .5rem; }
@media (max-width: 575.98px) {
  .brand img { width: 38px; }
  .brand-name { font-size: 1.15rem; }
  .brand-tag { font-size: .58rem; white-space: nowrap; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-card, .form-card { padding: 1.3rem; }
}
@media (max-width: 359.98px) { .brand-tag { display: none; } }

/* =====================================================================
   v3 — international layer: deep-navy heroes, designed product visuals,
   uniform client wall. Overrides earlier rules where they overlap.
   ===================================================================== */
:root { --navy: #06112B; --navy-2: #0B1D46; --on-dark: rgba(226, 235, 255, .78); --on-dark-line: rgba(160, 190, 255, .16); }

/* ---- shared dark backdrop ---- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero-bg .g1 { width: 760px; height: 760px; inset-inline-end: -220px; top: -300px; background: radial-gradient(circle, rgba(18, 179, 232, .34), transparent 62%); }
.hero-bg .g2 { width: 620px; height: 620px; inset-inline-start: -260px; bottom: -340px; background: radial-gradient(circle, rgba(11, 99, 206, .45), transparent 65%); }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--on-dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--on-dark-line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 10%, transparent 75%); opacity: .55; }

/* ---- home hero ---- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-dark); padding: 5.5rem 0 3.2rem; }
.hero::before, .hero::after { content: none; }
.hero-badge { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #DCE8FF; box-shadow: none; padding: .45rem 1rem; backdrop-filter: blur(6px); }
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero-title { color: #fff; max-width: 15ch; }
.hero .grad-text { background: linear-gradient(100deg, #5CC8FF 0%, #8FB8FF 60%, #C8D9FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: var(--on-dark); }
.hero .carousel-item { min-height: 520px; }
.hero-copy { padding-block: 1rem; }
.hero-visual { padding: 1rem 0 1rem 1rem; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--on-dark-line); }
.hero-trust { margin: 0; color: var(--on-dark); }
.hero-trust strong { color: #fff; }
.hero-trust small { color: rgba(226, 235, 255, .6); }
.hero .avatar-stack img { border-color: var(--navy-2); }
.hero-controls { margin: 0; }
.hero-dots button { background: rgba(255, 255, 255, .25); }
.hero-dots button.active { background: #5CC8FF; }
.hero-arrow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.hero-arrow:hover { background: #fff; color: var(--navy); border-color: #fff; }
@media (max-width: 991.98px) { .hero { padding-top: 3.5rem; } .hero .carousel-item { min-height: 0; } .hero-visual { padding: 0; margin-top: 1rem; } }

/* ---- inner page hero ---- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-dark); padding: 4.2rem 0 4rem; border-bottom: 0; }
.page-hero::before, .page-hero::after { content: none; }
.page-hero .hero-bg .g1 { width: 560px; height: 560px; top: -260px; }
.page-hero .hero-bg .g2 { opacity: .6; }
.page-title { color: #fff; }
.page-lead { color: var(--on-dark); }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(226, 235, 255, .4); }
.page-hero .breadcrumb a { color: #8FD3FF; }
.page-hero .breadcrumb-item.active { color: rgba(226, 235, 255, .62); }
.page-hero .btn-outline-primary { color: #fff; border-color: rgba(255, 255, 255, .5); }
.page-hero .btn-outline-primary:hover { background: #fff; color: var(--navy); border-color: #fff; }
.page-hero-visual { padding: .5rem 0 .5rem 1rem; transform: scale(.92); transform-origin: center right; }
.page-hero-img { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.stats-overlap { position: relative; z-index: 2; margin-top: -2.6rem; }

/* ---- dark content section ---- */
.section-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-dark); overflow: hidden; }
.section-dark .section-title { color: #fff; }
.section-dark .section-lead { color: var(--on-dark); }
.section-dark .eyebrow { background: rgba(255, 255, 255, .08); color: #8FD3FF; }

/* ---- designed product visuals (.mk) ---- */
.mk { position: relative; padding: 1.4rem 1.6rem 2.2rem 0; font-size: 12px; line-height: 1.3; color: #0A1A3A; }
.mk-window { position: relative; background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(6, 17, 43, .55), 0 0 0 1px rgba(10, 26, 58, .06); overflow: hidden; }
.mk-on-dark .mk-window { box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.mk-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3F6FB; border-bottom: 1px solid #E6ECF5; }
.mk-chrome > i { width: 10px; height: 10px; border-radius: 50%; background: #FF6159; }
.mk-chrome > i:nth-child(2) { background: #FFBF2F; }
.mk-chrome > i:nth-child(3) { background: #2ACB42; }
.mk-url { margin-inline-start: 12px; flex: 1; max-width: 260px; background: #fff; border: 1px solid #E3EAF4; border-radius: 6px; padding: 3px 10px; color: #56637B; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-shot { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.mk-app { display: flex; min-height: 300px; }
.mk-side { width: 54px; background: #0A1A3A; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 0; }
.mk-side img { width: 26px; margin-bottom: 8px; background: #fff; border-radius: 50%; padding: 2px; }
.mk-side span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: rgba(255, 255, 255, .55); font-size: 15px; }
.mk-side span.on { background: linear-gradient(135deg, #0B63CE, #12B3E8); color: #fff; }
.mk-main { flex: 1; padding: 14px 16px; background: #F7F9FD; min-width: 0; }
.mk-main.pad { padding: 16px; }
.mk-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mk-top strong { font-size: 14px; font-weight: 800; }
.mk-pill { background: #fff; border: 1px solid #E3EAF4; border-radius: 999px; padding: 3px 10px; color: #56637B; font-size: 10.5px; }
.mk-search { width: 120px; height: 26px; border-radius: 8px; background: #fff; border: 1px solid #E3EAF4; display: flex; align-items: center; padding: 0 8px; color: #94A3B8; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mk-kpis > div { position: relative; background: #fff; border: 1px solid #E6ECF5; border-radius: 12px; padding: 10px 12px; }
.mk-kpis small { display: block; color: #56637B; font-size: 10.5px; }
.mk-kpis b { display: block; font-size: 17px; font-weight: 800; margin-top: 2px; }
.mk-kpis em { position: absolute; inset-inline-end: 10px; top: 10px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: #EEF2F8; color: #56637B; font-style: normal; }
.mk-kpis em.up { background: #E3F8EE; color: #14A06B; }
.mk-skel { height: 12px; width: 60%; border-radius: 4px; background: linear-gradient(90deg, #DCE6F4, #EEF3FA); margin-top: 6px; }
.mk-chart { position: relative; background: #fff; border: 1px solid #E6ECF5; border-radius: 12px; padding: 10px 12px 12px; margin-bottom: 12px; }
.mk-chart.tall { height: 150px; padding: 12px; }
.mk-chart-head { display: flex; justify-content: space-between; color: #56637B; font-size: 10.5px; margin-bottom: 8px; }
.mk-legend i { display: inline-block; width: 18px; height: 5px; border-radius: 3px; background: #0B63CE; margin-inline-start: 4px; }
.mk-legend i + i { background: #12B3E8; }
.mk-bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; }
.mk-bars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #12B3E8, #0B63CE); transform-origin: bottom; animation: mkGrow 1.1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d); }
.mk-bars span:nth-child(odd) { opacity: .55; }
@keyframes mkGrow { from { transform: scaleY(.05); } to { transform: none; } }
.mk-line { position: absolute; inset: 34px 12px 12px; width: calc(100% - 24px); height: calc(100% - 46px); color: #F6A609; pointer-events: none; }
.mk-area { width: 100%; height: 100%; }
.mk-rows { display: grid; gap: 7px; }
.mk-rows span, .mk-table span, .mk-tree span, .mk-tree b, .mk-site b, .mk-site p, .mk-cardmock b, .mk-cardmock p { display: block; height: 9px; border-radius: 4px; background: #E3EAF4; }
.mk-rows span { height: 22px; border-radius: 8px; background: #fff; border: 1px solid #E6ECF5; }
.mk-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 24px 48px -18px rgba(6, 17, 43, .45), 0 0 0 1px rgba(10, 26, 58, .05); animation: floaty 7s ease-in-out infinite; font-size: 11.5px; }
.mk-float strong { display: block; font-size: 13px; font-weight: 800; color: #0A1A3A; }
.mk-float small { color: #56637B; }
.mk-float-a { inset-inline-start: -22px; bottom: 6px; }
.mk-float-b { inset-inline-end: 0; top: -2px; animation-direction: reverse; }
.mk-ico { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 16px; color: #fff; background: linear-gradient(135deg, #0B63CE, #12B3E8); }
.mk-ico.ok { background: linear-gradient(135deg, #14A06B, #34D399); }
/* website */
.mk-site { padding: 14px 16px 18px; background: #fff; }
.mk-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mk-dot { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #0B63CE, #12B3E8); }
.mk-links { display: flex; gap: 10px; flex: 1; }
.mk-links i { width: 36px; height: 7px; border-radius: 4px; background: #E3EAF4; }
.mk-btn { width: 54px; height: 20px; border-radius: 999px; background: linear-gradient(90deg, #0B63CE, #12B3E8); }
.mk-btn.lg { width: 92px; height: 26px; margin-top: 12px; }
.mk-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: center; margin-bottom: 18px; }
.mk-site b { height: 14px; width: 92%; background: #0A1A3A; margin-bottom: 7px; border-radius: 5px; }
.mk-site b + b { width: 64%; }
.mk-site p { width: 100%; margin: 6px 0 0; }
.mk-site p + p { width: 78%; }
.mk-hero-img { aspect-ratio: 4/3; border-radius: 12px; background: linear-gradient(135deg, #DCEBFF, #D6F3FD); display: grid; place-items: center; color: #7FA6D9; font-size: 26px; }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-cards span { height: 64px; border-radius: 12px; border: 1px solid #E6ECF5; background: #F7F9FD; display: grid; place-items: center; color: #0B63CE; font-size: 18px; }
.mk-phone { position: relative; width: 150px; border-radius: 26px; background: #0A1A3A; padding: 8px; box-shadow: 0 30px 60px -24px rgba(6, 17, 43, .6); }
.mk-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 46px; height: 12px; background: #0A1A3A; border-radius: 0 0 9px 9px; z-index: 2; }
.mk-phone .mk-site, .mk-appscreen { border-radius: 19px; overflow: hidden; min-height: 270px; }
.mk-phone .mk-site.sm { padding: 22px 10px 14px; }
.mk-site.sm .mk-nav { margin-bottom: 10px; }
.mk-site.sm .mk-hero-img { margin-bottom: 10px; font-size: 18px; }
.mk-phone-float { position: absolute; inset-inline-end: -4px; bottom: -6px; z-index: 2; width: 128px; }
.mk-phone-float .mk-site { min-height: 230px; }
/* mobile app */
.mk-phones { position: relative; display: flex; justify-content: center; padding: 10px 0; min-height: 340px; }
.mk-phones .mk-phone { width: 172px; z-index: 2; transform: rotate(-4deg); }
.mk-phones .mk-phone.back { position: absolute; inset-inline-end: 12%; top: 32px; z-index: 1; transform: rotate(7deg); opacity: .96; }
.mk-appscreen { background: #F4F7FD; padding: 24px 12px 12px; display: flex; flex-direction: column; gap: 10px; min-height: 310px; }
.mk-app-head { display: flex; gap: 8px; align-items: center; }
.mk-app-head img { width: 26px; background: #fff; border-radius: 50%; padding: 2px; }
.mk-app-head small { display: block; color: #56637B; font-size: 9.5px; }
.mk-app-head b { font-size: 12.5px; font-weight: 800; }
.mk-app-card { border-radius: 14px; padding: 12px; color: #fff; }
.mk-app-card.grad { background: linear-gradient(135deg, #0B63CE, #12B3E8); }
.mk-app-card small { opacity: .85; font-size: 10px; }
.mk-app-card b { display: block; font-size: 22px; font-weight: 800; }
.mk-progress { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .3); margin-top: 6px; overflow: hidden; }
.mk-progress i { display: block; height: 100%; border-radius: 3px; background: #fff; }
.mk-app-list { display: grid; gap: 7px; }
.mk-app-list span { height: 36px; border-radius: 11px; background: #fff; border: 1px solid #E6ECF5; display: flex; align-items: center; padding: 0 10px; color: #0B63CE; font-size: 14px; }
.mk-tabbar { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-radius: 12px; padding: 8px; color: #94A3B8; font-size: 14px; }
.mk-tabbar i:first-child { color: #0B63CE; }
.mk-app-chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; background: #fff; border-radius: 14px; padding: 12px; }
.mk-app-chart span { flex: 1; height: var(--h); border-radius: 4px; background: linear-gradient(180deg, #12B3E8, #0B63CE); }
/* software */
.mk-tree { width: 128px; background: #fff; border-inline-end: 1px solid #E6ECF5; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; }
.mk-tree b { width: 60%; height: 8px; background: #C9D6E8; margin-top: 4px; }
.mk-tree span { height: 22px; border-radius: 7px; background: #F3F6FB; }
.mk-tree span.on { background: linear-gradient(90deg, rgba(11, 99, 206, .16), rgba(18, 179, 232, .1)); border-inline-start: 3px solid #0B63CE; }
.mk-table { background: #fff; border: 1px solid #E6ECF5; border-radius: 12px; overflow: hidden; }
.mk-table .th, .mk-table .tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr; gap: 12px; padding: 11px 14px; align-items: center; }
.mk-table .th { background: #F3F6FB; }
.mk-table .th span { background: #C9D6E8; height: 7px; }
.mk-table .tr + .tr { border-top: 1px solid #EEF2F8; }
.mk-table .tr span:last-child { height: 16px; border-radius: 999px; }
.mk-table .badge-ok { background: #D7F5E6 !important; }
.mk-table .badge-warn { background: #FFEFC7 !important; }
.mk-table .badge-info { background: #DCEBFF !important; }
/* brand board */
.mk-board { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto auto; gap: 12px; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 40px 80px -30px rgba(6, 17, 43, .45), 0 0 0 1px rgba(10, 26, 58, .06); }
.mk-logo-tile { grid-row: span 2; border-radius: 14px; background: linear-gradient(160deg, #06112B, #0B1D46); display: grid; place-items: center; align-content: center; gap: 8px; padding: 20px; min-height: 180px; }
.mk-logo-tile img { width: 76px; filter: drop-shadow(0 8px 20px rgba(18, 179, 232, .4)); }
.mk-logo-tile span { font-family: "Saira", var(--font); font-style: italic; font-weight: 700; font-size: 20px; color: #fff; }
.mk-swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mk-swatches span { height: 58px; border-radius: 12px; background: var(--c); display: flex; align-items: flex-end; padding: 6px 8px; }
.mk-swatches small { color: #fff; font-size: 9.5px; font-weight: 600; opacity: .9; }
.mk-swatches span:nth-child(4) small { color: #0A1A3A; }
.mk-type { display: flex; gap: 12px; align-items: center; border: 1px solid #E6ECF5; border-radius: 12px; padding: 10px 12px; }
.mk-type b { font-size: 34px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, #0B63CE, #12B3E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-type small { display: block; color: #56637B; font-size: 10px; }
.mk-cardmock { border-radius: 12px; padding: 12px; background: #F3F6FB; }
.mk-cardmock b { width: 70%; height: 9px; background: #0A1A3A; margin: 8px 0 6px; }
.mk-cardmock p { width: 90%; margin: 5px 0 0; }
.mk-icons { grid-column: span 2; display: flex; gap: 10px; }
.mk-icons i { flex: 1; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #F3F6FB; color: #0B63CE; font-size: 17px; }
/* analytics */
.mk-socials { display: flex; gap: 8px; margin-top: 12px; }
.mk-socials i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid #E6ECF5; color: #0B63CE; font-size: 15px; }
/* training */
.mk-course-stack { display: grid; gap: 10px; padding-inline-end: 2.5rem; }
.mk-course { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 20px 40px -22px rgba(6, 17, 43, .45), 0 0 0 1px rgba(10, 26, 58, .05); margin-inline-start: calc(var(--i) * 18px); }
.mk-course strong { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.mk-course .mk-progress { background: #E6EEF9; margin: 0; }
.mk-course .mk-progress i { background: linear-gradient(90deg, #0B63CE, #12B3E8); }
.mk-course > small { color: #56637B; font-weight: 700; }
.mk-cert { position: relative; display: flex; gap: 12px; align-items: center; margin: 16px 0 0 auto; width: 78%; background: linear-gradient(160deg, #FFFDF6, #FFF6DF); border: 1px solid #F3DFA8; border-radius: 14px; padding: 14px 16px; box-shadow: 0 24px 48px -22px rgba(6, 17, 43, .45); }
.mk-cert img { width: 40px; }
.mk-cert small { display: block; color: #9A7B2F; font-size: 10px; font-weight: 600; }
.mk-cert b { font-family: "Saira", var(--font); font-style: italic; font-size: 16px; color: #0B63CE; }
.mk-sign { display: block; width: 90px; height: 2px; background: #C9A85A; margin-top: 8px; }
.mk-seal { position: absolute; inset-inline-end: -10px; top: -12px; width: 38px; height: 38px; border-radius: 50%; background: #F6A609; color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 8px 18px -6px rgba(246, 166, 9, .8); }
.mk-on-dark .mk-cert { border-color: rgba(243, 223, 168, .7); }
@media (max-width: 575.98px) {
  .mk { padding: .8rem 0 1.6rem; font-size: 10.5px; }
  .mk-app { min-height: 240px; }
  .mk-side { width: 42px; }
  .mk-kpis b { font-size: 14px; }
  .mk-float { display: none; }
  .mk-tree { display: none; }
  .mk-phone-float { width: 100px; }
}

/* ---- split sections ---- */
.split-visual { position: relative; padding: .5rem; }
.split-visual::before { content: ""; position: absolute; inset: 8% 6% 4% 10%; border-radius: 40px; background: radial-gradient(circle at 30% 30%, rgba(18, 179, 232, .22), transparent 60%), radial-gradient(circle at 80% 80%, rgba(11, 99, 206, .18), transparent 60%); filter: blur(24px); z-index: 0; }
.split-visual > * { position: relative; z-index: 1; }

/* ---- trusted marquee (two rows) ---- */
.trusted { padding: 2.6rem 0 2.2rem; background: var(--bg); }
.trusted-label { margin-bottom: 1.4rem; letter-spacing: .01em; }
.logo-marquee + .logo-marquee { margin-top: 1rem; }
.logo-marquee.reverse .logo-track { animation-direction: reverse; animation-duration: 65s; }
.logo-track { gap: 1rem; }
.logo-item { width: 150px; height: 74px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .7rem 1rem; }
.logo-item img { max-height: 50px; max-width: 110px; }

/* ---- services ---- */
.service-card { display: flex; flex-direction: column; }
.service-card .link-arrow { margin-top: auto; }
.mini-checks { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .35rem; font-size: .9rem; color: var(--text); }
.mini-checks li { position: relative; padding-inline-start: 1.5rem; }
.mini-checks li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; inset-inline-start: 0; color: var(--success); }

/* ---- projects in browser frames ---- */
.project-frame { margin: .9rem .9rem 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.frame-bar { display: flex; gap: 5px; padding: 8px 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: #FF6159; }
.frame-bar i:nth-child(2) { background: #FFBF2F; }
.frame-bar i:nth-child(3) { background: #2ACB42; }
.project-img { aspect-ratio: 16/10; background: linear-gradient(135deg, #EEF5FF, #E6F7FD); }
.project-img img { object-fit: contain; padding: .4rem; }
.project-card:hover .project-img img { transform: scale(1.03); }

/* ---- clients page ---- */
.logo-cluster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 1rem 0 1rem 2rem; }
.logo-cluster span { aspect-ratio: 1; background: #fff; border-radius: 18px; display: grid; place-items: center; padding: 16px; box-shadow: 0 24px 48px -22px rgba(0, 0, 0, .6); animation: floaty 8s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
.logo-cluster span:nth-child(3n+2) { transform: translateY(18px); }
.logo-cluster img { max-width: 100%; max-height: 70px; object-fit: contain; }
.count-chip { display: inline-flex; align-items: baseline; gap: .4rem; padding: .55rem 1.1rem; border-radius: 999px; background: var(--soft-2); color: var(--muted); font-weight: 600; font-size: .9rem; }
.count-chip strong { color: var(--primary); font-size: 1.25rem; font-weight: 800; }
.client-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.client-tile { position: relative; aspect-ratio: 3/2; display: grid; place-items: center; padding: 1.4rem; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); background: var(--surface); transition: background .3s; }
.client-tile a { display: grid; place-items: center; width: 100%; height: 100%; }
.client-tile img { max-width: 78%; max-height: 74px; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter .35s, opacity .35s, transform .35s; }
.client-tile:hover { background: var(--soft); }
.client-tile:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.client-name { position: absolute; bottom: .5rem; inset-inline: .5rem; text-align: center; font-size: .75rem; font-weight: 600; color: var(--muted); opacity: 0; transition: opacity .3s; }
.client-tile:hover .client-name { opacity: 1; }
.big-quote { margin: 0; }
.big-quote > i { font-size: 3.2rem; line-height: 1; color: #5CC8FF; }
.big-quote blockquote p { color: #fff; font-size: clamp(1.25rem, 2.3vw, 1.75rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; margin: .6rem 0 1.6rem; }
.big-quote figcaption { display: flex; align-items: center; gap: .9rem; color: var(--on-dark); }
.big-quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .3); }
.big-quote figcaption strong { display: block; color: #fff; }
.big-quote figcaption span span { font-size: .9rem; }
.section-dark .hero-arrow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }

/* ---- testimonials without fabricated ratings ---- */
.quote-card .quote-mark { color: var(--cyan); opacity: .35; }

/* ---- RTL helpers for new parts ---- */
[dir="rtl"] .logo-cluster { padding: 1rem 2rem 1rem 0; }
[dir="rtl"] .hero-visual { padding: 1rem 1rem 1rem 0; }
[dir="rtl"] .mk-window, [dir="rtl"] .mk-board, [dir="rtl"] .mk-phones, [dir="rtl"] .mk-course-stack { direction: ltr; }

@media (prefers-reduced-motion: reduce) {
  .mk-bars span, .mk-float, .logo-cluster span, .hero-badge .pulse { animation: none !important; }
}
@media (max-width: 575.98px) { .container { padding-inline: 1rem; } }
/* dark theme: keep logos readable and active nav legible */
[data-theme="dark"] .client-tile, [data-theme="dark"] .logo-item { background: #EEF3FA; border-color: #22314F; }
[data-theme="dark"] .client-tile:hover { background: #fff; }
[data-theme="dark"] .client-wall { border-color: #22314F; }
[data-theme="dark"] .nav-link.active, [data-theme="dark"] .nav-link.show { color: #8FD3FF; background: rgba(143, 211, 255, .1); }

/* =====================================================================
   Student portal, quizzes, verification
   ===================================================================== */
.portal-bar { background: var(--surface); border-bottom: 1px solid var(--line); padding: .6rem 0; position: relative; z-index: 2; }
.portal-tabs { display: flex; flex-wrap: wrap; gap: .3rem; }
.portal-tabs a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.portal-tabs a:hover { background: var(--soft); color: var(--primary); }
.portal-tabs a.active { background: var(--grad); color: #fff; }
.auth-box { padding: 2.2rem; }
@media (max-width: 575.98px) { .auth-box { padding: 1.4rem; } }
.kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: .5rem 1rem; margin: 0; }
.kv dt { color: var(--muted); font-weight: 500; font-size: .9rem; }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; }
.stat-mini { display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; }
.stat-mini strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-mini span { color: var(--muted); font-size: .9rem; }
.course-progress-card { display: block; padding: 1.4rem; text-decoration: none; color: inherit; }
.course-progress-card strong { color: var(--ink); }
.progress { display: flex; height: 8px; border-radius: 99px; background: var(--soft-2); overflow: hidden; }
.progress-bar { background: var(--grad); border-radius: 99px; transition: width 1s ease; }
.cert-card { display: flex; gap: 1rem; padding: 1.4rem; align-items: flex-start; }
.cert-ribbon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, #B8892B, #E2C27A); box-shadow: 0 10px 20px -10px rgba(184, 137, 43, .9); }
.steps-row { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding: 0; margin: 0 0 1rem; counter-reset: s; }
.steps-row li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; font-weight: 600; font-size: .9rem; color: var(--ink); position: relative; }
.steps-row li:not(:last-child)::after { content: ""; position: absolute; top: 28px; inset-inline-start: calc(50% + 34px); width: calc(100% - 68px); height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step-ico { position: relative; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--soft-2); color: var(--primary); font-size: 1.4rem; }
.step-ico b { position: absolute; top: -6px; inset-inline-end: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .72rem; display: grid; place-items: center; }
@media (max-width: 767.98px) { .steps-row { grid-template-columns: repeat(2, 1fr); } .steps-row li::after { display: none; } }
.cert-course { padding: 1.6rem; display: flex; flex-direction: column; }
.cert-course h3 { font-size: 1.2rem; margin: 0 0 .3rem; }
.cert-course .mini-checks { flex: 1; }
.fee-tag { font-weight: 800; font-size: .9rem; color: var(--primary); background: var(--soft-2); padding: .35rem .8rem; border-radius: 999px; }
.quiz-row { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; flex-wrap: wrap; }
.quiz-num { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--soft-2); color: var(--primary); }
.quiz-num.ok { background: #DCF7EA; color: var(--success); }
.ring-progress { --p: 0; --c: var(--primary); position: relative; width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; align-content: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--soft-2) 0); }
.ring-progress::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--surface); }
.ring-progress > * { position: relative; }
.ring-progress span { font-size: 1.8rem; font-weight: 800; color: var(--ink); line-height: 1; }
.ring-progress small { color: var(--muted); font-size: .78rem; margin-top: .3rem; }
.ring-progress.big { width: 190px; height: 190px; }
.ring-progress.big span { font-size: 2.4rem; }
.ring-progress.ok { --c: var(--success); }
.ring-progress.fail { --c: #E5484D; }
.result-card { padding: 2.6rem 2rem; }
.pay-box { background: var(--soft); border: 1px dashed var(--primary); border-radius: var(--r); padding: 1rem 1.2rem; }

.quiz-shell { padding: 2rem 0 5rem; background: var(--soft); min-height: 70vh; }
.quiz-top { position: sticky; top: var(--header-h); z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.quiz-timer { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.25rem; color: var(--primary); background: var(--soft-2); padding: .45rem 1rem; border-radius: 999px; font-variant-numeric: tabular-nums; }
.quiz-timer.warn { color: #B42318; background: #FEE4E2; animation: pulseWarn 1s ease-in-out infinite; }
@keyframes pulseWarn { 50% { transform: scale(1.05); } }
.quiz-progress { height: 6px; border-radius: 99px; background: var(--line); margin-top: .8rem; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s ease; }
.quiz-q { padding: 1.5rem; margin-bottom: 1.2rem; }
.quiz-q legend { float: none; width: 100%; font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-bottom: 1rem; }
.quiz-q .qn { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--primary); background: var(--soft-2); border-radius: 999px; padding: .15rem .6rem; margin-inline-end: .6rem; vertical-align: middle; }
.quiz-options { display: grid; gap: .6rem; }
@media (min-width: 768px) { .quiz-options { grid-template-columns: 1fr 1fr; } }
.quiz-option { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; color: var(--text); }
.quiz-option:hover { border-color: var(--primary); transform: translateY(-1px); }
.opt-key { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--soft-2); color: var(--primary); }
.btn-check:checked + .quiz-option { border-color: var(--primary); background: rgba(11, 99, 206, .07); color: var(--ink); }
.btn-check:checked + .quiz-option .opt-key { background: var(--grad); color: #fff; }
.btn-check:focus-visible + .quiz-option { outline: 3px solid rgba(11, 99, 206, .4); outline-offset: 2px; }
.quiz-submit { position: sticky; bottom: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }

.verify-form { padding: 1.8rem; }
.verify-card { border-radius: var(--r-lg); padding: 1.8rem; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh); }
.verify-card.ok { border-top: 5px solid var(--success); }
.verify-card.bad { border-top: 5px solid #E5484D; }
.verify-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.4rem; }
.verify-card.bad .verify-head { margin: 0; }
.verify-head strong { display: block; font-size: 1.25rem; color: var(--ink); }
.verify-head span { color: var(--muted); }
.verify-icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: var(--success); }
.verify-card.bad .verify-icon { background: #E5484D; }
.verify-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid var(--soft-2); }

/* =========================================================
   v4 — motion system (data-anim), word reveal, tilt, magnetic,
   scroll progress + cue. Everything is disabled for reduced motion.
   ========================================================= */
.js [data-anim] { opacity: 0; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease; transition-delay: var(--delay, 0ms); will-change: opacity, transform; }
.js [data-anim="fade-up"] { transform: translate3d(0, 34px, 0); }
.js [data-anim="fade-down"] { transform: translate3d(0, -26px, 0); }
.js [data-anim="fade-left"] { transform: translate3d(48px, 0, 0); }
.js [data-anim="fade-right"] { transform: translate3d(-48px, 0, 0); }
.js [data-anim="zoom-in"] { transform: scale(.9); }
.js [data-anim="blur-in"] { filter: blur(10px); transform: translate3d(0, 14px, 0); }
.js [data-anim].in { opacity: 1; transform: none; filter: none; }
.js [data-anim].anim-done { transition-delay: 0ms; will-change: auto; }
[dir="rtl"].js [data-anim="fade-left"], [dir="rtl"] .js [data-anim="fade-left"] { transform: translate3d(-48px, 0, 0); }
[dir="rtl"].js [data-anim="fade-right"], [dir="rtl"] .js [data-anim="fade-right"] { transform: translate3d(48px, 0, 0); }
.js [data-anim].in { transform: none; }

/* headline word reveal */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); opacity: 0; }
.split-words.words-in .w > span { animation: wordUp .85s cubic-bezier(.2, .75, .15, 1) forwards; animation-delay: calc(var(--i) * 70ms + 80ms); }
@keyframes wordUp { to { transform: none; opacity: 1; } }
.hero .carousel-item.active .hero-lead, .hero .carousel-item.active .hero-badge { animation: heroIn .9s cubic-bezier(.2, .75, .15, 1) both; }
.hero .carousel-item.active .hero-lead { animation-delay: .45s; }
.hero .carousel-item.active .hero-copy .d-flex { animation: heroIn .9s .6s cubic-bezier(.2, .75, .15, 1) both; }
.hero .carousel-item.active .hero-visual { animation: heroVisual 1.1s .2s cubic-bezier(.2, .75, .15, 1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroVisual { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }

/* tilt + magnetic */
.tilt { transform-style: preserve-3d; }
.tilt.is-tilting { transition: transform .12s ease-out !important; }
.magnetic { transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; pointer-events: none; }
.btn-primary:hover::after { transform: translateX(120%); }

/* scroll progress + cue */
.scroll-progress { position: fixed; inset-inline-start: 0; top: 0; z-index: 1090; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--cyan), var(--primary), #F6A609); pointer-events: none; }
[dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 14px; display: none; justify-content: center; padding-top: 7px; z-index: 2; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@media (min-width: 992px) and (min-height: 760px) { .scroll-cue { display: flex; } }

/* section heads underline sweep */
.section-head .section-title { position: relative; }
.js .section-head.in .eyebrow { animation: heroIn .7s both; }

/* ---------- Hospital mockup ---------- */
.mk-ward { position: relative; background: #fff; border: 1px solid #E6ECF5; border-radius: 12px; padding: 10px 12px 12px; margin-bottom: 12px; }
.mk-beds { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; margin-bottom: 8px; }
.mk-beds span { height: 20px; border-radius: 5px; background: #E9EEF6; border: 1px solid #DCE4F0; animation: mkPop .6s both; animation-delay: var(--d); }
.mk-beds span.on { background: linear-gradient(180deg, #12B3E8, #0B63CE); border-color: transparent; }
.mk-beds span.on:nth-child(5n) { background: linear-gradient(180deg, #34D399, #14A06B); }
@keyframes mkPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.mk-ecg { width: 100%; height: 34px; color: #EF4444; display: block; }
.mk-ecg path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: ecg 3.2s linear infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 420; } 60%, 100% { stroke-dashoffset: 0; } }

/* ---------- HMS band (home) ---------- */
.hms-band { position: relative; }
.hms-band .hero-visual { padding-top: .5rem; }
.module-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.module-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #E6EEFB; font-size: .86rem; font-weight: 600; transition: background .25s, border-color .25s, transform .25s; }
.module-chip i { color: #8FD3FF; }
.module-chip:hover { background: rgba(143, 211, 255, .14); border-color: rgba(143, 211, 255, .5); transform: translateY(-2px); }
.compliance-card { position: relative; z-index: 4; margin-top: 1.6rem; margin-inline: 1.2rem 0; background: #fff; color: var(--text); border-radius: 18px; padding: 1.2rem 1.3rem; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); }
.compliance-card.light { margin: 0; box-shadow: none; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(20, 160, 107, .06), rgba(11, 99, 206, .05)); }
.compliance-head { display: flex; gap: .8rem; align-items: center; margin-bottom: .8rem; }
.compliance-head strong { display: block; color: var(--ink); font-size: 1.02rem; }
.compliance-head small { color: var(--muted); font-size: .82rem; }
.compliance-ico { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #34D399, #14A06B); color: #fff; font-size: 1.3rem; }
.compliance-card .mini-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; font-size: .9rem; }
.compliance-card .mini-checks.two { grid-template-columns: 1fr; }
@media (min-width: 768px) { .compliance-card .mini-checks.two { grid-template-columns: 1fr 1fr; gap: .45rem 1.2rem; } }
.compliance-card .mini-checks li { display: flex; gap: .5rem; align-items: flex-start; color: var(--text); }
.compliance-card .mini-checks i { color: #14A06B; margin-top: .1rem; }
[data-theme="dark"] .compliance-card:not(.light) { background: #111C33; }
@media (max-width: 991.98px) { .compliance-card { margin: 1rem 0 0; } }

/* ---------- Custom software (home) ---------- */
.industry-pills { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.industry-pills span { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .8rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink); }
.industry-pills i { color: var(--primary); }
.build-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 576px) { .build-steps { grid-template-columns: 1fr 1fr; } }
.build-steps li { position: relative; padding: 1.5rem; }
.build-steps h3 { font-size: 1.05rem; margin: .9rem 0 .35rem; }
.build-steps p { margin: 0; color: var(--muted); font-size: .92rem; }
.build-num { position: absolute; top: 1rem; inset-inline-end: 1.2rem; font-family: "Saira", sans-serif; font-style: italic; font-weight: 700; font-size: 2rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; }
@media (min-width: 576px) { .build-steps li:nth-child(even) { transform: translateY(1.6rem); } .js .build-steps li[data-anim]:nth-child(even).in { transform: translateY(1.6rem); } }

@media (prefers-reduced-motion: reduce) {
  .js [data-anim] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .split-words .w > span { transform: none !important; opacity: 1 !important; animation: none !important; }
  .hero .carousel-item.active .hero-lead, .hero .carousel-item.active .hero-badge, .hero .carousel-item.active .hero-copy .d-flex, .hero .carousel-item.active .hero-visual { animation: none !important; }
  .scroll-cue span, .mk-beds span, .mk-ecg path { animation: none !important; }
  .mk-ecg path { stroke-dashoffset: 0; }
  .btn-primary::after { display: none; }
  .js .build-steps li[data-anim]:nth-child(even) { transform: translateY(1.6rem) !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 575.98px) { .js .build-steps li[data-anim]:nth-child(even) { transform: none !important; } }
@media print { .js [data-anim], .js .reveal, .split-words .w > span { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; } .scroll-progress, .scroll-cue { display: none !important; } }
/* English pages: show the "اردو" switch in a system font so the 160 KB Nastaliq font is only downloaded for Urdu pages */
html:not([lang="ur"]) .lang-btn[lang="ur"], html:not([lang="ur"]) .chat-lang button[lang="ur"] { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; }

/* ---------- v5 course pages ---------- */
.course-link { color: inherit; text-decoration: none; }
.course-card:hover .course-link { color: var(--primary); }
.course-card { position: relative; }
.outline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
@media (min-width: 768px) { .outline-list { grid-template-columns: 1fr 1fr; } }
.outline-list li { display: flex; gap: .9rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface, #fff); font-weight: 600; color: var(--ink); }
.outline-num { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: .85rem; font-weight: 800; }
.course-kv dd { margin-bottom: .6rem; }
[data-theme="dark"] .outline-list li { background: #111C33; border-color: #22314F; }
/* accessible 24px tap targets for slider dots (dot drawn inside) */
.hero-dots { gap: 0 !important; }
.hero-dots button, .section-dark .hero-dots button { position: relative; width: 24px; height: 24px; background: transparent !important; }
.hero-dots button::before { content: ""; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .3); transition: width .3s, background .3s; }
.hero-dots button.active { width: 40px; }
.hero-dots button.active::before { width: 26px; background: #5CC8FF; }
.footer-popular { display: flex; flex-wrap: wrap; gap: .35rem .9rem; align-items: center; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.footer-popular span { color: #fff; font-weight: 700; }
.footer-popular a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-popular a:hover { color: #8FD3FF; }

/* ---------- v6 team ---------- */
.team-stats { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: -0.5rem auto 3rem; }
.team-stats > div { min-width: 150px; padding: 1rem 1.4rem; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); text-align: center; }
.team-stats strong { display: block; font-size: 1.9rem; line-height: 1.1; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.team-stats span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.team-card { height: 100%; display: flex; flex-direction: column; }
.team-body { flex: 1; }
.team-bio { margin: .6rem 0 0; font-size: .86rem; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.team-dept { position: absolute; top: 12px; inset-inline-start: 12px; padding: .22rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--primary); font-size: .72rem; font-weight: 700; box-shadow: 0 6px 16px -8px rgba(10, 26, 58, .4); }
.team-lead { border: 0; box-shadow: 0 24px 50px -28px rgba(10, 26, 58, .45); }
.team-lead .team-photo { aspect-ratio: 4/4.4; }
.team-lead .team-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(6, 17, 43, .55)); pointer-events: none; }
.team-lead .team-links { z-index: 2; }
.team-lead .team-body { position: relative; padding-top: 1.3rem; }
.team-lead .team-body::before { content: ""; position: absolute; top: 0; left: 50%; width: 46px; height: 4px; margin-left: -23px; border-radius: 4px; background: var(--grad); }
.team-lead .team-name { font-size: 1.15rem; }
.filter-btn .count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; margin-inline-start: .3rem; padding: 0 .35rem; border-radius: 999px; background: rgba(11, 99, 206, .1); font-size: .72rem; }
.filter-btn.active .count { background: rgba(255, 255, 255, .25); }
.filter-item.is-hidden { display: none !important; }
[data-theme="dark"] .team-dept { background: #111C33; color: #8FD3FF; }
@media (hover: none) { .team-links { opacity: 1; transform: none; } }
.team-initials { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 50%), linear-gradient(135deg, #0B63CE, #12B3E8); color: #fff; font-size: 3.2rem; font-weight: 800; letter-spacing: .02em; }
