/* =========================================================
   NextGen Bangladesh — Clean Light Professional
   Design system
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --blue:        #2563eb;
  --blue-600:    #1d4ed8;
  --blue-700:    #1e40af;
  --blue-50:     #eff6ff;
  --blue-100:    #dbeafe;
  --sky:         #0ea5e9;

  /* Neutral */
  --ink:         #0f172a;
  --ink-2:       #1e293b;
  --slate:       #475569;
  --slate-2:     #64748b;
  --line:        #e2e8f0;
  --line-2:      #eef2f7;
  --bg:          #ffffff;
  --bg-tint:     #f6f8fc;
  --bg-soft:     #f1f5f9;

  /* Effects */
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  --shadow-sm:   0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow:      0 4px 12px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.05);
  --shadow-md:   0 12px 30px rgba(15,23,42,.08), 0 4px 10px rgba(15,23,42,.05);
  --shadow-lg:   0 24px 60px rgba(15,23,42,.12), 0 8px 24px rgba(15,23,42,.06);
  --shadow-blue: 0 12px 28px rgba(37,99,235,.28);

  --container:   1180px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.02em;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: .85em; transition: transform .25s var(--ease); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37,99,235,.38); }
.btn--primary:hover i { transform: translateX(3px); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow i { color: var(--blue); }
.eyebrow--center { margin-left: auto; margin-right: auto; }

.text-gradient {
  background: linear-gradient(120deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: .82rem;
}
.topbar__inner { display: flex; align-items: center; height: 40px; gap: 14px; }
.topbar__spacer { flex: 1; }
.topbar i { color: var(--blue-100); margin-right: 6px; }
.topbar__dot { color: #334155; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.92);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__img {
  height: 40px;
  width: auto;
  max-width: 145px;
  display: block;
  object-fit: contain;
}
.brand__text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.9rem; color: var(--ink);
  letter-spacing: -.02em; line-height: 1.1;
  white-space: nowrap;
}
.brand__accent { color: var(--blue); }
/* If the logo image is missing, hide the broken image */
.brand.is-nologo .brand__img { display: none; }
/* Footer — logo sits on a white plate so the colour logo stays readable */
.brand--light .brand__img {
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.brand--light .brand__text { color: #fff; }

@media (max-width: 540px) {
  .brand__img { height: 34px; max-width: 120px; }
  .brand__text { font-size: 1.15rem; }
}
@media (max-width: 380px) {
  .brand__img { display: none; }
  .brand__text { font-size: 1.05rem; }
}

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  padding: 9px 14px;
  font-weight: 500;
  font-size: .94rem;
  color: var(--slate);
  border-radius: 8px;
  transition: color .2s;
}
.nav__link:hover { color: var(--blue); }
.nav__link.active { color: var(--blue); }
.nav__link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--blue);
}
.nav__cta { margin-left: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .6;
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.blob--1 { width: 420px; height: 420px; background: #dbeafe; top: -120px; right: -80px; }
.blob--2 { width: 360px; height: 360px; background: #e0f2fe; bottom: -140px; left: -100px; }

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero__title { font-size: clamp(2.5rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 22px; }
.hero__lead { font-size: 1.12rem; max-width: 540px; color: var(--slate); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero__trust { display: flex; align-items: center; gap: 16px; }
.hero__trust-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate-2); font-weight: 600; }
.hero__trust-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line);
  padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-sm);
}
.hero__trust-badge i { font-size: 1.7rem; color: var(--blue); }
.hero__trust-badge strong { display: block; color: var(--ink); font-size: 1rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.hero__trust-badge small { font-size: .82rem; color: var(--slate-2); }

/* ---------- Hero image slider ---------- */
.hero__slider { position: relative; }
.slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  background: var(--ink);
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s var(--ease);
  pointer-events: none;
}
.slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.05);
  transition: transform 5s ease-out;
}
.slide.active img { transform: scale(1.12); }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 22px 18px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  background: linear-gradient(transparent, rgba(15,23,42,.88));
}
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line); padding: 0; cursor: pointer;
  transition: all .3s var(--ease);
}
.dot.active { background: var(--blue); width: 28px; border-radius: 999px; }

