/* ==========================================================
   NESTWORK BUSINESS — Main Stylesheet
   ========================================================== */

:root {
  --navy-950: #040b2e;
  --navy-900: #071447;
  --navy-800: #0b1c66;
  --navy-700: #12288a;
  --blue-600: #1a5cff;
  --blue-500: #2f7bff;
  --cyan-400: #19d9ff;
  --cyan-300: #5ce6ff;
  --cyan-100: #e3f9ff;
  --ink: #0a1440;
  --body: #4a5578;
  --muted: #7a84a6;
  --line: #e4e9f5;
  --surface: #ffffff;
  --surface-2: #f4f8ff;
  --grad-cyan: linear-gradient(135deg, #19d9ff 0%, #2f7bff 100%);
  --grad-navy: linear-gradient(135deg, #071447 0%, #0b1c66 55%, #12288a 100%);
  --shadow-sm: 0 4px 14px rgba(10, 20, 64, .06);
  --shadow-md: 0 14px 40px rgba(10, 20, 64, .10);
  --shadow-glow: 0 10px 30px rgba(25, 217, 255, .35);
  --radius: 14px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

/* stop sideways overflow (reveal transforms, glows) from widening the page on mobile */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  font-size: 15.5px;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
}

a { color: var(--blue-600); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--cyan-400); }
img { max-width: 100%; display: block; }
::selection { background: var(--cyan-400); color: var(--navy-950); }

/* Spacing scale from the design (100 / 80 / 60) */
.section { padding: 100px 0; position: relative; }
.section-80 { padding: 80px 0; position: relative; }
.section-alt { background: var(--surface-2); }

@media (max-width: 991.98px) {
  .section { padding: 80px 0; }
  .section-80 { padding: 64px 0; }
}
@media (max-width: 575.98px) {
  .section { padding: 64px 0; }
  .section-80 { padding: 52px 0; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
}
.eyebrow.light { color: var(--cyan-400); }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.35rem); margin-bottom: 14px; }
.section-lead { font-size: 1.06rem; color: var(--body); max-width: 720px; }
.text-gradient {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn-nw {
  --bg: var(--grad-cyan);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--bg);
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s;
  box-shadow: 0 6px 20px rgba(25, 217, 255, .25);
}
.btn-nw::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn-nw:hover { color: var(--navy-950); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn-nw:hover::after { transform: translateX(120%); }
.btn-nw i { transition: transform .35s var(--ease); }
.btn-nw:hover i { transform: translateX(4px); }

.btn-nw-outline {
  --bg: transparent;
  color: #fff;
  border: 1.5px solid var(--cyan-400);
  box-shadow: none;
}
.btn-nw-outline:hover { color: var(--navy-950); background: var(--cyan-400); }
.btn-nw-outline.dark { color: var(--ink); }
.btn-nw-outline.dark:hover { color: var(--navy-950); }
.btn-nw-sm { padding: 10px 18px; font-size: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-600);
}
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--navy-950);
  transition: opacity .6s var(--ease), visibility .6s;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-ring {
  position: relative;
  width: 86px;
  height: 86px;
}
.loader-ring span {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--cyan-400);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}
.loader-ring span:nth-child(2) { inset: 12px; border-top-color: var(--blue-500); animation-duration: 1.5s; animation-direction: reverse; }
.loader-ring span:nth-child(3) { inset: 24px; border-top-color: #fff; animation-duration: .9s; }
.loader-text {
  margin-top: 18px;
  font-family: var(--font-head);
  color: #fff;
  letter-spacing: .4em;
  font-size: 12px;
  text-align: center;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Custom cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate3d(-100px, -100px, 0);
  opacity: 0;
  transition: opacity .3s;
}
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--cyan-400); }
.cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid rgba(25, 217, 255, .7);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s, opacity .3s;
}
body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(25, 217, 255, .12);
  border-color: rgba(25, 217, 255, .3);
}
body.cursor-down .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-cyan);
  z-index: 1100;
  box-shadow: 0 0 10px var(--cyan-400);
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 10px 0;
  background: rgba(7, 20, 71, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header.scrolled {
  padding: 6px 0;
  background: rgba(4, 11, 46, .92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand:hover { color: #fff; }
.brand-mark {
  display: block;
  height: 86px;
  flex-shrink: 0;
  transition: height .4s var(--ease);
}
.brand-mark img {
  width: auto;
  height: 100%;
  object-fit: contain;
}
.site-header.scrolled .brand-mark { height: 66px; }
.site-footer .brand-mark { height: 110px; }
@media (max-width: 575.98px) {
  .brand-mark { height: 62px; }
  .site-header.scrolled .brand-mark { height: 54px; }
}
.brand-name { line-height: 1; }
.brand-name strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .06em;
}
.brand-name small {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3em;
  margin-top: 5px;
  color: var(--cyan-300);
}

.site-header .nav-link {
  position: relative;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  padding: 10px 14px !important;
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--cyan-400); }
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 8px 10px;
  border-radius: 8px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(25, 217, 255, .3); }
.toggler-bars { display: grid; gap: 5px; width: 24px; }
.toggler-bars span { height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Dropdown / mega menu ---------- */
.site-header .nav-link .caret { font-size: 10px; margin-left: 3px; display: inline-block; transition: transform .35s var(--ease); }
.sub-toggle { display: none; }
.mega-grid { display: grid; gap: 4px; }
.mega-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  transition: background .25s, transform .3s var(--ease);
}
.mega-link strong { display: block; font-family: var(--font-head); font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.mega-link small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.mega-link .mi {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--blue-600);
  background: var(--cyan-100);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.mega-link:hover { background: var(--surface-2); color: var(--blue-600); transform: translateX(4px); }
.mega-link:hover .mi { background: var(--grad-cyan); color: #fff; transform: rotate(-8deg); }
.mega-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 4px 12px 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.mega-head h6 { margin: 0 0 2px; font-size: 15px; }
.mega-head p { margin: 0; font-size: 12.5px; color: var(--muted); }
.mega-head .link-arrow { font-size: 13px; white-space: nowrap; }

@media (min-width: 1200px) {
  .site-header .nav-link { padding: 10px 12px !important; }
  .site-header .nav-link::after { left: 12px; right: 12px; }
  .has-menu { position: relative; }
  .mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    padding: 14px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(4, 11, 46, .28);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .3s;
    z-index: 20;
  }
  /* invisible bridge so the menu stays open while moving the pointer down */
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
  /* little arrow */
  .mega::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 2px;
  }
  .has-menu:hover .mega,
  .has-menu:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }
  .has-menu:hover .caret,
  .has-menu:focus-within .caret { transform: rotate(180deg); }
  .mega-1 { width: 300px; }
  .mega-2 { width: 480px; }
  .mega-3 { width: 760px; }
  .mega-2 .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-3 .mega-grid { grid-template-columns: repeat(3, 1fr); }
  /* keep the wide Services panel inside the viewport */
  .mega-3 { left: 0; transform: translate(-30%, 12px); }
  .has-menu:hover .mega-3,
  .has-menu:focus-within .mega-3 { transform: translate(-30%, 0); }
  .mega-3::after { left: 30%; margin-left: 30px; }
  .mega-grid .mega-link { animation: none; }
  .has-menu:hover .mega-link { animation: megaIn .45s var(--ease) both; }
  .has-menu:hover .mega-link:nth-child(2) { animation-delay: .03s; }
  .has-menu:hover .mega-link:nth-child(3) { animation-delay: .06s; }
  .has-menu:hover .mega-link:nth-child(4) { animation-delay: .09s; }
  .has-menu:hover .mega-link:nth-child(5) { animation-delay: .12s; }
  .has-menu:hover .mega-link:nth-child(6) { animation-delay: .15s; }
  .has-menu:hover .mega-link:nth-child(7) { animation-delay: .18s; }
  .has-menu:hover .mega-link:nth-child(8) { animation-delay: .21s; }
  .has-menu:hover .mega-link:nth-child(9) { animation-delay: .24s; }
}
@keyframes megaIn { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1199.98px) {
  .has-menu { display: flex; flex-wrap: wrap; align-items: center; }
  .has-menu > .nav-link { flex: 1; }
  .site-header .nav-link .caret { display: none; }
  .sub-toggle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    background: transparent;
    color: #fff;
  }
  .sub-toggle i { transition: transform .35s var(--ease); }
  .has-menu.open .sub-toggle { color: var(--cyan-400); border-color: var(--cyan-400); }
  .has-menu.open .sub-toggle i { transform: rotate(180deg); }
  .mega {
    flex-basis: 100%;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
  }
  .mega > * { overflow: hidden; min-height: 0; }
  .has-menu.open .mega { grid-template-rows: 1fr; margin-bottom: 8px; }
  .mega-head { display: none; }
  .mega-grid { padding-left: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .mega-link { color: rgba(255, 255, 255, .85); padding: 8px 10px; }
  .mega-link small { color: rgba(255, 255, 255, .5); }
  .mega-link .mi { background: rgba(25, 217, 255, .12); color: var(--cyan-400); width: 34px; height: 34px; font-size: 15px; }
  .mega-link:hover { background: rgba(255, 255, 255, .06); color: var(--cyan-400); }
}

