/* ═══════════════════════════════════════════════════
   AFFORTABLE TECH SERVICE — GLOBAL STYLESHEET
   v2 — Loader + Lightbox + Equal heights + Responsive
═══════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --navy:      #0b2545;
  --navy-mid:  #133d6e;
  --steel:     #1e5fa8;
  --steel-lt:  #2d7dd2;
  --orange:    #f97316;
  --orange-dk: #e85f00;
  --amber:     #fbbf24;
  --off-white: #f8fafd;
  --slate:     #eef2f8;
  --border:    #d8e3f0;
  --muted:     #607d9b;
  --dark:      #07162b;
  --fp:        'Poppins', sans-serif;
  --sh-sm:     0 2px 12px rgba(11,37,69,.07);
  --sh-md:     0 8px 32px rgba(11,37,69,.12);
  --sh-lg:     0 20px 60px rgba(11,37,69,.18);
  --r:         14px;
  --rs:        8px;
  --rp:        100px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;       /* horizontal overflow clipped at root */
  width: 100%;
}
body {
  font-family: var(--fp); background: #fff; color: var(--navy);
  -webkit-font-smoothing: antialiased;
  /* NO overflow-x here — otherwise body becomes a scroll container
     which BREAKS position: sticky on descendants (the navbar).
     html alone clips horizontal overflow at the root level. */
  width: 100%;
  position: relative;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; }

/* ════════════════════════════════════════
   PAGE LOADER
════════════════════════════════════════ */
#pageLoader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity .5s ease, visibility .5s ease;
}
#pageLoader.out { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-logo {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(145deg, var(--steel), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fp); font-weight: 800; font-size: 1.3rem; color: #fff;
  box-shadow: 0 8px 32px rgba(249,115,22,.40);
  animation: pl-pulse 1.4s ease-in-out infinite;
}
@keyframes pl-pulse { 0%,100% { transform: scale(1); box-shadow: 0 8px 32px rgba(249,115,22,.40); } 50% { transform: scale(1.08); box-shadow: 0 12px 40px rgba(249,115,22,.65); } }
.pl-bar {
  width: 160px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.10); overflow: hidden;
}
.pl-bar::after {
  content: ''; display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  border-radius: 2px;
  animation: pl-slide 1.2s ease-in-out infinite;
}
@keyframes pl-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
.pl-text { font-family: var(--fp); font-size: .70rem; font-weight: 600; color: rgba(255,255,255,.40); letter-spacing: .12em; text-transform: uppercase; }

/* ════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════ */
#atLightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
#atLightbox.active { opacity: 1; visibility: visible; }
.lb-backdrop {
  position: absolute; inset: 0; background: rgba(7,22,43,.94); cursor: zoom-out;
}
.lb-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  max-width: 90vw; max-height: 92vh;
}
.lb-img {
  max-width: 88vw; max-height: 76vh;
  border-radius: 10px; object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.60);
  transition: opacity .3s ease;
}
.lb-caption {
  font-family: var(--fp); font-size: .80rem; font-weight: 500;
  color: rgba(255,255,255,.70); text-align: center; max-width: 500px;
}
.lb-counter {
  font-size: .65rem; font-weight: 600; color: rgba(255,255,255,.35);
  letter-spacing: .08em;
}
.lb-loader {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center; z-index: 3;
}
.lb-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.12); border-top-color: var(--orange);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Close / Prev / Next buttons */
.lb-close {
  position: fixed; top: 18px; right: 22px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
  color: #fff; font-size: 1.4rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s; font-family: var(--fp);
}
.lb-close:hover { background: var(--orange); border-color: var(--orange); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: var(--orange); border-color: var(--orange); }
@media(max-width:575px) {
  .lb-prev { left: 6px; width: 38px; height: 38px; }
  .lb-next { right: 6px; width: 38px; height: 38px; }
  .lb-img  { max-width: 95vw; max-height: 70vh; }
}