/* Hero card */
.hero__card { position: relative; }
.float-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.float-card__pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; color: var(--blue-600);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: 6px 12px; border-radius: 999px;
}
.float-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 20px; }
.stat {
  background: var(--bg-tint); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 18px 16px; text-align: center;
}
.stat__num {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.9rem; font-weight: 800; color: var(--blue-600); line-height: 1;
}
.stat__label { display: block; font-size: .8rem; color: var(--slate-2); margin-top: 6px; }
.float-card__bar {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff; padding: 14px 18px; border-radius: var(--radius);
  font-size: .85rem;
}
.float-card__bar strong { color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 9px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: var(--ink); box-shadow: var(--shadow);
}
.chip i { font-size: .95rem; }
.chip--1 { top: -16px; left: -22px; color: #087ea4; }
.chip--2 { bottom: 64px; right: -26px; color: var(--blue); }
.chip--3 { bottom: -18px; left: 40px; color: #f59e0b; }

/* ---------- Strip / marquee ---------- */
.strip { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-tint); }
.strip__inner { display: flex; align-items: center; gap: 28px; }
.strip__label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-2); white-space: nowrap; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: scroll 28s linear infinite; }
.marquee__track span {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--slate-2); opacity: .8;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Section ---------- */
.section { padding: 92px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.section__sub { font-size: 1.06rem; color: var(--slate); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(37,99,235,.04), transparent 45%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.service:hover::before { opacity: 1; }
.service__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.4rem; color: var(--blue-600);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  margin-bottom: 20px; transition: transform .35s var(--ease), background .35s, color .35s;
}
.service:hover .service__icon { transform: translateY(-2px) scale(1.04); background: linear-gradient(135deg, var(--blue), var(--blue-600)); color: #fff; }
.service__title { font-size: 1.28rem; margin-bottom: 10px; }
.service__text { font-size: .97rem; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: .78rem; font-weight: 500; color: var(--slate);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px;
}
.service--featured { background: linear-gradient(160deg, #1e293b, #0f172a); border-color: var(--ink); }
.service--featured .service__title,
.service--featured::before { /* keep */ }
.service--featured .service__title,
.service--featured .service__text,
.service--featured .tags li { color: #e2e8f0; }
.service--featured .service__title { color: #fff; }
.service--featured .service__icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #93c5fd; }
.service--featured:hover .service__icon { background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; border-color: transparent; }
.service--featured .tags li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.service__ribbon {
  position: absolute; top: 18px; right: -34px; transform: rotate(45deg);
  background: var(--blue); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; padding: 5px 40px; text-transform: uppercase;
}

/* ---------- Tech grid ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tech {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), color .3s;
}
.tech i { font-size: 2.1rem; color: var(--slate); transition: color .3s, transform .3s var(--ease); }
.tech span { font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.tech:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.tech:hover i { color: var(--blue); transform: scale(1.12); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  grid-template-rows: auto auto;
  gap: 32px 64px;
  align-items: center;
}
.about__photo { position: relative; grid-column: 1; grid-row: 1; }
.about__content { grid-column: 2; grid-row: 1 / span 2; }
.about__imgwrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  aspect-ratio: 4 / 4.4;
  background: linear-gradient(135deg, var(--blue-50), #e0f2fe);
}
.about__imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.about__imgwrap .img-fallback {
  object-fit: contain; padding: 40px; opacity: .85;
}
.about__badge {
  position: absolute; bottom: 18px; right: 18px;
  background: #fff; border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
}
.about__badge i { font-size: 1.6rem; color: #f59e0b; }
.about__badge small { font-size: .72rem; color: var(--slate-2); font-weight: 600; line-height: 1.2; text-transform: uppercase; letter-spacing: .04em; }
.about__org {
  grid-column: 1; grid-row: 2;
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(135deg, #eff6ff, #f6f8fc);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow);
}
.about__org img {
  width: 96px; height: 96px; object-fit: contain; flex-shrink: 0;
  background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow-sm);
}
.about__org-text { display: flex; flex-direction: column; gap: 6px; }
.about__org-pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--blue-700); background: #fff; border: 1px solid var(--blue-100);
  padding: 4px 11px; border-radius: 999px;
}
.about__org strong {
  display: block; color: var(--ink); font-size: 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
}
.about__org small { font-size: .9rem; color: var(--slate); line-height: 1.5; }

.about__name { font-size: 1.7rem; margin: 6px 0 8px; }
.about__role { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--blue-600); margin-bottom: 24px; }
.about__role .dot { color: var(--line); }
.quote {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 30px 28px;
  box-shadow: var(--shadow); margin-bottom: 26px;
}
.quote__mark { position: absolute; top: 22px; right: 26px; font-size: 2.6rem; color: var(--blue-100); }
.quote p { font-size: 1.04rem; color: var(--slate); font-style: italic; padding-right: 44px; }
.quote__by { margin-top: 16px; font-weight: 700; color: var(--ink); font-size: .92rem; font-style: normal; }
.about__pillars { display: flex; flex-wrap: wrap; gap: 12px; }
.pillar {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--bg-tint); border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-2);
}
.pillar i { color: var(--blue); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.contact__info, .contact__formwrap {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow);
}
.contact__title { font-size: 1.4rem; margin-bottom: 8px; }
.contact__lead { font-size: .96rem; margin-bottom: 26px; }
.contact__list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact__list li { display: flex; gap: 14px; }
.contact__ico {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.05rem; color: var(--blue-600);
  background: var(--blue-50); border: 1px solid var(--blue-100);
}
.contact__list strong { display: block; color: var(--ink); font-size: .92rem; margin-bottom: 2px; }
.contact__list p { font-size: .9rem; }
.contact__list a { color: var(--blue-600); }
.contact__socials { display: flex; gap: 10px; }
.contact__socials a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-tint); border: 1px solid var(--line); color: var(--slate);
  transition: all .25s var(--ease);
}
.contact__socials a:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-3px); }

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg-tint); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ef4444; background: #fef2f2; }
.field__error { color: #ef4444; font-size: .78rem; min-height: 1px; }
.form__success {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857;
  padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem;
}

/* ---------- Featured project / video ---------- */
.media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.video-frame {
  position: relative;
  width: 100%;
  max-width: 860px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.video-frame iframe,
.video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
  object-fit: contain;
  background: var(--ink);
}
.video-frame__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 24px; color: #fff;
  background:
    radial-gradient(circle at 28% 22%, rgba(37,99,235,.55), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(14,165,233,.4), transparent 50%),
    linear-gradient(160deg, #1e293b, #0f172a);
}
.video-frame__play {
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.7rem; color: #fff;
  background: rgba(255,255,255,.14);
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  animation: vpulse 2.6s ease-in-out infinite;
}
.video-frame__play i { margin-left: 4px; }
.video-frame__label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1.15rem;
}
.video-frame__hint { font-size: .82rem; color: rgba(255,255,255,.6); font-weight: 500; }
@keyframes vpulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.3), 0 0 0 0 rgba(255,255,255,.2); }
  50% { box-shadow: 0 10px 30px rgba(0,0,0,.3), 0 0 0 18px rgba(255,255,255,0); }
}

.media__panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  align-self: start;
}
.media__tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; color: var(--blue-600);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.media__panel h3 { font-size: 1.4rem; margin-bottom: 12px; }
.media__panel p { font-size: .97rem; color: var(--slate); margin-bottom: 22px; }
.media__below {
  display: flex; flex-direction: column;
  align-items: center; gap: 22px;
}
.media__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.media__points li {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.media__points i {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; font-size: .82rem;
  color: var(--blue-600); background: var(--blue-50); border: 1px solid var(--blue-100);
  flex-shrink: 0;
}
.media__panel .btn { align-self: flex-start; margin-top: 24px; }

@media (max-width: 980px) {
  .media { grid-template-columns: 1fr; }
}

/* ---------- Global presence banner ---------- */
.global-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.global-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.03);
}
.global-banner::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(15,23,42,.94) 8%, rgba(15,23,42,.72) 46%, rgba(15,23,42,.22) 100%);
}
.global-banner__overlay {
  position: relative; z-index: 2;
  max-width: 580px;
  padding: 56px 52px;
  color: #fff;
}
.global-banner__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.global-banner__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 14px;
}
.global-banner__text {
  color: rgba(255,255,255,.9);
  font-size: 1.04rem; line-height: 1.65;
  margin-bottom: 24px;
}
.global-banner__meta { display: flex; flex-wrap: wrap; gap: 20px; }
.global-banner__meta span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.88);
}
.global-banner__meta i { color: var(--blue-100); }