[id], .filter-bar, .solution-tabs { scroll-margin-top: 120px; }

@media (max-width: 1199.98px) {
  .site-header .navbar-collapse {
    margin-top: 12px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(4, 11, 46, .97);
    border: 1px solid rgba(255, 255, 255, .08);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .site-header .nav-link::after { left: 14px; right: auto; width: 30px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  background:
    radial-gradient(1000px 600px at 78% 40%, rgba(47, 123, 255, .35), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(25, 217, 255, .12), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero canvas.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(160px, 22vw, 300px);
  z-index: -1;
  opacity: .55;
  pointer-events: none;
}
.hero-skyline svg { width: 100%; height: 100%; display: block; }
.hero-title {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 8px 0 22px;
}
.hero-title .typed {
  display: inline-block;
  min-height: 1.2em;
}
.hero-title .caret {
  display: inline-block;
  width: 3px;
  height: .9em;
  margin-left: 4px;
  vertical-align: -.08em;
  background: var(--cyan-400);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-text { font-size: 1.08rem; color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 34px; }
.hero-kicker {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.hero-words {
  position: absolute;
  top: 130px;
  right: 4%;
  text-align: right;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  letter-spacing: .3em;
  font-size: 14px;
  line-height: 2.1;
  color: var(--cyan-400);
}
.hero-words span { display: block; opacity: .35; transition: opacity .5s, text-shadow .5s; }
.hero-words span.on { opacity: 1; text-shadow: 0 0 14px rgba(25, 217, 255, .8); }

.globe-wrap {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}
.globe-wrap canvas { width: 100%; height: 100%; display: block; }
.globe-wrap::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 217, 255, .35), transparent 65%);
  filter: blur(30px);
  z-index: -1;
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.1); opacity: .7; } }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stats .num em { font-style: normal; color: var(--cyan-400); }
.hero-stats small { color: rgba(255, 255, 255, .65); font-size: 13px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 20px;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--cyan-400);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 991.98px) {
  .hero { padding: 130px 0 90px; min-height: auto; text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero .btn-group-hero, .hero-stats { justify-content: center; }
  .hero-words { display: none; }
  .globe-wrap { margin: 40px auto 0; max-width: 380px; }
  .scroll-cue { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 190px 0 110px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(47, 123, 255, .4), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-800));
}
.page-hero canvas.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.page-hero p { color: rgba(255, 255, 255, .8); font-size: 1.08rem; max-width: 640px; margin: 0 auto; }
.crumbs {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 18px;
  border-radius: 40px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  margin-bottom: 20px;
}
.crumbs a { color: var(--cyan-400); }
.crumbs span { color: rgba(255, 255, 255, .7); }
@media (max-width: 575.98px) { .page-hero { padding: 150px 0 80px; } }