/* ════════════════════════════════════════
   TOPBAR
════════════════════════════════════════ */
.topbar {
  background: var(--dark); padding: 9px 0;
  font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.50);
  /* normal flow — scrolls away with the page like before */
}
.topbar a { color: rgba(255,255,255,.50); transition: color .2s; }
.topbar a:hover { color: var(--orange); }
.topbar .pipe { color: rgba(255,255,255,.12); margin: 0 12px; }
.topbar .hi { color: var(--amber); font-weight: 600; }

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.nwrap {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  z-index: 1050; transition: box-shadow .3s ease;
}
.nwrap.scrolled { box-shadow: var(--sh-md); }
.brand-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 12px 0; }
.brand-emblem {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--navy), var(--steel));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fp); font-weight: 800; font-size: .90rem; color: #fff;
  box-shadow: 0 4px 14px rgba(30,95,168,.30);
}
.brand-copy .bn { font-family: var(--fp); font-size: .98rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.brand-copy .bs { font-size: .60rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.ndnav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ndnav > li > a {
  font-family: var(--fp); font-size: .80rem; font-weight: 600;
  color: var(--navy); padding: 6px 11px; border-radius: var(--rs);
  transition: background .18s, color .18s; white-space: nowrap; display: block;
}
.ndnav > li > a:hover, .ndnav > li > a.active { background: var(--slate); color: var(--steel); }
.ndnav .ddw { position: relative; }
.ndnav .ddm {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border-radius: var(--r); border: 1px solid var(--border);
  box-shadow: var(--sh-lg); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s ease; z-index: 200;
}
.ndnav .ddw:hover .ddm, .ndnav .ddw:focus-within .ddm { opacity: 1; visibility: visible; transform: translateY(0); }
.ddm a {
  display: flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 7px;
  font-size: .80rem; font-weight: 500; color: var(--navy); transition: background .15s;
}
.ddm a:hover { background: var(--slate); color: var(--steel); }
.ddd { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.btn-book {
  background: var(--orange); color: #fff !important;
  font-family: var(--fp); font-size: .78rem; font-weight: 700;
  padding: 9px 16px; border-radius: var(--rs); border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(249,115,22,.28); text-decoration: none;
}
.btn-book:hover { background: var(--orange-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,.38); }
.hambtn {
  width: 40px; height: 40px; border-radius: 8px;
  border: 1.5px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .2s; flex-shrink: 0;
}
.hambtn:hover { border-color: var(--steel); }

/* ════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════ */
.sb-ov {
  position: fixed; inset: 0; background: rgba(7,22,43,.45); z-index: 1999;
  opacity: 0; visibility: hidden; transition: all .3s; backdrop-filter: blur(3px);
}
.sb-ov.open { opacity: 1; visibility: visible; }
.sidebar {
  position: fixed; top: 0; left: 0; width: 290px; height: 100%;
  background: #fff; z-index: 2000;
  transform: translateX(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; overflow: hidden;
}
.sidebar.open { transform: translateX(0); }
.sb-head { background: var(--navy); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.sb-close { width: 32px; height: 32px; border-radius: 6px; background: rgba(255,255,255,.12); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.sb-body { flex: 1; overflow-y: auto; padding: 10px 0; }
.sb-lnk { display: flex; align-items: center; gap: 10px; padding: 11px 18px; font-size: .85rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--slate); transition: background .15s; }
.sb-lnk:hover { background: var(--slate); color: var(--steel); }
.sb-lnk i { color: var(--steel); font-size: .95rem; width: 20px; text-align: center; flex-shrink: 0; }
.sb-tog { cursor: pointer; justify-content: space-between; }
.sb-tog .arr { font-size: .70rem; color: var(--muted); transition: transform .25s; }
.sb-tog.open .arr { transform: rotate(180deg); }
.sb-sub { display: none; background: var(--off-white); }
.sb-sub.open { display: block; }
.sb-sub a { display: flex; align-items: center; gap: 9px; padding: 9px 18px 9px 36px; font-size: .79rem; font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--border); }
.sb-sub a:hover { color: var(--steel); }
.sb-foot { padding: 14px 18px; border-top: 1px solid var(--border); flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }

/* ════════════════════════════════════════
   TICKER
════════════════════════════════════════ */
.ticker { background: var(--navy); height: 44px; overflow: hidden; display: flex; align-items: center; width: 100%; max-width: 100%; }
.tick-track { display: flex; align-items: center; animation: tick 28s linear infinite; white-space: nowrap; }
.tick-item { display: inline-flex; align-items: center; gap: 9px; padding: 0 28px; font-size: .68rem; font-weight: 600; color: rgba(255,255,255,.50); letter-spacing: .07em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }
.tick-item i { color: var(--orange); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════════════════════════════════════
   SECTION COMMONS
════════════════════════════════════════ */
.sec { padding: 80px 0; }
.sec-alt { background: var(--off-white); }
.eyebrow { font-size: .68rem; font-weight: 600; color: var(--orange); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.stitle { font-family: var(--fp); font-size: clamp(1.6rem, 3.8vw, 2.5rem); font-weight: 800; color: var(--navy); line-height: 1.18; letter-spacing: -.025em; }
.stitle em { color: var(--orange); font-style: normal; }
.rule { width: 38px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--amber)); margin: 14px 0 18px; }
.rule.mx-auto { margin-left: auto; margin-right: auto; }
.slead { font-size: .90rem; color: var(--muted); line-height: 1.78; max-width: 540px; }

/* ════════════════════════════════════════
   INNER PAGE HERO BANNER
════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(108deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 70px 0 60px; position: relative; overflow: hidden; max-width: 100%;
}
.page-hero::before { content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.14) 0%, transparent 70%); }
.page-hero::after  { content: ''; position: absolute; left: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(30,95,168,.20) 0%, transparent 70%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .ph-eyebrow { font-size: .68rem; font-weight: 600; color: var(--orange); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.page-hero h1 { font-family: var(--fp); font-size: clamp(1.7rem, 4.5vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.14; letter-spacing: -.03em; }
.page-hero h1 em { color: var(--orange); font-style: normal; }
.page-hero p { font-size: .90rem; color: rgba(255,255,255,.65); line-height: 1.75; max-width: 560px; margin-top: 14px; }
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .74rem; flex-wrap: wrap; }
.breadcrumb-nav a { color: rgba(255,255,255,.50); text-decoration: none; transition: color .2s; }
.breadcrumb-nav a:hover { color: var(--orange); }
.breadcrumb-nav .sep { color: rgba(255,255,255,.25); }
.breadcrumb-nav .cur { color: rgba(255,255,255,.80); font-weight: 600; }

/* ════════════════════════════════════════
   UNIT CARDS  (equal height, image covers)
════════════════════════════════════════ */
.unit-card {
  background: #fff; border-radius: var(--r); border: 1px solid var(--border);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s; box-shadow: var(--sh-sm);
}
.unit-card:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); border-color: transparent; }
.uc-thumb {
  height: 170px; flex-shrink: 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
}
.uc-thumb img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; transition: opacity .3s, transform .4s; }
.unit-card:hover .uc-thumb img.bg { opacity: .50; transform: scale(1.05); }
.uc-logo-box {
  position: relative; z-index: 2; width: 120px; height: 64px;
  background: rgba(255,255,255,.92); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; padding: 10px 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
}
.uc-logo-box img { max-width: 100%; max-height: 44px; object-fit: contain; }
.uc-tag { display: inline-block; font-size: .60rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: var(--rp); margin-bottom: 9px; }
.t-mar { background: #dbeafe; color: #1d4ed8; }
.t-aut { background: #fef3c7; color: #92400e; }
.t-toy { background: #d1fae5; color: #065f46; }
.t-vf  { background: #ede9fe; color: #5b21b6; }
.t-edu { background: #ffe4e6; color: #9f1239; }
.uc-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.uc-body h5 { font-family: var(--fp); font-size: .98rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; letter-spacing: -.01em; }
.uc-body p { font-size: .79rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; flex: 1; }
.uc-lnk { font-size: .76rem; font-weight: 700; color: var(--steel); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; border: 1.5px solid var(--border); border-radius: var(--rs); padding: 6px 14px; transition: all .2s; align-self: flex-start; }
.uc-lnk:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ════════════════════════════════════════
   SERVICE CARDS  (equal height)
════════════════════════════════════════ */
.svc-card {
  background: #fff; border-radius: var(--r); border: 1px solid var(--border);
  padding: 26px 22px; height: 100%; box-shadow: var(--sh-sm); transition: all .3s;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--orange); }
.svc-icon { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--steel)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; margin-bottom: 16px; flex-shrink: 0; }
.svc-card h5 { font-family: var(--fp); font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.svc-card p { font-size: .79rem; color: var(--muted); line-height: 1.68; flex: 1; }

/* ════════════════════════════════════════
   TEAM CARDS  (equal height, image covers)
════════════════════════════════════════ */
.team-card {
  background: #fff; border-radius: var(--r); border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--sh-sm); transition: all .3s;
  display: flex; flex-direction: column; height: 100%;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.team-img { height: 210px; overflow: hidden; flex-shrink: 0; }
.team-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; display: block; }
.team-card:hover .team-img img { transform: scale(1.06); }
.team-info { padding: 18px 16px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.team-info h6 { font-family: var(--fp); font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.team-info .role { font-size: .70rem; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.team-info .cert { font-size: .73rem; color: var(--muted); margin-top: auto; }

/* ════════════════════════════════════════
   GALLERY ITEMS  (equal height, image covers)
════════════════════════════════════════ */
.gallery-item {
  border-radius: var(--rs); overflow: hidden; position: relative;
  cursor: pointer; display: block; height: 220px;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .gov { position: absolute; inset: 0; background: rgba(11,37,69,.55); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; gap: 6px; }
.gallery-item:hover .gov { opacity: 1; }
.gallery-item .gov i { font-size: 2rem; color: #fff; }
.gallery-item .gov span { font-size: .72rem; color: rgba(255,255,255,.85); font-weight: 600; }
.gallery-item .gcap { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(0deg, rgba(7,22,43,.85) 0%, transparent 100%); padding: 18px 14px 10px; font-size: .72rem; font-weight: 600; color: #fff; pointer-events: none; }

/* ════════════════════════════════════════
   CERT TILES  (equal height)
════════════════════════════════════════ */
.ctile { background: #fff; border-radius: var(--r); border: 1.5px solid var(--border); padding: 22px 14px; text-align: center; transition: all .25s; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ctile:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--sh-md); }
.ctile-icon { width: 60px; height: 60px; border-radius: 12px; background: var(--slate); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; flex-shrink: 0; }
.ctile-icon img { max-width: 40px; max-height: 40px; object-fit: contain; }
.ctile-icon i { font-size: 1.7rem; color: var(--navy); }
.ctile h6 { font-family: var(--fp); font-size: .74rem; font-weight: 700; color: var(--navy); line-height: 1.4; }

/* ════════════════════════════════════════
   WHY US
════════════════════════════════════════ */
.why-sec { background: var(--dark); padding: 80px 0; position: relative; overflow: hidden; max-width: 100%; }
.why-sec::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(30,95,168,.16) 0%, transparent 70%); }
.wcard { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: var(--r); padding: 26px 22px; height: 100%; transition: all .3s; display: flex; flex-direction: column; }
.wcard:hover { background: rgba(255,255,255,.07); border-color: rgba(249,115,22,.28); transform: translateY(-4px); }
.wicon { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(135deg, var(--orange), var(--amber)); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; margin-bottom: 16px; flex-shrink: 0; }
.wcard h6 { font-family: var(--fp); font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: 7px; }
.wcard p { font-size: .77rem; color: rgba(255,255,255,.48); line-height: 1.70; flex: 1; }

/* ════════════════════════════════════════
   METRICS BAND
════════════════════════════════════════ */
.metrics { background: linear-gradient(110deg, var(--navy) 0%, var(--navy-mid) 100%); padding: 60px 0; position: relative; overflow: hidden; max-width: 100%; }
.metrics::before { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.12) 0%, transparent 70%); }
.mc { text-align: center; position: relative; }
.mc + .mc::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 38px; width: 1px; background: rgba(255,255,255,.10); }
.mn { font-family: var(--fp); font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1; }
.mn sup { font-size: .55em; color: var(--orange); vertical-align: super; }
.ml { font-size: .64rem; font-weight: 600; color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: .10em; margin-top: 6px; }

/* ════════════════════════════════════════
   TEXT TESTIMONIAL SWIPER
════════════════════════════════════════ */
.testi-swiper-wrap { position: relative; padding: 0 50px; overflow: hidden; }
.swiper.testi-sw { padding-bottom: 44px !important; overflow: hidden; }
.swiper.testi-sw .swiper-slide { height: auto; }
.tcard { background: #fff; border-radius: var(--r); border: 1px solid var(--border); padding: 24px 22px; height: 100%; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.tcard-stars { color: var(--amber); font-size: .85rem; letter-spacing: 1px; margin-bottom: 12px; }
.tcard-text { font-size: .84rem; color: var(--muted); line-height: 1.80; font-style: italic; margin-bottom: 18px; flex: 1; }
.tav { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--navy), var(--steel)); display: flex; align-items: center; justify-content: center; font-family: var(--fp); font-weight: 800; font-size: .90rem; color: #fff; }
.tname { font-family: var(--fp); font-size: .83rem; font-weight: 700; color: var(--navy); }
.tmeta { font-size: .70rem; color: var(--muted); }
/* Swiper arrows — top set by JS */
.sw-prev, .sw-next {
  position: absolute; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--border); border-radius: 50%;
  cursor: pointer; z-index: 10; color: var(--navy); font-size: .95rem;
  transition: all .2s; box-shadow: var(--sh-sm);
}
.sw-prev { left: 0; }
.sw-next { right: 0; }
.sw-prev:hover, .sw-next:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.swiper-pagination-bullet { background: var(--border) !important; opacity: 1 !important; }
.swiper-pagination-bullet-active { background: var(--orange) !important; }

/* ════════════════════════════════════════
   VIDEO CARDS  (equal height)
════════════════════════════════════════ */
.vid-card { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--border); background: #fff; transition: all .3s; height: 100%; display: flex; flex-direction: column; }
.vid-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.vid-ratio { position: relative; padding-bottom: 56.25%; height: 0; flex-shrink: 0; }
.vid-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.vinfo { padding: 14px 16px; }
.vname { font-family: var(--fp); font-size: .86rem; font-weight: 700; color: var(--navy); }
.vmeta { font-size: .70rem; color: var(--muted); margin-top: 3px; }

/* ════════════════════════════════════════
   PRESS CARDS
════════════════════════════════════════ */
.pcard { background: #fff; border-radius: var(--r); border-left: 3px solid var(--orange); padding: 20px 22px; box-shadow: var(--sh-sm); height: 100%; transition: all .25s; display: flex; flex-direction: column; }
.pcard:hover { transform: translateX(4px); box-shadow: var(--sh-md); }
.pdate { font-size: .63rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pcard h6 { font-family: var(--fp); font-size: .88rem; font-weight: 700; color: var(--navy); margin: 7px 0 5px; line-height: 1.45; flex: 1; }
.psrc { font-size: .70rem; color: var(--steel); font-weight: 600; }
.plnk { font-size: .70rem; color: var(--orange); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-top: 9px; }
.plnk:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   CONTACT / DARK SECTION
════════════════════════════════════════ */
.contact-sec { background: var(--dark); padding: 80px 0; }
.gc { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: var(--r); padding: 28px; }
.cii { display: flex; gap: 13px; margin-bottom: 18px; }
.cii:last-child { margin-bottom: 0; }
.cii-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 9px; background: rgba(249,115,22,.16); display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: .95rem; }
.cii-lbl { font-size: .60rem; font-weight: 600; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .08em; }
.cii-val { font-size: .84rem; color: #fff; font-weight: 600; margin-top: 2px; }
.cii-val a { color: #fff; }
.mapbox { height: 210px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.14); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,.28); font-size: .80rem; margin-top: 18px; }
.fg label { font-size: .70rem; font-weight: 600; color: rgba(255,255,255,.50); margin-bottom: 4px; display: block; }
.fg .form-control, .fg .form-select { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: var(--rs); color: #fff; font-size: .82rem; padding: 10px 13px; font-family: var(--fp); width: 100%; }
.fg .form-control::placeholder { color: rgba(255,255,255,.26); }
.fg .form-control:focus, .fg .form-select:focus { background: rgba(255,255,255,.10); border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.12); color: #fff; outline: none; }
.fg .form-select option { background: var(--dark); }
.btn-sub { width: 100%; padding: 12px; background: var(--orange); color: #fff; font-family: var(--fp); font-size: .88rem; font-weight: 700; border-radius: var(--rs); border: none; cursor: pointer; transition: all .2s; box-shadow: 0 4px 18px rgba(249,115,22,.28); display: block; }
.btn-sub:hover { background: var(--orange-dk); transform: translateY(-1px); }

/* ════════════════════════════════════════
   CHAIRMAN SECTION
════════════════════════════════════════ */
.chair-wrap { position: relative; display: inline-block; max-width: 100%; }
.chair-wrap img { width: 300px; max-width: 100%; height: 370px; object-fit: cover; border-radius: var(--r); box-shadow: var(--sh-lg); display: block; }
.chair-wrap::before { content: ''; position: absolute; inset: -10px -10px 10px 10px; border: 2px solid rgba(249,115,22,.40); border-radius: calc(var(--r) + 4px); z-index: -1; }
.cbadge { position: absolute; bottom: -14px; right: -14px; background: var(--orange); color: #fff; padding: 12px 14px; border-radius: 10px; text-align: center; box-shadow: 0 6px 20px rgba(249,115,22,.4); font-size: .70rem; font-weight: 700; line-height: 1.4; }
.cbadge i { font-size: 1.2rem; display: block; margin-bottom: 3px; }
.cquote { font-family: var(--fp); font-size: clamp(1rem, 2.5vw, 1.15rem); font-weight: 700; color: var(--navy); line-height: 1.52; margin-bottom: 16px; position: relative; padding-left: 20px; }
.cquote::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--orange); border-radius: 2px; }
.ctxt { font-size: .87rem; color: var(--muted); line-height: 1.82; margin-bottom: 18px; }
.csig { font-family: var(--fp); font-size: 1rem; font-weight: 800; color: var(--navy); }
.csig span { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); margin-top: 2px; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer { background: #040d1a; color: rgba(255,255,255,.50); font-size: .78rem; }
.ft-top { padding: 60px 0 40px; }
.ft-title { font-family: var(--fp); font-size: .76rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .10em; margin-bottom: 16px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,.45); font-size: .77rem; transition: color .2s; }
footer ul li a:hover { color: var(--orange); }
footer ul li.plain { color: rgba(255,255,255,.45); }
.fdesc { font-size: .77rem; color: rgba(255,255,255,.40); line-height: 1.75; margin-top: 12px; }
.srow { display: flex; gap: 7px; margin-top: 18px; flex-wrap: wrap; }
.srow a { width: 32px; height: 32px; border-radius: 7px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.50); font-size: .90rem; transition: all .2s; }
.srow a:hover { background: var(--orange); color: #fff; }
.ft-btm { border-top: 1px solid rgba(255,255,255,.06); padding: 16px 0; font-size: .72rem; color: rgba(255,255,255,.26); }
.ft-btm a { color: rgba(255,255,255,.26); }
.ft-btm a:hover { color: rgba(255,255,255,.50); }

/* ════════════════════════════════════════
   FLOAT CTA
════════════════════════════════════════ */
.fcta { position: fixed; bottom: 22px; right: 22px; z-index: 900; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; box-shadow: 0 4px 20px rgba(249,115,22,.50); animation: ring 2.2s ease infinite; }
@keyframes ring { 0%   { box-shadow: 0 0 0 0 rgba(249,115,22,.55); } 70%  { box-shadow: 0 0 0 16px rgba(249,115,22,0); } 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); } }

/* ════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════ */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.rv.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .06s; } .d2 { transition-delay: .12s; } .d3 { transition-delay: .18s; } .d4 { transition-delay: .24s; } .d5 { transition-delay: .30s; }

/* ════════════════════════════════════════
   RESPONSIVE  — full coverage
════════════════════════════════════════ */

/* ≥ 1200px — large desktop */
@media (min-width: 1200px) {
  .ham-wrap { display: none !important; }
}

/* < 1200px — hide desktop nav */
@media (max-width: 1199px) {
  .nd-wrap { display: none !important; }
  .ham-wrap { display: flex !important; align-items: center; }
}

/* ≤ 991px */
@media (max-width: 991px) {
  .sec { padding: 64px 0; }
  .testi-swiper-wrap { padding: 0 40px; }
  .mc + .mc::before { display: none; }
  .chair-wrap img { width: 100%; height: 280px; }
  .cbadge { right: 0; }
}

/* ≤ 767px */
@media (max-width: 767px) {
  .sec { padding: 52px 0; }
  .contact-sec { padding: 52px 0; }
  .page-hero { padding: 52px 0 44px; }
  .testi-swiper-wrap { padding: 0 36px; }
  .sw-prev { left: -4px; }
  .sw-next { right: -4px; }
  .gallery-item { height: 180px; }
  .team-img { height: 180px; }
  .uc-thumb { height: 150px; }
  .chair-wrap img { width: 100%; height: 240px; }
  .brand-copy .bs { display: none; }
  .ft-top { padding: 44px 0 28px; }
}

/* ≤ 575px */
@media (max-width: 575px) {
  .sec { padding: 44px 0; }
  .contact-sec { padding: 44px 0; }
  .stitle { font-size: clamp(1.4rem, 7vw, 1.9rem); }
  .gallery-item { height: 160px; }
  .team-img { height: 170px; }
  .metrics .row.g-4 > div { padding: 16px 0; }
  .hkpis { gap: 12px; }
  .kpi .n { font-size: 1.25rem; }
  .gc { padding: 16px; }
  .fcta { width: 46px; height: 46px; font-size: 1.1rem; bottom: 16px; right: 16px; }
  .testi-swiper-wrap { padding: 0 28px; }
  .ov-trust-badge { padding: 5px 10px; font-size: .70rem; }
  .cbadge { right: 0; bottom: -10px; }
  .brand-copy .bn { font-size: .88rem; }
  .cquote { font-size: .95rem; }
  .page-hero h1 { font-size: clamp(1.5rem, 8vw, 2rem); }
}

/* ── Global safety net: nothing escapes viewport ── */
.container, .container-fluid, section, .sec, footer, .page-hero, .metrics, .why-sec, .ticker, .contact-sec {
  max-width: 100%;
}
img, video, iframe { max-width: 100%; }


/* ════════════════════════════════════════
   SAFETY — clip ONLY html-level horizontal overflow
   Body has NO overflow rule (or sticky navbar breaks)
════════════════════════════════════════ */
html { overflow-x: hidden !important; }
section, footer,
.sec, .sec-alt, .why-sec, .metrics, .contact-sec,
.page-hero, .overview-sec, .unit-hero, .auth-banner, .ticker {
  max-width: 100%;
  overflow-x: hidden;
}


/* ════════════════════════════════════════
   CONTAINER WIDTH CONTROL
   Ensure content stays centered with margins on large monitors
════════════════════════════════════════ */
.container { width: 100%; padding-right: 16px; padding-left: 16px; margin-right: auto; margin-left: auto; }
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1280px; } }


/* ════════════════════════════════════════
   TEAM CARDS — mobile 2-per-row sizing
════════════════════════════════════════ */
@media (max-width: 575px) {
  /* When unit pages show 2 team cards per row, reduce image height */
  .team-img { height: 150px; }
  .team-info { padding: 14px 10px; }
  .team-info h6 { font-size: .80rem; }
  .team-info .role { font-size: .62rem; letter-spacing: .04em; }
  .team-info .cert { font-size: .66rem; line-height: 1.45; }
}