@media (max-width: 760px) {
  .global-banner { min-height: 380px; }
  .global-banner__overlay { padding: 40px 30px; max-width: 100%; }
}
@media (max-width: 480px) {
  .global-banner { min-height: 360px; }
  .global-banner__overlay { padding: 32px 24px; }
  .global-banner__meta { gap: 12px 16px; }
}

/* ---------- Global presence gallery ---------- */
.global-gallery {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.global-gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow-md);
}
.global-gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.global-gallery__item:hover img { transform: scale(1.05); }
.global-gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 40px 22px 18px;
  color: #fff;
  font-size: .92rem; font-weight: 600;
  display: flex; align-items: center; gap: 9px;
  background: linear-gradient(to top, rgba(15,23,42,.85), rgba(15,23,42,0));
}
.global-gallery__item figcaption i { color: var(--blue-100); }
@media (max-width: 540px) {
  .global-gallery { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cbd5e1; padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin: 18px 0; font-size: .92rem; max-width: 320px; line-height: 1.7; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #cbd5e1;
  transition: all .25s var(--ease);
}
.footer__socials a:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-3px); }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: .92rem; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { font-size: .9rem; display: flex; gap: 10px; align-items: flex-start; }
.footer__contact i { color: var(--blue-100); margin-top: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; flex-wrap: wrap; gap: 8px; }
.footer__bottom strong { color: #fff; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  color: #fff; display: grid; place-items: center; font-size: 1rem;
  box-shadow: var(--shadow-blue);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__slider { width: 100%; max-width: 480px; margin: 0 auto; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(5, 1fr); }
  .about { grid-template-columns: 1fr; grid-template-rows: none; gap: 36px; }
  .about__photo, .about__content, .about__org { grid-column: auto; grid-row: auto; }
  .about__photo { max-width: 420px; margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* Tablet / narrow laptops — switch to hamburger menu so the big brand name + nav never overflow */
@media (max-width: 1100px) {
  .header, .header.scrolled {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    background: #fff; padding: 90px 24px 24px; gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s var(--ease);
    z-index: 95;
  }
  .nav.open { transform: translateX(0); }
  .nav__link { padding: 13px 14px; font-size: 1rem; border-radius: 10px; }
  .nav__link.active::after { display: none; }
  .nav__link:hover { background: var(--bg-tint); }
  .nav__cta { margin: 12px 0 0; }
  .nav-toggle { display: flex; z-index: 96; position: relative; }
  .nav-toggle.open span { background: var(--ink); }
  .nav-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(15,23,42,.5);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
    z-index: 94;
  }
  .nav-overlay.open { opacity: 1; visibility: visible; }
  .brand__text { font-size: 1.5rem; }
}

@media (max-width: 760px) {
  .hero { padding: 48px 0 64px; }
  .hero__actions .btn { flex: 1; }
  .hero__trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .chip--1, .chip--2, .chip--3 { display: none; }

  .section { padding: 60px 0; }
  .section__head { margin-bottom: 40px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 26px 22px; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .strip__inner { flex-direction: column; gap: 14px; }
  .contact__info, .contact__formwrap { padding: 26px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
  .section__head { margin-bottom: 32px; }
  .section__title { font-size: 1.6rem; }
  .hero { padding: 36px 0 52px; }
  .hero__title { font-size: 2.1rem; }
  .service { padding: 22px 18px; }
  .float-card { padding: 18px; }
  .float-card__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat__num { font-size: 1.55rem; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .contact__info, .contact__formwrap { padding: 22px; }
  .about__org { padding: 20px; gap: 16px; }
  .about__org img { width: 72px; height: 72px; }
  .about__name { font-size: 1.45rem; }
  .quote { padding: 24px 22px; }
  .quote p { padding-right: 0; }
  .quote__mark { display: none; }
}