/* ---------- Cards: generic hover spotlight ---------- */
.spot {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(25, 217, 255, .16), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
}
.spot:hover::before { opacity: 1; }

[data-tilt] { transform-style: preserve-3d; will-change: transform; transition: transform .5s var(--ease), box-shadow .4s var(--ease); }

/* ---------- Service cards ---------- */
.service-card {
  height: 100%;
  display: flex;
  gap: 18px;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: rgba(25, 217, 255, .5); }
.icon-bubble {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--blue-600);
  background: var(--cyan-100);
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.service-card:hover .icon-bubble { background: var(--grad-cyan); color: #fff; transform: rotate(-8deg) scale(1.08); }
.service-card h5 { font-size: 1.02rem; margin-bottom: 6px; }
.service-card p { font-size: 13.5px; line-height: 1.6; margin-bottom: 10px; color: var(--body); }

.service-card.vertical { flex-direction: column; padding: 32px 28px; }
.service-card.vertical .num-tag {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: rgba(26, 92, 255, .07);
  line-height: 1;
}

/* ---------- About ---------- */
.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 330px;
  height: 100%;
  background: linear-gradient(180deg, #0a1c6a 0%, #1645b8 55%, #071447 100%);
  box-shadow: var(--shadow-md);
}
.about-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-visual .tags {
  position: absolute;
  right: 26px;
  bottom: 30px;
  font-family: var(--font-head);
  font-style: italic;
  letter-spacing: .3em;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 2.1;
}
.about-visual .play {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-cyan);
  color: var(--navy-950);
  font-size: 28px;
  box-shadow: 0 0 0 0 rgba(25, 217, 255, .6);
  animation: ping 2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 26px rgba(25, 217, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 217, 255, 0); } }

.quote-card {
  height: 100%;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quote-card .qmark { font-size: 42px; line-height: 1; color: var(--blue-600); }
.quote-card blockquote { font-family: var(--font-head); font-size: 1.22rem; color: var(--ink); line-height: 1.45; font-weight: 500; margin: 10px 0 20px; }
.quote-card .who strong { display: block; color: var(--ink); font-family: var(--font-head); }
.quote-card .who small { color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list i { color: var(--cyan-400); font-size: 18px; line-height: 1.4; }
.check-list.tight { gap: 0; }
.check-list.tight i { font-size: 14px; line-height: 1.7; }
.check-list-title { font-size: 1.02rem; margin: 18px 0 6px; }

/* ---------- Counters strip ---------- */
.stat-box {
  text-align: center;
  padding: 30px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.stat-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-box .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.stat-box small { color: var(--muted); font-size: 14px; }

/* ---------- Testimonials ---------- */
.testi-card {
  height: 100%;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: border-color .4s, box-shadow .4s;
}
.testi-card:hover { border-color: rgba(25, 217, 255, .5); box-shadow: var(--shadow-md); }
.testi-card .q { display: flex; gap: 12px; flex: 1; }
.testi-card .q i { font-size: 28px; color: var(--cyan-400); line-height: 1; }
.testi-card .q p { font-size: 13.5px; line-height: 1.65; }
.testi-card .stars { color: #ffb400; font-size: 12px; margin: 4px 0 14px 40px; }
.person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--grad-navy);
  flex-shrink: 0;
  border: 2px solid var(--cyan-100);
}
.person strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 14px; }
.person small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }

.testi-swiper { padding: 10px 4px 50px !important; }
.testi-swiper .swiper-slide { height: auto; }
.testi-swiper .swiper-pagination-bullet { width: 10px; height: 10px; background: var(--blue-600); opacity: .25; transition: width .3s; }
.testi-swiper .swiper-pagination-bullet-active { width: 28px; border-radius: 6px; opacity: 1; background: var(--grad-cyan); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 44px 60px;
  border-radius: 18px;
  background: var(--grad-navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 20px 50px rgba(7, 20, 71, .35);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at var(--mx, 70%) var(--my, 50%), rgba(25, 217, 255, .35), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 40px, rgba(255,255,255,.03) 40px 41px);
  z-index: -1;
  transition: background .2s;
}
.cta-band h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; margin-bottom: 4px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; }
@media (max-width: 767.98px) { .cta-band { padding: 34px 26px; text-align: center; } }

/* ---------- News / Blog ---------- */
.news-card {
  display: flex;
  gap: 18px;
  height: 100%;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .art { width: 42%; min-height: 150px; flex-shrink: 0; }
.news-card .meta { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.news-card h5 { font-size: 1rem; margin: 4px 0 8px; }
.news-card h5 a { color: var(--ink); }
.news-card h5 a:hover { color: var(--blue-600); }
.news-card p { font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
@media (max-width: 575.98px) {
  .news-card { flex-direction: column; }
  .news-card .art { width: 100%; }
}

.blog-card {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .art { border-radius: 0; height: 210px; }
.blog-card .body { padding: 22px 24px 26px; }
.blog-card .cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--cyan-100);
  color: var(--blue-600);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.blog-card h5 { font-size: 1.02rem; margin: 12px 0 8px; }
.blog-card p { font-size: 13.5px; }
.blog-card small { font-size: 12px; }
.blog-card h5 a { color: var(--ink); }
.blog-card h5 a:hover { color: var(--blue-600); }

/* Decorative image panels (no external images needed) */
.art {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #071447, #1a5cff);
  isolation: isolate;
}
.art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: -1;
  transition: transform 1.2s var(--ease);
}
.art::after {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 217, 255, .55), transparent 65%);
  filter: blur(10px);
  z-index: -1;
}
.art i {
  font-size: 54px;
  filter: drop-shadow(0 0 16px rgba(25, 217, 255, .9));
  transition: transform .6s var(--ease);
}
.news-card:hover .art i,
.blog-card:hover .art i,
.project-card:hover .art i { transform: scale(1.15) rotate(-6deg); }
.news-card:hover .art::before,
.blog-card:hover .art::before,
.project-card:hover .art::before { transform: scale(1.2); }
.art.a2 { background: linear-gradient(140deg, #04102f, #0c3a8f 60%, #19d9ff); }
.art.a3 { background: linear-gradient(140deg, #0b1c66, #3a2fd8); }
.art.a4 { background: linear-gradient(140deg, #052a4a, #0aa6c9); }
.art.a5 { background: linear-gradient(140deg, #1a0b5e, #6b3cff 60%, #19d9ff); }
.art.a6 { background: linear-gradient(140deg, #071447, #0f6e8c); }

/* ---------- Clients marquee ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 44px;
  border-right: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  color: #8a93b0;
  white-space: nowrap;
  filter: grayscale(1);
  opacity: .8;
  transition: color .3s, filter .3s, opacity .3s, transform .3s;
}
.client-logo:hover { filter: none; opacity: 1; color: var(--ink); transform: scale(1.06); }
.client-logo i { font-size: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, .72);
  padding-top: 80px;
  overflow: hidden;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, .25), transparent 65%);
  z-index: -1;
}
.site-footer h6 {
  color: var(--cyan-400);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer p { font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: rgba(255, 255, 255, .78); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; transition: color .3s, transform .3s var(--ease); }
.footer-links a::before { content: ""; width: 0; height: 2px; background: var(--cyan-400); transition: width .3s var(--ease); }
.footer-links a:hover { color: var(--cyan-400); }
.footer-links a:hover::before { width: 12px; }
.footer-col { border-left: 1px solid rgba(255, 255, 255, .1); padding-left: 32px; }
@media (max-width: 991.98px) { .footer-col { border-left: 0; padding-left: calc(var(--bs-gutter-x) * .5); } }
.office { display: flex; gap: 12px; margin-bottom: 22px; font-size: 12px; line-height: 1.55; }
.office i { color: var(--cyan-400); font-size: 20px; }
.office strong { display: block; color: #fff; font-family: var(--font-head); font-size: 13.5px; letter-spacing: .04em; margin-bottom: 2px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.socials a:hover { background: var(--grad-cyan); color: var(--navy-950); transform: translateY(-4px); }
.footer-bottom {
  margin-top: 60px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
}
.footer-bottom a { color: rgba(255, 255, 255, .78); }
.footer-bottom a:hover { color: var(--cyan-400); }
.newsletter {
  display: flex;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
}
.newsletter input { flex: 1; min-width: 0; background: rgba(255,255,255,.05); border: 0; color: #fff; padding: 10px 14px; font-size: 14px; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; background: rgba(255,255,255,.1); }
.newsletter button { border: 0; background: var(--grad-cyan); color: var(--navy-950); padding: 0 16px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--cyan-400);
  display: grid;
  place-items: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease);
  box-shadow: 0 8px 24px rgba(7, 20, 71, .35);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 3; }
.to-top .track { stroke: rgba(255, 255, 255, .1); }
.to-top .bar { stroke: var(--cyan-400); stroke-linecap: round; transition: stroke-dashoffset .1s; }
.to-top i { font-size: 18px; }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal="up"] { transform: translateY(46px); }
[data-reveal="down"] { transform: translateY(-46px); }
[data-reveal="left"] { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal].in { opacity: 1; transform: none; }
@media (max-width: 991.98px) {
  [data-reveal="left"]:not(.in),
  [data-reveal="right"]:not(.in) { transform: translateY(46px); }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Page videos (About, Services) ---------- */
.about-video { background: var(--grad-navy); }
.about-video .section-title { color: #fff; margin-bottom: 36px; }
.video-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-950);
  border: 1px solid rgba(92, 230, 255, .25);
  box-shadow: var(--shadow-glow);
}
.video-frame.compact { max-width: 720px; }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; }

/* ---------- Live process flow (About, Services) ---------- */
.process-flow {
  overflow: hidden;
  isolation: isolate;
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 48%, var(--blue-600) 100%);
}
.process-flow canvas.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .75; }
.process-flow::before,
.process-flow::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: flow-drift 12s ease-in-out infinite alternate;
}
.process-flow::before { top: -220px; left: -120px; background: var(--cyan-400); }
.process-flow::after { bottom: -240px; right: -100px; background: var(--blue-500); animation-delay: -6s; }
.process-flow .section-title { color: #fff; }
.process-flow .section-lead { color: rgba(255, 255, 255, .82); }

.flow { --p: 0; --step: 2600ms; position: relative; margin-top: 56px; }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow-rail {
  position: absolute;
  top: 36px;
  left: var(--from, 10%);
  width: var(--len, 80%);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .34) 50%, transparent 50%) 0 0 / 16px 100%;
  animation: flow-dash .7s linear infinite;
}
.flow-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-300), var(--cyan-400));
  box-shadow: 0 0 14px var(--cyan-400);
  transform: scaleX(var(--p));
  transform-origin: left;
  transition: transform .9s var(--ease);
}
.flow-spark {
  position: absolute;
  top: 50%;
  left: calc(var(--p) * 100%);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(25, 217, 255, .3), 0 0 24px 7px var(--cyan-400);
  transition: left .9s var(--ease);
}

.flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(46px) scale(.96);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i) * .14s);
}
.flow.in .flow-step { opacity: 1; transform: none; }
.flow-node {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  font-size: 26px;
  color: var(--cyan-300);
  background: var(--navy-900);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .24);
  transition: transform .6s var(--ease), background .5s, color .5s, box-shadow .5s;
}
.flow-node::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--cyan-400);
  opacity: 0;
}
.flow-node::after {
  content: "\2713";
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-950);
  background: var(--cyan-300);
  transform: scale(0);
  transition: transform .5s cubic-bezier(.34, 1.8, .64, 1);
}
.flow-ring { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); }
.flow-ring circle {
  fill: none;
  stroke: var(--cyan-300);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 251.4;
  stroke-dashoffset: 251.4;
}
.flow-body { display: flex; flex: 1; flex-direction: column; width: 100%; min-width: 0; }
.flow-no {
  margin: 18px 0 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--cyan-300);
}
.flow-card {
  position: relative;
  flex: 1;
  padding: 20px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(6px);
  transition: transform .6s var(--ease), background .5s, border-color .5s, box-shadow .5s;
}
.flow-card h5 { font-size: 1.02rem; color: #fff; margin: 0; }
.flow-card p { font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin: 8px 0 0; }
.flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .2) 50%, transparent 70%);
  transform: translateX(-110%);
  pointer-events: none;
}
.flow-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--grad-cyan);
  transform: scaleX(0);
  transform-origin: left;
}

/* Step being worked on */
.flow-step.active .flow-node {
  color: #fff;
  background: var(--grad-cyan);
  box-shadow: 0 0 30px rgba(25, 217, 255, .75);
  transform: scale(1.12);
}
.flow-step.active .flow-node::before { animation: flow-ping 1.3s var(--ease) infinite; }
.flow-step.active .flow-ring circle { animation: flow-ring var(--step) linear forwards; }
.flow-step.active .flow-no { color: #fff; }
.flow-step.active .flow-card {
  border-color: var(--cyan-400);
  background: rgba(255, 255, 255, .15);
  box-shadow: 0 18px 40px rgba(4, 11, 46, .45), 0 0 26px rgba(25, 217, 255, .35);
  transform: translateY(-8px);
}
.flow-step.active .flow-card::before { animation: flow-sweep 1.5s ease .25s; }
.flow-step.active .flow-card::after { animation: flow-bar var(--step) linear forwards; }

/* Step finished */
.flow-step.done .flow-node { color: #fff; background: var(--navy-800); }
.flow-step.done .flow-node::after { transform: scale(1); }
.flow-step.done .flow-ring circle { stroke-dashoffset: 0; }
.flow-step.done .flow-card { border-color: rgba(92, 230, 255, .45); }
.flow-step.done .flow-card::after { transform: scaleX(1); opacity: .6; }

@keyframes flow-dash { to { background-position: 16px 0; } }
@keyframes flow-dash-y { to { background-position: 0 16px; } }
@keyframes flow-ring { to { stroke-dashoffset: 0; } }
@keyframes flow-bar { to { transform: scaleX(1); } }
@keyframes flow-sweep { to { transform: translateX(110%); } }
@keyframes flow-ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
@keyframes flow-drift { to { transform: translate3d(90px, 50px, 0) scale(1.15); } }

@media (max-width: 991.98px) {
  .flow-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .flow-rail {
    top: var(--from, 30px);
    left: 29px;
    width: 3px;
    height: var(--len, 90%);
    background: linear-gradient(180deg, rgba(255, 255, 255, .34) 50%, transparent 50%) 0 0 / 100% 16px;
    animation-name: flow-dash-y;
  }
  .flow-fill { transform: scaleY(var(--p)); transform-origin: top; }
  .flow-spark { top: calc(var(--p) * 100%); left: 50%; margin: -7px 0 0 -7px; transition: top .9s var(--ease); }
  .flow-step { flex-direction: row; align-items: flex-start; gap: 16px; text-align: left; }
  .flow-node { width: 60px; height: 60px; font-size: 22px; }
  .flow-no { margin: 0 0 8px; }
  .flow-step.active .flow-card { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .flow-step { opacity: 1; transform: none; }
}

/* ---------- Internship cards ---------- */
.program-card {
  height: 100%;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .4s, border-color .4s;
}
.program-card:hover { box-shadow: var(--shadow-md); border-color: rgba(25, 217, 255, .5); }
.program-card .badge-soft {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--cyan-100);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
}
.program-card h5 { font-size: 1.02rem; }
.program-card ul { list-style: none; padding: 0; margin: 14px 0 22px; font-size: 13.5px; display: grid; gap: 6px; }
.program-card ul i { color: var(--cyan-400); margin-right: 6px; }
.program-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.program-card p { font-size: 13.5px; line-height: 1.6; color: var(--body); margin-bottom: 14px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.skill-tags span { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; color: var(--navy-800); background: var(--cyan-100); }
.check-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
@media (max-width: 575.98px) { .check-list.two-col { grid-template-columns: minmax(0, 1fr); } }
.training-note { display: flex; gap: 10px; padding: 14px 16px; font-size: 13px; line-height: 1.6; color: var(--body); border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.training-note i { color: var(--blue-600); font-size: 16px; }

/* ---------- Projects filter ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 9px 20px;
  border-radius: 30px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--cyan-400); color: var(--blue-600); }
.filter-btn.active { background: var(--grad-cyan); color: var(--navy-950); border-color: transparent; box-shadow: var(--shadow-glow); }
.project-item { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.project-item.hidden { display: none; }
.project-item.fading { opacity: 0; transform: scale(.94); }
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  height: 100%;
}
.project-card .art { height: 240px; border-radius: 0; }
.project-card .overlay {
  position: absolute;
  inset: 0;
  height: 240px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 30%, rgba(4, 11, 46, .9));
  opacity: 0;
  transition: opacity .4s;
}
.project-card:hover .overlay { opacity: 1; }
.project-card .overlay .tags span { display: inline-block; font-size: 11.5px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 2px 10px; border-radius: 20px; margin: 0 4px 4px 0; }
.project-card .body { padding: 20px 22px; }
.project-card .body small { color: var(--blue-600); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.project-card .body h5 { font-size: 1.02rem; margin: 6px 0 0; }

/* ---------- Business solutions tabs ---------- */
.solution-tabs .nav-link {
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  transition: all .35s var(--ease);
}
.solution-tabs .nav-link i { font-size: 22px; color: var(--blue-600); transition: color .3s; }
.solution-tabs .nav-link:hover { border-color: var(--cyan-400); transform: translateX(6px); }
.solution-tabs .nav-link.active { background: var(--grad-navy); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.solution-tabs .nav-link.active i { color: var(--cyan-400); }
.solution-pane {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.solution-pane .art { height: 200px; margin-bottom: 26px; }
.solution-pane h3, .form-card h2, .form-card h3 { font-weight: 700; }
.tab-pane.fade { transition: opacity .45s var(--ease); }

.industry {
  text-align: center;
  padding: 26px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  height: 100%;
  transition: background .35s, transform .4s var(--ease), border-color .35s;
}
.industry i { font-size: 34px; color: var(--cyan-400); display: block; margin-bottom: 10px; }
.industry:hover { background: rgba(25, 217, 255, .1); border-color: rgba(25, 217, 255, .5); transform: translateY(-6px); }
.dark-section {
  background: var(--grad-navy);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
  isolation: isolate;
}
.dark-section h2, .dark-section h3, .dark-section h5 { color: #fff; }

/* ---------- Forms ---------- */
.form-card {
  padding: 40px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
@media (max-width: 575.98px) { .form-card { padding: 26px 20px; } .solution-pane { padding: 24px; } }
.form-floating > .form-control,
.form-floating > .form-select { border-radius: 10px; border-color: var(--line); background-color: var(--surface-2); }
.form-control:focus,
.form-select:focus { border-color: var(--cyan-400); box-shadow: 0 0 0 4px rgba(25, 217, 255, .18); background-color: #fff; }
.form-alert { display: none; }
.form-alert.show { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.contact-info {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.contact-info:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-info { gap: 14px; padding: 22px 18px; }
.contact-info h6 { margin-bottom: 4px; font-size: 1.02rem; }
.contact-info > div:last-child { min-width: 0; }
.contact-info .icon-bubble { width: 46px; height: 46px; font-size: 20px; }
.contact-info p { margin: 0; font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
.contact-info p + p { margin-top: 8px; }
.contact-label { display: block; font-size: 12px; color: var(--body); opacity: .75; }
.map-frame { border: 0; width: 100%; height: 420px; border-radius: var(--radius); filter: saturate(.8) hue-rotate(-10deg); box-shadow: var(--shadow-md); }

/* ---------- Sidebar (blog) ---------- */
.side-widget { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); margin-bottom: 24px; }
.side-widget h6 { margin-bottom: 16px; font-size: 1.02rem; }
.side-widget p { font-size: 13.5px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 5px 12px; border-radius: 20px; border: 1px solid var(--line); font-size: 13px; color: var(--body); transition: all .3s; }
.tag-cloud a:hover { background: var(--grad-cyan); color: var(--navy-950); border-color: transparent; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a { color: var(--ink); }
.cat-list a:hover { color: var(--blue-600); }

.pagination .page-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  border-color: var(--line);
  transition: all .3s;
}
.pagination .page-link:hover { background: var(--cyan-100); color: var(--blue-600); }
.pagination .active .page-link { background: var(--grad-cyan); border-color: transparent; color: var(--navy-950); }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 30px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); height: 100%; transition: box-shadow .4s; }
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card .avatar { width: 96px; height: 96px; font-size: 28px; margin: 0 auto 16px; border-width: 4px; }
.team-card h5 { font-size: 1.02rem; margin-bottom: 2px; }
.team-card small { font-size: 12.5px; }
.team-card small { color: var(--muted); }
.team-card .socials { justify-content: center; margin-top: 16px; }
.team-card .socials a { width: 34px; height: 34px; font-size: 14px; color: var(--blue-600); background: var(--cyan-100); border: 0; }

/* ---------- Accordion ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 600; color: var(--ink); padding: 18px 22px; }
.faq .accordion-button:not(.collapsed) { background: var(--cyan-100); color: var(--blue-600); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(25, 217, 255, .25); }

/* ---------- Clients page ---------- */
.client-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.client-strip span {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
