/* Poppins covers Latin only, so Bangla text (including the danda) falls through to Hind Siliguri */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --ns-blue: #1f6fb5;
  --ns-blue-dark: #0a4c8c;
  --ns-navy: #012c56;
  --ns-red: #e01a1a;
  --ns-red-dark: #b00000;
  --ns-ink: #0f1b2d;
  --ns-body: #44536a;
  --ns-muted: #7a889b;
  --ns-border: #e6ecf3;
  --ns-soft: #f5f8fc;
  --ns-grad: linear-gradient(120deg, var(--ns-blue) 0%, var(--ns-blue-dark) 45%, var(--ns-red) 100%);
  --ns-shadow-sm: 0 4px 14px rgba(15, 27, 45, 0.06);
  --ns-shadow: 0 18px 50px -18px rgba(15, 45, 90, 0.28);
  --ns-radius: 16px;
  --nav-h: 84px;

  --bs-font-sans-serif: "Poppins", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--ns-body);
  --bs-link-color-rgb: 31, 111, 181;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
body {
  background: #fff;
  font-family: var(--bs-font-sans-serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(31, 111, 181, 0.18); }
a { text-decoration: none; }

/* ---------- Navbar ---------- */
.ns-nav {
  min-height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: min-height 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
/* The blur lives on a pseudo-element: backdrop-filter on the navbar itself would trap the fixed offcanvas inside it */
.ns-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: background 0.35s ease;
}
.ns-nav.scrolled {
  --nav-h: 68px;
  border-color: var(--ns-border);
  box-shadow: 0 10px 30px -18px rgba(15, 27, 45, 0.35);
}
.ns-nav.scrolled::before { background: rgba(255, 255, 255, 0.94); }

.ns-nav > .container { max-width: 1800px; padding-inline: clamp(1rem, 2.5vw, 2rem); }
.navbar-brand { display: flex; align-items: center; margin-right: 2rem; padding: 0; }
.brand-logo { display: block; height: 56px; width: auto; transition: height 0.35s ease; }
.ns-nav.scrolled .navbar-brand .brand-logo { height: 46px; }
.offcanvas-title .brand-logo { height: 38px; }
@media (max-width: 575.98px) {
  .navbar-brand .brand-logo { height: 40px; }
}

.ns-nav .nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ns-ink);
  padding: 0.6rem 0.95rem !important;
  transition: color 0.2s;
}
.ns-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem; right: 0.95rem; bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ns-grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
.ns-nav .nav-link:hover,
.ns-nav .nav-link.active,
.ns-nav .nav-link.show { color: var(--ns-blue); }
.ns-nav .nav-link:hover::after,
.ns-nav .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.ns-nav .dropdown-toggle::after { display: none; }
.ns-nav .dropdown-toggle { padding-right: 1.9rem !important; }
.ns-nav .dropdown-toggle::before {
  content: "\F282";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 0.85rem; top: 50%;
  font-size: 0.7rem;
  transform: translateY(-50%);
  transition: transform 0.3s;
}
.ns-nav .dropdown-toggle.show::before { transform: translateY(-50%) rotate(180deg); }

/* Dropdowns */
.ns-nav .dropdown-menu {
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius);
  box-shadow: var(--ns-shadow);
  padding: 0.6rem;
}
.mega-menu { padding: 1rem !important; }
.mega-label {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ns-muted);
  letter-spacing: 0.04em;
  margin: 0 0 0.6rem 0.5rem;
}
.mega-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.7rem;
  border-radius: 12px;
  color: var(--ns-ink);
  transition: background 0.25s, transform 0.25s;
}
.mega-item:hover { background: var(--ns-soft); transform: translateX(3px); }
.mega-item strong { display: block; font-family: "Poppins", "Hind Siliguri", sans-serif; font-weight: 600; font-size: 0.98rem; }
.mega-item small { display: block; color: var(--ns-muted); font-size: 0.78rem; line-height: 1.4; margin-top: 0.1rem; }
.mega-icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.mega-icon.blue { background: rgba(31, 111, 181, 0.1); color: var(--ns-blue); }
.mega-icon.red  { background: rgba(224, 26, 26, 0.09); color: var(--ns-red); }
.mega-item:hover .mega-icon { transform: rotate(-8deg) scale(1.06); }
.mega-icon.teal { background: rgba(13, 148, 136, 0.1); color: #0f766e; }
.mega-icon.indigo { background: rgba(99, 102, 241, 0.1); color: #4f46e5; }
.prod-menu { min-width: 310px; padding: 0.8rem !important; }

.mega-side {
  height: 100%;
  border-radius: 14px;
  padding: 1rem 0.8rem;
  background: linear-gradient(160deg, #f3f8fe, #fdf3f3);
}
.mega-products { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.mega-products a {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  color: var(--ns-ink);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.mega-products a i { color: var(--ns-blue); }
.mega-products a:hover { color: var(--ns-blue); background: rgba(255, 255, 255, 0.8); }
.mega-cta { font-weight: 700; font-size: 0.88rem; color: var(--ns-red); margin-left: 0.5rem; }
.mega-cta i { transition: transform 0.25s; display: inline-block; }
.mega-cta:hover i { transform: translateX(4px); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.hotline { display: flex; align-items: center; gap: 0.6rem; color: var(--ns-ink); }
.hotline small { display: block; font-size: 0.7rem; color: var(--ns-muted); line-height: 1; }
.hotline strong { font-size: 0.95rem; letter-spacing: 0.01em; }
.hotline-icon {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ns-red), var(--ns-red-dark));
  box-shadow: 0 8px 18px -8px rgba(224, 26, 26, 0.7);
}
.hotline-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ns-red);
  animation: ring 2s ease-out infinite;
}
.hotline:hover strong { color: var(--ns-red); }
@keyframes ring {
  from { transform: scale(1); opacity: 0.6; }
  to   { transform: scale(1.6); opacity: 0; }
}

/* Toggler */
.navbar-toggler {
  border: 1px solid var(--ns-border);
  border-radius: 12px;
  padding: 0.6rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(31, 111, 181, 0.15); }
.toggler-bar { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ns-ink); }
.toggler-bar:nth-child(2) { width: 15px; margin-left: auto; background: var(--ns-red); }

/* ---------- Buttons ---------- */
.btn-ns,
.btn-ns-outline {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.5s ease, color 0.25s;
}
.btn-ns {
  color: #fff;
  border: 0;
  background: linear-gradient(120deg, var(--ns-blue) 0%, var(--ns-blue-dark) 40%, var(--ns-red) 80%, var(--ns-red-dark) 100%);
  background-size: 220% 100%;
  box-shadow: 0 12px 26px -12px rgba(10, 76, 140, 0.65);
}
.btn-ns:hover,
.btn-ns:focus-visible {
  color: #fff;
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(224, 26, 26, 0.55);
}
.btn-ns-outline {
  color: var(--ns-ink);
  background: #fff;
  border: 1.5px solid rgba(31, 111, 181, 0.4);
}
.btn-ns-outline:hover,
.btn-ns-outline:focus-visible {
  color: var(--ns-blue);
  border-color: rgba(31, 111, 181, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--ns-shadow-sm);
}
.btn-lg.btn-ns,
.btn-lg.btn-ns-outline { padding: 0.9rem 1.9rem; font-size: 1rem; }
.btn .bi-arrow-right-short { font-size: 1.4rem; line-height: 1; transition: transform 0.25s; display: inline-block; }
.btn:hover .bi-arrow-right-short { transform: translateX(4px); }
.ripple-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleDot 0.65s ease-out forwards;
  pointer-events: none;
}
.btn-ns-outline .ripple-dot { background: rgba(31, 111, 181, 0.18); }
@keyframes rippleDot { to { transform: scale(4); opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding: 2.5rem 0 6rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.blob-blue { width: 520px; height: 520px; top: -140px; right: -80px; background: radial-gradient(circle, #cfe4f7 0%, rgba(207, 228, 247, 0) 70%); }
.blob-red  { width: 420px; height: 420px; bottom: -120px; left: -120px; background: radial-gradient(circle, #fbdada 0%, rgba(251, 218, 218, 0) 70%); }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 27, 45, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 70% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 70% 45%, #000 20%, transparent 75%);
}

.hero-title {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.55vw, 2.4rem);
  line-height: 1.3;
  color: var(--ns-ink);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.text-grad {
  background: var(--ns-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero-typed {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 500;
  color: var(--ns-ink);
  margin-bottom: 1rem;
}
.typed-wrap {
  display: inline-block;
  font-weight: 700;
  color: var(--ns-blue);
  border-bottom: 2px dashed rgba(31, 111, 181, 0.35);
  min-width: 2ch;
}
.typed-cursor { color: var(--ns-red); font-weight: 400; }
.hero-desc {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ns-body);
  max-width: 560px;
  margin-bottom: 1.8rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }

/* Visual */
.hero-visual {
  position: relative;
  max-width: 530px;
  margin-inline: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
/* The logo is never transformed: a transformed layer gets rasterised and the capsule text turns blurry */
.logo-wrap {
  position: relative;
  width: 84%;
  z-index: 1;
}
.hero-visual[data-aos].aos-animate { transform: none !important; }
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(31, 111, 181, 0.22);
  pointer-events: none;
}
.orbit-1 { inset: 4%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Soft light that follows the cursor across the visual */
.spotlight {
  position: absolute;
  inset: -30%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 120, 182, 0.12), rgba(224, 26, 26, 0.04) 45%, transparent 70%);
  /* Fades the layer's own edges so the glow never shows a hard border */
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  transition: opacity 0.4s;
}
.hero-visual:hover .spotlight { opacity: 1; }

/* Tech stack orbiting the logo; each chip counter-rotates to stay upright */
.tech-orbit {
  --spin: 80s;
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  border: 1px solid rgba(224, 26, 26, 0.12);
  pointer-events: none;
  animation: spin var(--spin) linear infinite;
}
.tech {
  position: absolute;
  left: calc(50% + 50% * cos(var(--a)));
  top: calc(50% + 50% * sin(var(--a)));
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  pointer-events: auto;
  cursor: pointer;
}
.tech-inner {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ns-border);
  box-shadow: 0 10px 24px -12px rgba(15, 45, 90, 0.35);
  font-size: 1.35rem;
  animation: spin var(--spin) linear infinite reverse;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.tech-inner i { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tech:hover .tech-inner { border-color: rgba(31, 111, 181, 0.4); box-shadow: 0 14px 30px -12px rgba(31, 111, 181, 0.55); }
.tech:hover .tech-inner i { transform: scale(1.2); }
.tech-orbit:has(.tech:hover),
.tech-orbit:has(.tech:hover) .tech-inner { animation-play-state: paused; }

/* Service capsules inside the logo become hoverable while they are showing */
.hero-logo .caps-layer { pointer-events: none; }
.hero-logo .caps-layer.is-live .cap { pointer-events: auto; cursor: pointer; }
.hero-logo .cap {
  transform-box: fill-box;
  transform-origin: 0 50%;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s;
}
.hero-logo .cap:hover {
  transform: translateX(-4px) scale(1.06);
  filter: drop-shadow(0 6px 10px rgba(31, 111, 181, 0.35));
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.1rem 0.7rem 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--ns-border);
  border-radius: 16px;
  box-shadow: var(--ns-shadow);
  color: var(--ns-ink);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s;
  z-index: 3;
}
.float-card small { display: block; font-size: 0.72rem; color: var(--ns-muted); }
.float-card strong { font-size: 0.95rem; }
.float-card:hover { box-shadow: 0 22px 50px -18px rgba(15, 45, 90, 0.45); color: var(--ns-ink); }
.card-custom { left: -2%; bottom: 8%; animation: floatY 7s ease-in-out -3s infinite; }
.card-custom small,
.card-custom strong { font-family: "Poppins", "Hind Siliguri", sans-serif; }
.card-custom small { font-size: 0.8rem; font-weight: 600; color: var(--ns-blue); }
.fc-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
}
.fc-icon.blue { background: linear-gradient(135deg, #4d9be0, var(--ns-navy)); }
.fc-icon.red  { background: linear-gradient(135deg, #ff4d4d, var(--ns-red-dark)); }
@keyframes floatY { 50% { translate: 0 -10px; } }

/* Marquee */
.hero-marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--ns-border);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  padding: 1rem 0;
  -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: 3rem; width: max-content; animation: marquee 40s linear infinite; }
.hero-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 600;
  color: var(--ns-body);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.marquee-track span i { color: var(--ns-blue); }
.marquee-track span:nth-child(even) i { color: var(--ns-red); }
@keyframes marquee { to { transform: translateX(-50%); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 5.2rem;
  width: 24px; height: 38px;
  margin-left: -12px;
  border: 2px solid rgba(15, 27, 45, 0.25);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--ns-red);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

.tooltip { --bs-tooltip-bg: var(--ns-ink); --bs-tooltip-font-size: 0.78rem; }

/* ---------- Animated logo ---------- */
.hero-logo {
  --tide: 40s;
  --flow-ease: cubic-bezier(0.45, 0, 0.55, 1);
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.hero-logo .fill   { animation: fill var(--tide) var(--flow-ease) infinite; }
.hero-logo .sweep  { animation: sweep var(--tide) var(--flow-ease) infinite; }
.hero-logo .ripple { animation: ripple 3.2s linear infinite; }
.hero-logo .ripple.slow { animation-duration: 4.8s; animation-direction: reverse; }
.hero-logo .bubble { animation: rise 3.4s ease-in-out infinite; opacity: 0; }
.hero-logo .bubble:nth-child(2) { animation-delay: -1.1s; animation-duration: 4s; }
.hero-logo .bubble:nth-child(3) { animation-delay: -2.3s; animation-duration: 3s; }
.hero-logo .bob   { animation: bob 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
.hero-logo .shine { animation: shine 5s ease-in-out infinite; animation-delay: calc(var(--i) * 0.4s); }
.hero-logo .pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s ease-out infinite;
  animation-delay: calc(var(--i) * -0.6s);
}

/* 20s flowing in, 20s draining out. The sweep runs past the capsules' right end (x=268) so they fully clear */
@keyframes fill {
  0%   { transform: translateX(-14px); }
  50%  { transform: translateX(120px); }
  100% { transform: translateX(-14px); }
}
@keyframes sweep {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(185px); }
  100% { transform: translateX(0); }
}
@keyframes bob   { 50% { transform: translateY(-2.5px); } }
@keyframes shine {
  0%, 55%   { transform: translateX(-40px) skewX(-20deg); }
  85%, 100% { transform: translateX(170px) skewX(-20deg); }
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes ripple { to { transform: translateY(40px); } }
@keyframes rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  30%  { opacity: 0.8; }
  100% { transform: translate(-10px, -12px); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (min-width: 992px) {
  .ns-nav .offcanvas-body { align-items: center; }
  .mega { position: static; }
  .mega-menu {
    width: min(900px, calc(100vw - 3rem));
    left: 50% !important;
    transform: translateX(-50%);
    margin-top: 0 !important;
  }
  .ns-nav .dropdown-menu { animation: dropIn 0.28s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .ns-nav .dropdown:hover > .dropdown-menu { display: block; }
  /* Keeps :hover alive while the pointer crosses the gap between the link and the menu */
  .ns-nav .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 100%;
    height: 26px;
  }
}
@keyframes dropIn { from { opacity: 0; translate: 0 10px; } }

@media (max-width: 991.98px) {
  .ns-nav .offcanvas { max-width: 340px; }
  .ns-nav .offcanvas-body { display: flex; flex-direction: column; }
  .ns-nav .offcanvas-title { font-weight: 800; color: var(--ns-ink); }
  .ns-nav .navbar-nav { width: 100%; margin: 0 !important; }
  .ns-nav .nav-link { padding: 0.8rem 0.4rem !important; border-bottom: 1px solid var(--ns-border); }
  .ns-nav .nav-link::after { display: none; }
  .ns-nav .dropdown-toggle::before { right: 0.4rem; }
  .ns-nav .dropdown-menu { border: 0; box-shadow: none; padding: 0.4rem 0; }
  .mega-side { margin-top: 0.8rem; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
  .hero { padding-top: 3rem; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .scroll-cue { display: none; }
}
@media (max-width: 575.98px) {
  .hero-cta { flex-wrap: nowrap; gap: 0.6rem; }
  .hero-cta .btn.btn-lg { flex: 1 1 0; padding: 0.65rem 0.8rem; font-size: 0.9rem; white-space: nowrap; }
  .hero-cta .btn .bi { line-height: 1; }
  .hero-cta .btn .bi-arrow-right-short { font-size: 1.15rem; }
  .float-card { transform: scale(0.85); }
  .card-custom { left: -4%; bottom: 0; }
  .tech-orbit { inset: 3%; }
  .tech { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .tech-inner { font-size: 1.05rem; border-radius: 10px; }
}

/* ---------- Section basics ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ns-red);
  margin-bottom: 0.9rem;
}
.section-eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--ns-grad);
}
.section-title {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  color: var(--ns-ink);
  margin-bottom: 1.1rem;
}
.section-lead {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ns-body);
  margin-bottom: 1.6rem;
}

/* ---------- Solutions ---------- */
.solutions {
  position: relative;
  padding: 6.5rem 0 3.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--ns-soft) 100%);
  overflow: hidden;
  overflow: clip;
}
.sol-blob {
  position: absolute;
  width: 520px; height: 520px;
  right: -160px; top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 181, 0.12), transparent 65%);
  pointer-events: none;
}
.sol-have {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 700;
  color: var(--ns-ink);
  margin-bottom: 0.8rem;
}
.sol-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.sol-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 14px;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ns-ink);
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.sol-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 111, 181, 0.35);
  box-shadow: var(--ns-shadow);
}
.sol-ico {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 1.05rem;
  color: var(--ns-blue);
  background: rgba(31, 111, 181, 0.09);
  transition: background 0.3s, color 0.3s;
}
.sol-list li:nth-child(even) .sol-ico { color: var(--ns-red); background: rgba(224, 26, 26, 0.08); }
.sol-list li:hover .sol-ico { color: #fff; background: var(--ns-grad); }
.sol-list li[data-slide] { position: relative; overflow: hidden; cursor: pointer; }
.sol-list li[data-slide]:focus-visible { outline: 2px solid var(--ns-blue); outline-offset: 2px; }
.sol-list li.is-active {
  border-color: rgba(31, 111, 181, 0.45);
  background: linear-gradient(135deg, rgba(31, 111, 181, 0.07), rgba(224, 26, 26, 0.05));
  box-shadow: var(--ns-shadow);
}
.sol-list li.is-active .sol-ico { color: #fff; background: var(--ns-grad); }
/* --sol-p (0 to 1) is set from main.js, which also times the slides */
.sol-list li.is-active::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--ns-grad);
  transform-origin: left;
  transform: scaleX(var(--sol-p, 0));
}
.sol-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.sol-call { display: flex; align-items: center; gap: 0.7rem; color: var(--ns-ink); }
.sol-call small { display: block; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.82rem; color: var(--ns-muted); }
.sol-call strong { font-size: 1.05rem; }
.sol-call-ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.15rem;
  color: var(--ns-red);
  background: rgba(224, 26, 26, 0.08);
  transition: background 0.3s, color 0.3s;
}
.sol-call:hover { color: var(--ns-blue); }
.sol-call:hover .sol-call-ico { color: #fff; background: var(--ns-red); }

/* Product showcase: browser window around a product screenshot */
.showcase { position: relative; padding: 1.5rem 0; }
.sc-window {
  position: relative;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ns-border);
  box-shadow: 0 40px 80px -30px rgba(15, 45, 90, 0.4);
  overflow: hidden;
}
.sc-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  background: var(--ns-soft);
  border-bottom: 1px solid var(--ns-border);
}
.sc-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.sc-bar > i:nth-child(2) { background: #febc2e; }
.sc-bar > i:nth-child(3) { background: #28c840; }
.sc-title {
  margin-left: 0.8rem;
  max-width: 55%;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ns-border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ns-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-title .bi { color: #1aa35a; }
.sc-screen {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--ns-soft);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.sc-screen.is-dragging { cursor: grabbing; }
.sc-track { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }
.sc-screen.is-dragging .sc-track { transition: none; }
.sc-screen img {
  flex: 0 0 100%;
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top left;
  pointer-events: none;
  -webkit-user-drag: none;
}
.sc-dots {
  position: absolute;
  left: 50%; bottom: 0.7rem;
  z-index: 1;
  display: flex;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  transform: translateX(-50%);
}
.sc-dots i { width: 6px; height: 6px; border-radius: 3px; cursor: pointer; background: rgba(255, 255, 255, 0.55); transition: width 0.3s, background 0.3s; }
.sc-dots i.is-active { width: 18px; background: #fff; }

.sc-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--ns-border);
  border-radius: 16px;
  box-shadow: var(--ns-shadow);
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  color: var(--ns-ink);
}
.sc-badge small { display: block; font-size: 0.78rem; color: var(--ns-muted); line-height: 1.3; }
.sc-badge strong { font-size: 0.95rem; line-height: 1.3; }
.sc-badge-top { top: 0; right: -4%; animation: floatY 6s ease-in-out infinite; }
.sc-badge-bottom { left: -6%; bottom: 18%; animation: floatY 7s ease-in-out -3s infinite; }
@media (prefers-reduced-motion: reduce) {
  .sc-track { transition: none; }
}

@media (max-width: 991.98px) {
  .solutions { padding: 4.5rem 0 2.5rem; }
  .sc-badge-top { right: 2%; }
  .sc-badge-bottom { left: 2%; }
}
@media (max-width: 575.98px) {
  .sol-list { grid-template-columns: 1fr; }
  .sol-cta .btn { width: 100%; }
  .sc-badge { transform: scale(0.85); }
  .sc-badge-top { right: -4%; transform-origin: right top; }
  .sc-badge-bottom { left: -4%; bottom: 14%; transform-origin: left bottom; }
}

/* ---------- Website & Ecommerce ---------- */
.webdev {
  position: relative;
  padding: 6.5rem 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(31, 111, 181, 0.08) 1px, transparent 0) 0 0 / 26px 26px,
    #fff;
  overflow: hidden;
  overflow: clip;
}
.webdev-title { font-family: "Poppins", "Hind Siliguri", sans-serif; font-weight: 800; letter-spacing: -0.01em; }

.wd-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.wd-feature {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 14px;
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.wd-feature:hover { transform: translateY(-3px); border-color: rgba(31, 111, 181, 0.35); box-shadow: var(--ns-shadow); }
.wd-feature h3 {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ns-ink);
  margin: 0 0 0.15rem;
}
.wd-feature p {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ns-muted);
  margin: 0;
}
.wd-ico {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.1rem;
  color: var(--ns-blue);
  background: rgba(31, 111, 181, 0.09);
  transition: background 0.3s, color 0.3s;
}
.wd-feature:nth-child(4n + 2) .wd-ico,
.wd-feature:nth-child(4n + 3) .wd-ico { color: var(--ns-red); background: rgba(224, 26, 26, 0.08); }
.wd-feature:hover .wd-ico { color: #fff; background: var(--ns-grad); }

/* Store mockup built from plain elements */
.web-visual { position: relative; padding: 2rem 12% 3.5rem 0; }
.wv-browser {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ns-border);
  box-shadow: 0 40px 80px -30px rgba(15, 45, 90, 0.4);
  overflow: hidden;
}
.wv-page { padding: 1rem; background: #fff; }
.wv-nav { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.9rem; }
.wv-logo { font-weight: 800; font-size: 0.9rem; color: var(--ns-ink); }
.wv-logo .bi { color: var(--ns-red); }
.wv-links { display: flex; gap: 0.5rem; margin-left: auto; }
.wv-links i { width: 34px; height: 6px; border-radius: 6px; background: var(--ns-border); }
.wv-cart { position: relative; font-size: 1.05rem; color: var(--ns-ink); }
.wv-cart b {
  position: absolute;
  top: -6px; right: -9px;
  min-width: 16px; height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.6rem;
  color: #fff;
  background: var(--ns-red);
  animation: cartBump 8s ease-in-out infinite;
}
@keyframes cartBump { 0%, 14%, 22%, 100% { transform: none; } 18% { transform: scale(1.35); } }
.wv-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--ns-navy), var(--ns-blue) 60%, #4d9be0);
  color: #fff;
}
.wv-hero small { display: block; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.wv-hero strong { display: block; font-size: 1.05rem; line-height: 1.25; margin: 0.2rem 0 0.6rem; }
.wv-btn {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ns-navy);
  background: #fff;
}
.wv-hero-art { font-size: 3.2rem; line-height: 1; opacity: 0.9; animation: floatY 5s ease-in-out infinite; }
.wv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.wv-product {
  padding: 0.45rem;
  border: 1px solid var(--ns-border);
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.wv-product:hover { transform: translateY(-3px); box-shadow: var(--ns-shadow-sm); }
.wv-product b { display: block; font-size: 0.7rem; color: var(--ns-red); }
.wv-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 8px;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.wv-thumb.t1 { color: #1f6fb5; background: #e8f1fb; }
.wv-thumb.t2 { color: #e01a1a; background: #fdeaea; }
.wv-thumb.t3 { color: #7a4fd0; background: #f0eafb; }
.wv-thumb.t4 { color: #1aa35a; background: #e6f6ed; }
.wv-line { display: block; height: 5px; border-radius: 5px; background: var(--ns-border); margin-bottom: 0.3rem; }
.wv-line.short { width: 60%; }

.wv-phone {
  position: absolute;
  right: 0; bottom: 0;
  width: 30%;
  padding: 0.5rem;
  border-radius: 26px;
  background: var(--ns-ink);
  box-shadow: 0 30px 60px -20px rgba(15, 27, 45, 0.55);
  animation: floatY 7s ease-in-out -2s infinite;
}
.wv-notch {
  display: block;
  width: 38%; height: 6px;
  margin: 0.1rem auto 0.45rem;
  border-radius: 6px;
  background: #2a3a52;
}
.wv-phone-screen { padding: 0.6rem; border-radius: 18px; background: #fff; }
.wv-thumb.big { font-size: 2.2rem; margin-bottom: 0.6rem; }
.wv-phone-row { display: flex; align-items: center; justify-content: space-between; margin: 0.4rem 0 0.6rem; }
.wv-phone-row b { font-size: 0.78rem; color: var(--ns-red); }
.wv-stars { font-size: 0.5rem; color: #f5a623; }
.wv-add {
  display: block;
  padding: 0.35rem 0;
  border-radius: 999px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  background: var(--ns-grad);
}

.fc-icon.green { background: linear-gradient(135deg, #3ccf7c, #12844a); }
.wv-toast {
  position: absolute;
  z-index: 2;
  top: 0; right: 4%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 16px;
  box-shadow: var(--ns-shadow);
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  color: var(--ns-ink);
  animation: toastLoop 8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}
.wv-toast small { display: block; font-size: 0.78rem; color: var(--ns-muted); line-height: 1.3; }
.wv-toast strong { font-size: 0.95rem; line-height: 1.3; }
@keyframes toastLoop {
  0%, 8% { opacity: 0; transform: translateY(-12px) scale(0.95); }
  16%, 78% { opacity: 1; transform: none; }
  88%, 100% { opacity: 0; transform: translateY(-12px) scale(0.95); }
}
.wv-badge { left: -5%; bottom: 0; animation: floatY 6s ease-in-out -1s infinite; }

/* Work process */
.wd-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 5rem;
}
.wd-process::before {
  content: "";
  position: absolute;
  left: 12.5%; right: 12.5%;
  top: 26px;
  border-top: 2px dashed rgba(31, 111, 181, 0.25);
}
.wd-step { position: relative; text-align: center; padding: 0 0.5rem; }
.wd-num {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  font-weight: 800;
  color: var(--ns-blue);
  background: #fff;
  border: 2px solid rgba(31, 111, 181, 0.3);
  box-shadow: var(--ns-shadow-sm);
  transition: color 0.3s, background 0.3s, border-color 0.3s, transform 0.3s;
}
.wd-step:hover .wd-num { color: #fff; background: var(--ns-grad); border-color: transparent; transform: scale(1.08); }
.wd-step h3 {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ns-ink);
  margin-bottom: 0.3rem;
}
.wd-step h3 .bi { color: var(--ns-red); margin-right: 0.2rem; }
.wd-step p { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.9rem; color: var(--ns-muted); margin: 0; }

@media (max-width: 991.98px) {
  .webdev { padding: 4.5rem 0; }
  .wd-process { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; margin-top: 3.5rem; }
  .wd-process::before { display: none; }
}
@media (max-width: 575.98px) {
  .wd-features { grid-template-columns: 1fr; }
  .web-visual { padding-right: 16%; }
  .wv-page { padding: 0.7rem; }
  .wv-links { display: none; }
  .wv-hero strong { font-size: 0.85rem; }
  .wv-hero-art { font-size: 2.2rem; }
  .wv-grid { grid-template-columns: repeat(2, 1fr); }
  .wv-badge { transform: scale(0.85); }
  .wv-toast { right: 0; scale: 0.85; transform-origin: right top; }
  .wv-badge { left: -3%; transform-origin: left bottom; }
}

/* ---------- Domain & Hosting ---------- */
.hosting {
  position: relative;
  padding: 6.5rem 0;
  background: linear-gradient(180deg, var(--ns-soft) 0%, #fff 100%);
}
.hosting-head { max-width: 760px; margin: 0 auto 2.6rem; }

.domain-card {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 3.5rem;
  padding: 2.4rem 2.6rem 2rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(120deg, var(--ns-navy) 0%, var(--ns-blue-dark) 45%, var(--ns-blue) 100%);
  box-shadow: 0 40px 80px -35px rgba(1, 44, 86, 0.7);
}
.dc-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.dc-orb-1 { width: 320px; height: 320px; right: -90px; top: -140px; background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%); }
.dc-orb-2 { width: 260px; height: 260px; left: -80px; bottom: -150px; background: radial-gradient(circle, rgba(224, 26, 26, 0.35), transparent 70%); }
.domain-card h3 {
  position: relative;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.domain-form {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.4rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.5);
}
.domain-form input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0.6rem 0 0.6rem 1.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ns-ink);
  background: transparent;
}
.domain-form input::placeholder { color: #a9b4c2; font-weight: 500; }
.df-tld {
  padding: 0 0.9rem;
  font-weight: 800;
  color: var(--ns-blue);
  border-left: 1px solid var(--ns-border);
  white-space: nowrap;
}
.df-btn.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--ns-red), var(--ns-red-dark));
  box-shadow: 0 10px 22px -10px rgba(224, 26, 26, 0.8);
  transition: transform 0.25s, box-shadow 0.25s;
}
.df-btn.btn:hover,
.df-btn.btn:focus-visible { color: #fff; background: linear-gradient(120deg, var(--ns-red), var(--ns-red-dark)); transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(224, 26, 26, 0.9); }
.tld-chips { position: relative; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.tld {
  padding: 0.35rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.tld:hover { background: rgba(255, 255, 255, 0.18); }
.tld.is-active { color: var(--ns-navy); background: #fff; border-color: #fff; }
.domain-result {
  position: relative;
  min-height: 1.5em;
  margin: 1rem 0 0;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}
.domain-result strong { color: #fff; }
.domain-result a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.plan {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 20px;
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--ns-shadow); border-color: rgba(31, 111, 181, 0.3); }
.plan.is-featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--ns-grad) border-box;
  box-shadow: var(--ns-shadow);
}
.plan-tag {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--ns-grad);
}
.plan-ico {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  font-size: 1.45rem;
  color: #fff;
  background: linear-gradient(135deg, #4d9be0, var(--ns-navy));
  box-shadow: 0 12px 24px -12px rgba(1, 44, 86, 0.6);
}
.plan-ico.red { background: linear-gradient(135deg, #ff4d4d, var(--ns-red-dark)); box-shadow: 0 12px 24px -12px rgba(176, 0, 0, 0.6); }
.plan h3 { font-size: 1.3rem; font-weight: 800; color: var(--ns-ink); margin-bottom: 0.25rem; }
.plan-sub { font-family: "Poppins", "Hind Siliguri", sans-serif; color: var(--ns-muted); margin-bottom: 1.2rem; }
.plan ul {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 0 0 1.6rem;
  border-top: 1px dashed var(--ns-border);
  flex: 1 1 auto;
}
.plan li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 500;
  color: var(--ns-body);
}
.plan li .bi { color: #1aa35a; font-size: 1.05rem; }

@media (max-width: 991.98px) {
  .hosting { padding: 4.5rem 0; }
}
@media (max-width: 575.98px) {
  .domain-card { padding: 1.8rem 1.2rem 1.5rem; border-radius: 20px; }
  .domain-card h3 { font-size: 1.15rem; }
  .domain-form { flex-wrap: wrap; border-radius: 18px; padding: 0.5rem; }
  .domain-form input { flex-basis: 60%; padding-left: 0.7rem; }
  .df-btn.btn { flex: 1 1 100%; justify-content: center; margin-top: 0.5rem; }
}

/* ---------- Digital Marketing & SEO ---------- */
.marketing {
  position: relative;
  padding: 6.5rem 0;
  background: #fff;
  overflow: hidden;
  overflow: clip;
}
.marketing::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  right: -180px; top: 50%;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 26, 26, 0.07), transparent 65%);
  pointer-events: none;
}
.mk-services { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; }
.mk-service {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 16px;
  box-shadow: var(--ns-shadow-sm);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
}
.mk-service::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--ns-grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mk-service:hover { transform: translateX(6px); box-shadow: var(--ns-shadow); border-color: rgba(31, 111, 181, 0.3); }
.mk-service:hover::before { transform: scaleY(1); }
.mk-service h3 { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.08rem; font-weight: 700; color: var(--ns-ink); margin: 0 0 0.2rem; }
.mk-service p { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.93rem; line-height: 1.6; color: var(--ns-muted); margin: 0; }
.mk-ico {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, #4d9be0, var(--ns-navy));
  box-shadow: 0 10px 20px -10px rgba(1, 44, 86, 0.6);
}
.mk-service:nth-child(2) .mk-ico { background: linear-gradient(135deg, #ff4d4d, var(--ns-red-dark)); box-shadow: 0 10px 20px -10px rgba(176, 0, 0, 0.6); }
.mk-service:nth-child(3) .mk-ico { background: linear-gradient(135deg, #3ccf7c, #12844a); box-shadow: 0 10px 20px -10px rgba(18, 132, 74, 0.6); }

/* Marketing dashboard mockup */
.mk-visual { position: relative; padding: 1.5rem 0 8.5rem 8%; }
.mk-dash {
  position: relative;
  padding: 1.4rem 1.4rem 1.2rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(15, 45, 90, 0.4);
}
.mk-dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.mk-dash-head small { display: block; font-size: 0.75rem; color: var(--ns-muted); }
.mk-dash-head strong { font-size: 1.1rem; font-weight: 800; color: var(--ns-ink); }
.mk-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1aa35a;
  background: #e6f6ed;
  white-space: nowrap;
}
.mk-chart { display: block; width: 100%; height: 150px; overflow: visible; }
.mk-grid line { stroke: var(--ns-border); stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.mk-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mk-area { opacity: 0; }
.mk-dot { fill: #e01a1a; opacity: 0; transform-box: fill-box; transform-origin: center; }
.aos-animate .mk-line { animation: mkDraw 2.2s cubic-bezier(0.45, 0, 0.2, 1) 0.4s forwards; }
.aos-animate .mk-area { animation: mkFade 1s ease 1.6s forwards; }
.aos-animate .mk-dot { animation: mkFade 0.4s ease 2.5s forwards, mkPulse 2s ease-in-out 3s infinite; }
@keyframes mkDraw { to { stroke-dashoffset: 0; } }
@keyframes mkFade { to { opacity: 1; } }
@keyframes mkPulse { 50% { transform: scale(1.5); } }
.mk-months { display: flex; justify-content: space-between; margin: 0.5rem 0 1.1rem; font-size: 0.72rem; font-weight: 600; color: var(--ns-muted); }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.mk-stats > div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem;
  border-radius: 12px;
  background: var(--ns-soft);
}
.mk-stats .bi {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--ns-blue);
  background: #fff;
}
.mk-stats small { display: block; font-size: 0.66rem; color: var(--ns-muted); }
.mk-stats b { font-size: 0.82rem; color: var(--ns-ink); }

.mk-serp {
  position: absolute;
  z-index: 2;
  left: 0; bottom: 0;
  width: 70%;
  padding: 0.9rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 18px;
  box-shadow: var(--ns-shadow);
  animation: floatY 7s ease-in-out -2s infinite;
}
.mk-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--ns-border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--ns-body);
}
.mk-search .bi-google { color: #4285f4; }
.mk-caret { width: 1.5px; height: 1em; background: var(--ns-ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mk-result { display: flex; gap: 0.75rem; align-items: flex-start; }
.mk-result > div { flex: 1 1 auto; min-width: 0; }
.mk-rank {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: var(--ns-grad);
}
.mk-result small { display: block; font-size: 0.7rem; color: #1aa35a; }
.mk-result strong { display: block; font-size: 0.88rem; color: #1a4fb5; margin-bottom: 0.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mk-social {
  position: absolute;
  z-index: 3;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(15, 27, 45, 0.5);
}
.mk-social.fb { background: #1877f2; left: 0; top: 8%; animation: floatY 6s ease-in-out infinite; }
.mk-social.ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); right: -3%; top: 38%; animation: floatY 7s ease-in-out -2.5s infinite; }
.mk-social.yt { background: #ff0000; right: 8%; bottom: 3%; animation: floatY 6.5s ease-in-out -4s infinite; }

@media (max-width: 991.98px) {
  .marketing { padding: 4.5rem 0; }
}
@media (max-width: 575.98px) {
  .mk-visual { padding: 1rem 0 8.5rem 4%; }
  .mk-dash { padding: 1rem; }
  .mk-chart { height: 110px; }
  .mk-stats { grid-template-columns: 1fr 1fr; }
  .mk-stats > div:last-child { display: none; }
  .mk-serp { width: 86%; }
  .mk-social { width: 40px; height: 40px; font-size: 1.1rem; border-radius: 12px; }
  .mk-social.ig { right: 0; }
}

/* ---------- Mobile Apps ---------- */
.apps {
  position: relative;
  padding: 6.5rem 0;
  background: linear-gradient(180deg, var(--ns-soft) 0%, #fff 100%);
  overflow: hidden;
  overflow: clip;
}
.app-features { display: flex; flex-direction: column; gap: 1rem; }
.app-feature {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 16px;
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
}
.app-feature:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow); border-color: rgba(31, 111, 181, 0.3); }
.app-feature h3 { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--ns-ink); margin: 0 0 0.2rem; }
.app-feature p { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.9rem; line-height: 1.55; color: var(--ns-muted); margin: 0; }
.app-ico {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 1.15rem;
  color: var(--ns-blue);
  background: rgba(31, 111, 181, 0.09);
  transition: background 0.3s, color 0.3s;
}
.app-ico.red { color: var(--ns-red); background: rgba(224, 26, 26, 0.08); }
.app-feature:hover .app-ico { color: #fff; background: var(--ns-grad); }
@media (min-width: 992px) {
  .app-features.left .app-feature { flex-direction: row-reverse; text-align: right; }
}

/* Two phones with a sample app */
.app-visual { position: relative; height: 520px; max-width: 380px; margin: 0 auto; }
.app-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 360px; height: 360px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 181, 0.16), rgba(224, 26, 26, 0.06) 55%, transparent 70%);
}
.app-ring::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1.5px dashed rgba(31, 111, 181, 0.25);
  animation: spin 40s linear infinite;
}
.app-phone {
  position: absolute;
  width: 220px;
  padding: 0.55rem;
  border-radius: 34px;
  background: var(--ns-ink);
  box-shadow: 0 40px 70px -25px rgba(15, 27, 45, 0.6);
}
.app-phone.front { left: 50%; top: 20px; margin-left: -80px; z-index: 2; animation: floatY 7s ease-in-out infinite; }
.app-phone.back { left: 50%; top: 70px; margin-left: -150px; rotate: -8deg; opacity: 0.95; animation: floatY 8s ease-in-out -3s infinite; }
.app-notch { display: block; width: 36%; height: 7px; margin: 0.15rem auto 0.5rem; border-radius: 7px; background: #2a3a52; }
.app-screen { min-height: 420px; padding: 0.8rem; border-radius: 26px; background: #fff; font-size: 0.72rem; color: var(--ns-ink); }
.app-phone.back .app-screen { min-height: 360px; background: var(--ns-soft); }
.as-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem; }
.as-top small { display: block; font-size: 0.62rem; color: var(--ns-muted); }
.as-top strong { font-size: 0.95rem; font-weight: 800; }
.as-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ns-grad); }
.as-balance {
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(120deg, var(--ns-navy), var(--ns-blue) 65%, #4d9be0);
}
.as-balance small { display: block; font-size: 0.62rem; opacity: 0.8; }
.as-balance strong { display: block; font-size: 1.25rem; font-weight: 800; margin: 0.1rem 0 0.2rem; }
.as-balance span { font-size: 0.6rem; color: #b8f5d0; }
.as-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.35rem; margin-bottom: 0.8rem; text-align: center; }
.as-actions span { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.56rem; font-weight: 600; color: var(--ns-body); }
.as-actions .bi {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 0.95rem;
  color: var(--ns-blue);
  background: #e8f1fb;
}
.as-actions span:nth-child(even) .bi { color: var(--ns-red); background: #fdeaea; }
.as-list-title { font-size: 0.72rem; font-weight: 800; margin-bottom: 0.4rem; }
.as-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0; border-bottom: 1px solid var(--ns-border); }
.as-row .bi { color: #1aa35a; }
.as-row .wv-line { flex: 1 1 auto; margin: 0; }
.as-row b { font-size: 0.66rem; }
.as-card { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem; margin-bottom: 0.5rem; border-radius: 12px; background: #fff; }
.as-card .wv-thumb { width: 42px; font-size: 1rem; margin: 0; }
.as-card > div { flex: 1 1 auto; }
.as-card b { font-size: 0.66rem; color: var(--ns-red); }

.app-push {
  position: absolute;
  z-index: 3;
  left: 50%; bottom: 10px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 16px;
  box-shadow: var(--ns-shadow);
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  animation: toastLoop 8s cubic-bezier(0.2, 0.7, 0.2, 1) -3s infinite;
}
.app-push small { display: block; font-size: 0.75rem; color: var(--ns-muted); line-height: 1.3; }
.app-push strong { font-size: 0.92rem; color: var(--ns-ink); line-height: 1.3; }

.app-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem 2rem;
  margin-top: 3.5rem;
}
.app-tech { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }
.app-tech span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--ns-border);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ns-ink);
  box-shadow: var(--ns-shadow-sm);
}
.app-tech .bi, .app-tech [class^="devicon"] { font-size: 1.2rem; }

@media (max-width: 991.98px) {
  .apps { padding: 4.5rem 0; }
}
@media (max-width: 575.98px) {
  .app-visual { height: 440px; }
  .app-phone { width: 180px; border-radius: 28px; }
  .app-phone.front { margin-left: -60px; }
  .app-phone.back { margin-left: -125px; }
  .app-screen { min-height: 350px; border-radius: 22px; }
  .app-phone.back .app-screen { min-height: 300px; }
  .app-ring { width: 300px; height: 300px; }
  .app-push { scale: 0.88; }
}

/* ---------- WordPress ---------- */
.wordpress {
  position: relative;
  padding: 6.5rem 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(31, 111, 181, 0.08) 1px, transparent 0) 0 0 / 26px 26px,
    #fff;
  overflow: hidden;
  overflow: clip;
}
.wp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-bottom: 1.3rem; }
.wp-card {
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 18px;
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
}
.wp-card:hover { transform: translateY(-5px); box-shadow: var(--ns-shadow); border-color: rgba(31, 111, 181, 0.3); }
.wp-card h3 { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--ns-ink); margin: 0 0 0.3rem; }
.wp-card p { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.9rem; line-height: 1.55; color: var(--ns-muted); margin: 0; }
.wp-card-ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, #4d9be0, var(--ns-navy));
  box-shadow: 0 10px 20px -10px rgba(1, 44, 86, 0.6);
}
.wp-card-ico.red { background: linear-gradient(135deg, #ff4d4d, var(--ns-red-dark)); box-shadow: 0 10px 20px -10px rgba(176, 0, 0, 0.6); }
.wp-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
}
.wp-checks li { display: flex; align-items: center; gap: 0.55rem; font-family: "Poppins", "Hind Siliguri", sans-serif; font-weight: 600; color: var(--ns-ink); }
.wp-checks .bi { color: var(--ns-blue); }
.wp-checks li:nth-child(even) .bi { color: var(--ns-red); }

/* Plugin screenshot */
.wp-shot { display: block; width: 100%; height: auto; }

@media (max-width: 991.98px) {
  .wordpress { padding: 4.5rem 0; }
}
@media (max-width: 575.98px) {
  .wp-cards, .wp-checks { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.ns-footer {
  position: relative;
  padding-top: 2rem;
  background: linear-gradient(180deg, #fff 0, #fff 120px, var(--ns-soft) 120px);
  font-family: "Poppins", "Hind Siliguri", sans-serif;
}
.ft-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2.4rem 2.8rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(120deg, var(--ns-navy) 0%, var(--ns-blue-dark) 45%, var(--ns-blue) 100%);
  box-shadow: 0 40px 80px -35px rgba(1, 44, 86, 0.7);
}
.ft-cta-text { position: relative; flex: 1 1 380px; }
.ft-cta h2 { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; margin-bottom: 0.3rem; }
.ft-cta p { margin: 0; font-size: 1.02rem; color: rgba(255, 255, 255, 0.82); }
.ft-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.ft-btn-light.btn,
.ft-btn-ghost.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
}
.ft-btn-light.btn { color: var(--ns-navy); background: #fff; border: 0; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.5); }
.ft-btn-light.btn:hover { color: var(--ns-red); background: #fff; transform: translateY(-2px); }
.ft-btn-ghost.btn { color: #fff; background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.45); }
.ft-btn-ghost.btn:hover { color: var(--ns-navy); background: #fff; border-color: #fff; transform: translateY(-2px); }

.ft-main { padding: 4rem 0 3rem; }
.ft-brand img { height: 52px; width: auto; margin-bottom: 1.1rem; }
.ft-about { font-size: 0.98rem; line-height: 1.8; color: var(--ns-body); margin-bottom: 1.3rem; }
.ft-social { display: flex; gap: 0.6rem; }
.ft-social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.05rem;
  color: var(--ns-blue);
  background: #fff;
  border: 1px solid var(--ns-border);
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.25s, color 0.25s, background 0.25s, border-color 0.25s;
}
.ft-social a:hover { color: #fff; background: var(--ns-grad); border-color: transparent; transform: translateY(-3px); }
.ft-title {
  position: relative;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ns-ink);
  padding-bottom: 0.7rem;
  margin-bottom: 1.1rem;
}
.ft-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--ns-grad);
}
.ft-links { list-style: none; padding: 0; margin: 0; }
.ft-links li + li { margin-top: 0.55rem; }
.ft-links a {
  position: relative;
  display: inline-block;
  font-size: 0.98rem;
  color: var(--ns-body);
  transition: color 0.25s, transform 0.25s;
}
.ft-links a::before {
  content: "\F285";
  font-family: "bootstrap-icons";
  font-size: 0.7rem;
  margin-right: 0.4rem;
  color: var(--ns-red);
}
.ft-links a:hover { color: var(--ns-blue); transform: translateX(4px); }
.ft-contact { list-style: none; padding: 0; margin: 0; }
.ft-contact li { display: flex; align-items: center; gap: 0.75rem; color: var(--ns-body); }
.ft-contact li + li { margin-top: 0.9rem; }
.ft-contact a { color: var(--ns-body); font-weight: 600; word-break: break-word; }
.ft-contact a:hover { color: var(--ns-blue); }
.ft-ico {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--ns-red);
  background: rgba(224, 26, 26, 0.08);
}
.ft-contact li:nth-child(2) .ft-ico { color: var(--ns-blue); background: rgba(31, 111, 181, 0.09); }
.ft-contact li:nth-child(3) .ft-ico { color: #1aa35a; background: #e6f6ed; }

.ft-bottom { border-top: 1px solid var(--ns-border); padding: 1.1rem 0; }
.ft-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; }
.ft-bottom p { margin: 0; font-size: 0.92rem; color: var(--ns-muted); }
.ft-bottom p a { font-weight: 700; color: var(--ns-blue); }
.ft-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.ft-bottom nav a { font-size: 0.92rem; color: var(--ns-muted); transition: color 0.25s; }
.ft-bottom nav a:hover { color: var(--ns-red); }

.to-top {
  position: fixed;
  right: 1.3rem; bottom: 1.3rem;
  z-index: 1030;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.15rem;
  color: #fff;
  background: var(--ns-grad);
  box-shadow: 0 14px 28px -12px rgba(1, 44, 86, 0.7);
  opacity: 0;
  visibility: hidden;
  translate: 0 12px;
  transition: opacity 0.3s, visibility 0.3s, translate 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:hover { color: #fff; translate: 0 -3px; }
@media (max-width: 767.98px) {
  .ft-bottom { padding-bottom: 5rem; }
}

@media (max-width: 575.98px) {
  .ft-cta { padding: 1.8rem 1.4rem; border-radius: 20px; }
  .ft-cta-actions, .ft-cta-actions .btn { width: 100%; justify-content: center; }
  .ft-main { padding: 3rem 0 2rem; }
  .ft-bottom .container { justify-content: center; text-align: center; }
}

/* =========================================================
   About page
   ========================================================= */
.page-hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #fff 0%, var(--ns-soft) 100%);
}
.page-hero .hero-grid {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
}
.ph-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--ns-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ns-muted);
  box-shadow: var(--ns-shadow-sm);
}
.ph-crumbs a { color: var(--ns-blue); }
.ph-crumbs li + li::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: 0.7rem; margin-right: 0.5rem; color: var(--ns-red); }
.ph-title {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.2;
  color: var(--ns-ink);
  margin-bottom: 0.9rem;
}
.ph-sub {
  max-width: 680px;
  margin: 0 auto 1.3rem;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ns-body);
}
.ph-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ns-grad);
  box-shadow: 0 12px 26px -12px rgba(10, 76, 140, 0.65);
}

/* Intro */
.ab-intro { padding: 6rem 0 5rem; }
.ab-media { position: relative; padding: 0 0 2.5rem 2.5rem; }
.ab-media::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 62%; height: 70%;
  border-radius: 28px;
  background: var(--ns-grad);
  opacity: 0.12;
}
.ab-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--ns-border);
  box-shadow: 0 40px 80px -30px rgba(15, 45, 90, 0.35);
}
.ab-frame img { display: block; width: 100%; height: auto; transition: transform 0.8s ease; }
.ab-frame:hover img { transform: scale(1.04); }
.ab-exp {
  position: absolute;
  z-index: 2;
  left: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.3rem;
  border-radius: 20px;
  color: #fff;
  background: var(--ns-grad);
  box-shadow: 0 24px 44px -18px rgba(10, 76, 140, 0.75);
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  animation: floatY 6s ease-in-out infinite;
}
.ab-exp strong { font-size: 2.6rem; font-weight: 700; line-height: 1; }
.ab-exp span { font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.ab-since { top: -1rem; right: -1rem; animation: floatY 7s ease-in-out -3s infinite; }
.ab-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.2rem;
}
.ab-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--ns-ink);
}
.ab-list .bi { flex: 0 0 auto; margin-top: 0.15rem; color: var(--ns-blue); }
.ab-list li:nth-child(4n + 2) .bi,
.ab-list li:nth-child(4n + 3) .bi { color: var(--ns-red); }

/* Numbers */
.ab-stats-wrap { padding: 0 0 5rem; }
.ab-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--ns-navy) 0%, var(--ns-blue-dark) 45%, var(--ns-blue) 100%);
  box-shadow: 0 40px 80px -35px rgba(1, 44, 86, 0.7);
}
.ab-stat {
  position: relative;
  padding: 2.2rem 1.2rem;
  text-align: center;
  color: #fff;
}
.ab-stat + .ab-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.ab-stat-ico {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 0.8rem;
  border-radius: 14px;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
}
.ab-stat strong { display: block; font-size: 2.3rem; font-weight: 800; line-height: 1.1; }
.ab-stat small { display: block; margin-top: 0.3rem; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.98rem; color: rgba(255, 255, 255, 0.8); }

/* Mission, vision, values */
.ab-mvv { padding: 5.5rem 0; background: var(--ns-soft); }
.mvv-card {
  position: relative;
  height: 100%;
  padding: 2.2rem 1.8rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 22px;
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
}
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--ns-shadow); border-color: rgba(31, 111, 181, 0.3); }
.mvv-card.is-featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--ns-grad) border-box;
  box-shadow: var(--ns-shadow);
}
.mvv-ico {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  border-radius: 20px;
  font-size: 1.7rem;
  color: #fff;
  background: linear-gradient(135deg, #4d9be0, var(--ns-navy));
  box-shadow: 0 14px 28px -12px rgba(1, 44, 86, 0.6);
  transition: transform 0.35s;
}
.mvv-card.is-featured .mvv-ico { background: var(--ns-grad); }
.col-md-4:last-child .mvv-ico { background: linear-gradient(135deg, #ff4d4d, var(--ns-red-dark)); box-shadow: 0 14px 28px -12px rgba(176, 0, 0, 0.6); }
.mvv-card:hover .mvv-ico { transform: rotate(-8deg) scale(1.06); }
.mvv-card h3 { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--ns-ink); margin-bottom: 0.6rem; }
.mvv-card p { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1rem; line-height: 1.75; color: var(--ns-body); margin: 0; }
.mvv-card p strong { color: var(--ns-blue); }

/* Why choose us */
.ab-why { padding: 6rem 0; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.why-item {
  padding: 1.6rem 1.4rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 20px;
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
}
.why-grid .why-item:nth-child(2),
.why-grid .why-item:nth-child(4) { translate: 0 1.6rem; }
.why-item:hover { transform: translateY(-5px); box-shadow: var(--ns-shadow); border-color: rgba(31, 111, 181, 0.3); }
.why-ico {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 15px;
  font-size: 1.3rem;
  color: var(--ns-blue);
  background: rgba(31, 111, 181, 0.09);
  transition: background 0.3s, color 0.3s;
}
.why-ico.red { color: var(--ns-red); background: rgba(224, 26, 26, 0.08); }
.why-item:hover .why-ico { color: #fff; background: var(--ns-grad); }
.why-item h3 { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.12rem; font-weight: 700; color: var(--ns-ink); margin-bottom: 0.35rem; }
.why-item p { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.95rem; line-height: 1.6; color: var(--ns-muted); margin: 0; }

.work-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ns-blue);
  background: rgba(31, 111, 181, 0.1);
}
.work-tag.red { color: var(--ns-red); background: rgba(224, 26, 26, 0.08); }

/* Testimonials */
.ab-testi { padding: 5.5rem 0 6rem; }
.testi-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem 1.6rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 22px;
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--ns-shadow); }
.testi-card.is-featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--ns-grad) border-box;
}
.testi-q {
  position: absolute;
  top: 1rem; right: 1.4rem;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(31, 111, 181, 0.12);
}
.testi-card p {
  flex: 1 1 auto;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ns-body);
  margin-bottom: 1.4rem;
}
.testi-person { display: flex; align-items: center; gap: 0.8rem; padding-top: 1.2rem; border-top: 1px dashed var(--ns-border); }
.testi-person strong { display: block; color: var(--ns-ink); }
.testi-person small { display: block; color: var(--ns-muted); font-size: 0.85rem; }
.testi-av {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #4d9be0, var(--ns-navy));
}
.testi-av.red { background: linear-gradient(135deg, #ff4d4d, var(--ns-red-dark)); }
.testi-av.dark { background: linear-gradient(135deg, #5a6b82, var(--ns-ink)); }

@media (max-width: 991.98px) {
  .page-hero { padding: 4rem 0 3.5rem; }
  .ab-intro, .ab-why { padding: 4.5rem 0; }
  .ab-mvv, .ab-testi { padding: 4.5rem 0; }
}
@media (max-width: 575.98px) {
  .ab-media { padding: 0 0 2rem 1.2rem; }
  .ab-exp { padding: 0.8rem 1rem; }
  .ab-exp strong { font-size: 2rem; }
  .ab-since { right: 0; transform: scale(0.85); transform-origin: right top; }
  .ab-list { grid-template-columns: 1fr; }
  .ab-stat { padding: 1.4rem 0.4rem; }
  .ab-stat strong { font-size: 1.5rem; }
  .ab-stat small { font-size: 0.8rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid .why-item:nth-child(2),
  .why-grid .why-item:nth-child(4) { translate: none; }
}

/* =========================================================
   Projects page
   ========================================================= */
/* Project gallery */
.pj-work { padding: 5.5rem 0; background: linear-gradient(180deg, var(--ns-soft) 0%, #fff 100%); }
.pj-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: -0.5rem 0 2.5rem;
}
.pj-filter button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--ns-border);
  border-radius: 999px;
  background: #fff;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 600;
  color: var(--ns-body);
  transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.pj-filter button:hover { border-color: var(--ns-blue); color: var(--ns-blue); }
.pj-filter button.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--ns-grad);
  box-shadow: 0 12px 24px -12px rgba(10, 76, 140, 0.7);
}
.pj-item.is-hidden { display: none; }
.pj-item.is-shown { animation: pjIn 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes pjIn { from { opacity: 0; translate: 0 18px; } }
.pj-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 20px;
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
}
.pj-card:hover { transform: translateY(-6px); box-shadow: var(--ns-shadow); border-color: rgba(31, 111, 181, 0.3); }
.pj-shot { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ns-soft); }
.pj-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 0.8s ease; }
.pj-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 44, 86, 0) 40%, rgba(1, 44, 86, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.35s;
}
.pj-card:hover .pj-shot img { transform: scale(1.06); }
/* Covers for projects without a screenshot: a logo or an icon on a tinted panel */
.pj-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background:
    radial-gradient(rgba(31, 111, 181, 0.12) 1.2px, transparent 1.2px) 0 0 / 18px 18px,
    linear-gradient(135deg, #f4f8fd 0%, #fff 55%, #fdf3f3 100%);
}
.pj-shot.pj-cover img { width: 62%; height: auto; object-fit: contain; }
.pj-cover-ol {
  background:
    radial-gradient(rgba(13, 148, 136, 0.14) 1.2px, transparent 1.2px) 0 0 / 18px 18px,
    linear-gradient(135deg, #ecfdf5 0%, #fff 60%, #f0fdfa 100%);
}
.pj-cover-ico {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 22px;
  font-size: 2rem;
  color: #fff;
  background: var(--ns-grad);
  box-shadow: 0 16px 30px -14px rgba(10, 76, 140, 0.75);
  transition: transform 0.6s ease;
}
.pj-cover strong { font-family: "Poppins", sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--ns-ink); }
.pj-card:hover .pj-cover-ico { transform: scale(1.08); }
.pj-empty { padding: 3rem 1rem; text-align: center; font-family: "Poppins", "Hind Siliguri", sans-serif; }
.pj-empty-ico {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 1rem;
  border-radius: 20px;
  font-size: 1.6rem;
  color: var(--ns-blue);
  background: rgba(31, 111, 181, 0.09);
}
.pj-empty h3 { font-size: 1.2rem; font-weight: 700; color: var(--ns-ink); margin-bottom: 0.35rem; }
.pj-empty p { color: var(--ns-muted); margin: 0; }
.pj-card:hover .pj-shot::after { opacity: 1; }
.pj-zoom {
  position: absolute;
  z-index: 2;
  right: 0.9rem; bottom: 0.9rem;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ns-blue);
  background: #fff;
  box-shadow: 0 10px 22px -8px rgba(1, 44, 86, 0.5);
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.35s, translate 0.35s, color 0.3s, background 0.3s;
}
.pj-card:hover .pj-zoom,
.pj-zoom:focus-visible { opacity: 1; translate: 0 0; }
.pj-zoom:hover { color: #fff; background: var(--ns-red); }
.pj-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.3rem 1.4rem 1.4rem; }
.pj-body .work-tag { align-self: flex-start; margin-bottom: 0.7rem; }
.pj-body h3 { font-size: 1.12rem; font-weight: 800; color: var(--ns-ink); margin-bottom: 0.45rem; }
.pj-body p { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.97rem; line-height: 1.65; color: var(--ns-muted); margin-bottom: 1rem; }
.pj-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0 0 1.2rem; }
.pj-chips li {
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--ns-border);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ns-body);
}
.pj-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--ns-border);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ns-blue);
}
.pj-link .bi { transition: translate 0.3s; }
.pj-link:hover { color: var(--ns-red); }
.pj-link:hover .bi { translate: 3px 0; }

/* Technologies */
.pj-tech { padding: 5.5rem 0; }
.pj-tech-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1rem; }
.pj-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.4rem 0.5rem 1.1rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 18px;
  box-shadow: var(--ns-shadow-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ns-ink);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}
.pj-tech-item i { font-size: 2.3rem; transition: transform 0.35s; }
.pj-tech-item:hover { transform: translateY(-6px); box-shadow: var(--ns-shadow); }
.pj-tech-item:hover i { transform: scale(1.12); }

/* Process */
.pj-process { padding: 5.5rem 0 6rem; background: var(--ns-soft); }
.pj-steps {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.pj-steps::before {
  content: "";
  position: absolute;
  top: 32px; left: 12.5%; right: 12.5%;
  border-top: 2px dashed rgba(31, 111, 181, 0.3);
}
.pj-steps li { position: relative; text-align: center; counter-increment: step; }
.pj-step-ico {
  position: relative;
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #4d9be0, var(--ns-navy));
  box-shadow: 0 0 0 8px var(--ns-soft), 0 16px 30px -12px rgba(1, 44, 86, 0.6);
}
.pj-step-ico.red { background: linear-gradient(135deg, #ff4d4d, var(--ns-red-dark)); }
.pj-step-ico::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -6px; right: -10px;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ns-ink);
  background: #fff;
  box-shadow: var(--ns-shadow-sm);
}
.pj-steps h3 { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--ns-ink); margin-bottom: 0.35rem; }
.pj-steps p { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.97rem; line-height: 1.6; color: var(--ns-muted); margin: 0 auto; max-width: 240px; }

/* Screenshot preview */
.pj-modal .modal-content { border: 0; border-radius: 20px; overflow: hidden; }
.pj-modal .modal-header { border-bottom: 1px solid var(--ns-border); }
.pj-modal .modal-title { font-weight: 800; color: var(--ns-ink); }
.pj-modal .modal-body { padding: 0; background: var(--ns-soft); }
.pj-modal .modal-body img { display: block; width: 100%; height: auto; }

@media (max-width: 1199.98px) {
  .pj-tech-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .pj-tech-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .pj-work, .pj-tech, .pj-process { padding: 4.5rem 0; }
  .pj-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .pj-steps::before { display: none; }
  .pj-zoom { opacity: 1; translate: 0 0; }
}
@media (max-width: 575.98px) {
  .pj-tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
  .pj-tech-item { padding: 1.1rem 0.3rem 0.9rem; font-size: 0.8rem; border-radius: 14px; }
  .pj-tech-item i { font-size: 1.9rem; }
  .pj-steps { grid-template-columns: 1fr; }
}

/* =========================================================
   Blog
   ========================================================= */
.blog-wrap { padding: 5rem 0 6rem; }
.blog-item.is-hidden { display: none; }
.blog-item.is-shown { animation: pjIn 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 20px;
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--ns-shadow); border-color: rgba(31, 111, 181, 0.3); }
.blog-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ns-soft);
}
.blog-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-cat {
  position: absolute;
  z-index: 1;
  left: 1rem; top: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--ns-blue);
  box-shadow: 0 8px 18px -8px rgba(1, 44, 86, 0.6);
}
.blog-cat.red { background: var(--ns-red); }
.blog-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.3rem 1.4rem 1.4rem; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-bottom: 0.6rem; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.86rem; color: var(--ns-muted); }
.blog-meta .bi { color: var(--ns-red); margin-right: 0.2rem; }
.blog-body h2, .blog-body h3 { font-family: "Poppins", "Hind Siliguri", sans-serif; font-weight: 700; line-height: 1.4; margin-bottom: 0.5rem; }
.blog-body h3 { font-size: 1.15rem; }
.blog-body h2 { font-size: 1.5rem; }
.blog-body h2 a, .blog-body h3 a { color: var(--ns-ink); background: linear-gradient(var(--ns-blue), var(--ns-blue)) 0 100% / 0 2px no-repeat; transition: background-size 0.4s, color 0.3s; }
.blog-card:hover .blog-body h2 a, .blog-card:hover .blog-body h3 a { color: var(--ns-blue); background-size: 100% 2px; }
.blog-body p { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.97rem; line-height: 1.7; color: var(--ns-muted); margin-bottom: 1rem; }
.blog-flag { align-self: flex-start; margin-bottom: 0.8rem; padding: 0.2rem 0.7rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: #b7791f; background: #fff5dc; }
@media (min-width: 768px) {
  .blog-card.is-featured { flex-direction: row; }
  .blog-card.is-featured .blog-thumb { flex: 0 0 52%; aspect-ratio: auto; min-height: 320px; }
  .blog-card.is-featured .blog-body { justify-content: center; padding: 2rem; }
}
.blog-empty { padding: 3rem 1rem; text-align: center; color: var(--ns-muted); border: 1px dashed var(--ns-border); border-radius: 20px; font-family: "Poppins", "Hind Siliguri", sans-serif; }
.blog-empty .bi { display: block; margin-bottom: 0.6rem; font-size: 2rem; color: var(--ns-blue); }

/* Sidebar */
.blog-side { display: flex; flex-direction: column; gap: 1.5rem; }
.blog-side.is-sticky { position: sticky; top: 92px; }
.side-widget { padding: 1.5rem; background: #fff; border: 1px solid var(--ns-border); border-radius: 20px; box-shadow: var(--ns-shadow-sm); }
.side-title {
  position: relative;
  padding-bottom: 0.7rem;
  margin-bottom: 1.1rem;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ns-ink);
  border-bottom: 1px solid var(--ns-border);
}
.side-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--ns-grad); }
.side-search { position: relative; }
.side-search input {
  width: 100%;
  padding: 0.75rem 3.2rem 0.75rem 1rem;
  border: 1px solid var(--ns-border);
  border-radius: 14px;
  background: var(--ns-soft);
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  color: var(--ns-ink);
  outline: 0;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.side-search input:focus { border-color: var(--ns-blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 111, 181, 0.12); }
.side-search button {
  position: absolute;
  right: 6px; top: 50%;
  translate: 0 -50%;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--ns-grad);
}
.side-cats { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.side-cats button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 600;
  color: var(--ns-body);
  text-align: left;
  transition: background 0.3s, color 0.3s;
}
.side-cats button .bi { margin-right: 0.45rem; color: var(--ns-blue); }
.side-cats em { min-width: 26px; padding: 0 0.45rem; border-radius: 999px; font-style: normal; font-size: 0.78rem; line-height: 22px; text-align: center; background: var(--ns-soft); color: var(--ns-muted); }
.side-cats button:hover { background: var(--ns-soft); color: var(--ns-blue); }
.side-cats button.is-active { color: #fff; background: var(--ns-grad); }
.side-cats button.is-active .bi { color: #fff; }
.side-cats button.is-active em { background: rgba(255, 255, 255, 0.2); color: #fff; }
.side-recent { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.side-recent a { display: flex; gap: 0.8rem; align-items: center; }
.side-recent img { flex: 0 0 76px; width: 76px; height: 58px; object-fit: cover; border-radius: 12px; border: 1px solid var(--ns-border); transition: transform 0.35s; }
.side-recent strong { display: block; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.95rem; line-height: 1.4; font-weight: 600; color: var(--ns-ink); transition: color 0.3s; }
.side-recent small { display: block; margin-top: 0.2rem; font-size: 0.8rem; color: var(--ns-muted); }
.side-recent a:hover strong { color: var(--ns-blue); }
.side-recent a:hover img { transform: scale(1.05); }
.side-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.side-tags a, .post-tags a {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--ns-border);
  border-radius: 999px;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ns-body);
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.side-tags a:hover, .side-tags a.is-active, .post-tags a:hover { color: #fff; background: var(--ns-blue); border-color: var(--ns-blue); }
.side-cta {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.6rem;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ns-navy) 0%, var(--ns-blue-dark) 55%, var(--ns-blue) 100%);
  box-shadow: 0 30px 60px -30px rgba(1, 44, 86, 0.8);
}
.side-cta > .bi { position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 0.9rem; border-radius: 18px; font-size: 1.6rem; background: rgba(255, 255, 255, 0.14); }
.side-cta h3 { position: relative; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem; }
.side-cta p { position: relative; font-family: "Poppins", "Hind Siliguri", sans-serif; color: rgba(255, 255, 255, 0.8); margin-bottom: 1.2rem; }
.side-cta .btn { position: relative; }

/* Post */
.read-progress { position: fixed; z-index: 1100; left: 0; top: 0; width: 100%; height: 3px; pointer-events: none; }
.read-progress span { display: block; width: 100%; height: 100%; background: var(--ns-grad); transform-origin: left; transform: scaleX(0); }
.post-hero { padding-bottom: 4rem; }
.post-title {
  max-width: 900px;
  margin: 0 auto 1.4rem;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.3;
  color: var(--ns-ink);
}
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.8rem 1.6rem; font-family: "Poppins", "Hind Siliguri", sans-serif; color: var(--ns-muted); }
.post-meta > span > .bi { color: var(--ns-red); margin-right: 0.3rem; }
.post-author { display: flex; align-items: center; gap: 0.6rem; text-align: left; }
.post-author .testi-av { flex-basis: 42px; width: 42px; height: 42px; font-size: 0.85rem; }
.post-author strong { display: block; color: var(--ns-ink); font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.95rem; }
.post-author small { display: block; font-size: 0.82rem; }
.post-wrap { padding: 4rem 0 5rem; }
.post-cover { margin: 0 0 2.2rem; }
.post-cover img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--ns-border); box-shadow: 0 30px 60px -30px rgba(15, 45, 90, 0.4); }
.post-cover figcaption { margin-top: 0.7rem; text-align: center; font-size: 0.85rem; color: var(--ns-muted); }
.post-content { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.08rem; line-height: 1.9; color: var(--ns-body); }
.post-content p { margin-bottom: 1.3rem; }
.post-lead { font-size: 1.2rem; color: var(--ns-ink); padding-left: 1.2rem; border-left: 4px solid var(--ns-red); }
.post-content h2 {
  scroll-margin-top: 100px;
  margin: 2.4rem 0 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ns-ink);
}
.post-content a:not(.btn) { color: var(--ns-blue); font-weight: 600; }
.post-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.post-list li { position: relative; padding-left: 1.8rem; }
.post-list li::before { content: ""; position: absolute; left: 0.3rem; top: 0.75em; width: 8px; height: 8px; border-radius: 50%; background: var(--ns-red); box-shadow: 0 0 0 4px rgba(224, 26, 26, 0.12); }
.post-list.is-check li::before {
  content: "\F26A";
  left: 0; top: 0;
  width: auto; height: auto;
  font-family: "bootstrap-icons";
  font-size: 1.2rem;
  color: var(--ns-blue);
  background: none;
  box-shadow: none;
}
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.post-grid > div { padding: 1.2rem; border: 1px solid var(--ns-border); border-radius: 16px; background: #fff; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.post-grid > div:hover { transform: translateY(-4px); border-color: rgba(31, 111, 181, 0.3); box-shadow: var(--ns-shadow-sm); }
.post-grid .bi { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 0.7rem; border-radius: 12px; font-size: 1.2rem; color: var(--ns-blue); background: rgba(31, 111, 181, 0.09); }
.post-grid > div:nth-child(4n + 2) .bi, .post-grid > div:nth-child(4n + 3) .bi { color: var(--ns-red); background: rgba(224, 26, 26, 0.08); }
.post-grid strong { display: block; color: var(--ns-ink); font-size: 1.08rem; margin-bottom: 0.2rem; }
.post-grid span { display: block; font-size: 0.95rem; line-height: 1.6; color: var(--ns-muted); }
.post-quote {
  position: relative;
  margin: 2rem 0;
  padding: 1.8rem 1.8rem 1.6rem 4.2rem;
  border-radius: 20px;
  background: var(--ns-soft);
}
.post-quote::before { content: "\F6B0"; position: absolute; left: 1.3rem; top: 1.2rem; font-family: "bootstrap-icons"; font-size: 2.2rem; line-height: 1; background: var(--ns-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.post-quote p { font-size: 1.15rem; color: var(--ns-ink); margin-bottom: 0.6rem; }
.post-quote footer { font-size: 0.92rem; color: var(--ns-muted); }
.post-quote footer strong { color: var(--ns-blue); }
.post-steps { list-style: none; counter-reset: pstep; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.9rem; }
.post-steps li { position: relative; counter-increment: pstep; padding: 0.9rem 1rem 0.9rem 3.8rem; border: 1px solid var(--ns-border); border-radius: 14px; }
.post-steps li::before {
  content: counter(pstep);
  position: absolute;
  left: 0.9rem; top: 50%;
  translate: 0 -50%;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 800;
  color: #fff;
  background: var(--ns-grad);
}
.post-steps strong { color: var(--ns-ink); }
.post-callout {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 20px;
  background: linear-gradient(#fff, #fff) padding-box, var(--ns-grad) border-box;
}
.post-callout-ico { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; font-size: 1.5rem; color: #fff; background: var(--ns-grad); }
.post-callout > div { flex: 1 1 auto; }
.post-callout strong { display: block; color: var(--ns-ink); line-height: 1.4; }
.post-callout p { margin: 0.2rem 0 0; font-size: 0.95rem; color: var(--ns-muted); }
.post-callout .btn { flex: 0 0 auto; }
.post-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--ns-border);
  border-bottom: 1px solid var(--ns-border);
}
.post-tags, .post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.post-tags > span, .post-share > span { font-family: "Poppins", "Hind Siliguri", sans-serif; font-weight: 700; color: var(--ns-ink); margin-right: 0.2rem; }
.post-share a, .post-share button {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ns-border);
  border-radius: 50%;
  background: #fff;
  color: var(--ns-body);
  transition: color 0.3s, background 0.3s, border-color 0.3s, transform 0.3s;
}
.post-share a:hover, .post-share button:hover { color: #fff; background: var(--ns-blue); border-color: var(--ns-blue); transform: translateY(-3px); }
.post-share [data-share="whatsapp"]:hover { background: #25d366; border-color: #25d366; }
.post-share button.is-copied { color: #fff; background: #12844a; border-color: #12844a; }
.post-authorbox { display: flex; gap: 1.2rem; align-items: center; margin-top: 2rem; padding: 1.5rem; border-radius: 20px; background: var(--ns-soft); }
.post-authorbox-logo { flex: 0 0 auto; display: grid; place-items: center; width: 96px; height: 96px; padding: 0.6rem; border-radius: 50%; background: #fff; box-shadow: var(--ns-shadow-sm); }
.post-authorbox-logo img { width: 100%; height: auto; }
.post-authorbox strong { display: block; font-size: 1.1rem; color: var(--ns-ink); margin-bottom: 0.2rem; }
.post-authorbox p { margin: 0; font-family: "Poppins", "Hind Siliguri", sans-serif; line-height: 1.7; color: var(--ns-muted); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.post-nav a { padding: 1.1rem 1.3rem; border: 1px solid var(--ns-border); border-radius: 16px; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.post-nav a:hover { transform: translateY(-3px); border-color: rgba(31, 111, 181, 0.35); box-shadow: var(--ns-shadow-sm); }
.post-nav .is-next { text-align: right; }
.post-nav small { display: block; margin-bottom: 0.3rem; font-family: "Poppins", "Hind Siliguri", sans-serif; font-weight: 600; color: var(--ns-red); }
.post-nav strong { display: block; font-family: "Poppins", "Hind Siliguri", sans-serif; font-weight: 700; line-height: 1.4; color: var(--ns-ink); }
.toc { list-style: none; counter-reset: toc; padding: 0; margin: 0; display: grid; gap: 0.2rem; }
.toc li { counter-increment: toc; }
.toc a {
  position: relative;
  display: block;
  padding: 0.5rem 0.7rem 0.5rem 2.4rem;
  border-radius: 10px;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ns-body);
  transition: background 0.3s, color 0.3s;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0.7rem; top: 0.55rem;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ns-muted);
}
.toc a:hover { background: var(--ns-soft); color: var(--ns-blue); }
.toc a.is-active { background: rgba(31, 111, 181, 0.09); color: var(--ns-blue); }
.toc a.is-active::before { color: var(--ns-red); }
.post-related { padding: 5rem 0 6rem; background: var(--ns-soft); }

@media (max-width: 991.98px) {
  .blog-wrap, .post-wrap { padding: 4rem 0; }
  .blog-side.is-sticky { position: static; }
  .post-related { padding: 4.5rem 0; }
}
@media (max-width: 575.98px) {
  .blog-body h2 { font-size: 1.3rem; }
  .post-content { font-size: 1.02rem; }
  .post-content h2 { font-size: 1.35rem; }
  .post-grid { grid-template-columns: 1fr; }
  .post-quote { padding: 1.4rem 1.2rem 1.2rem 3.4rem; }
  .post-quote::before { left: 1rem; font-size: 1.8rem; }
  .post-callout { flex-direction: column; text-align: center; }
  .post-foot { flex-direction: column; align-items: flex-start; }
  .post-authorbox { flex-direction: column; text-align: center; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .is-next { text-align: left; }
}

/* ---------- About hero scene ---------- */
.ab-hero { padding-bottom: 8rem; }
.ab-scene { position: absolute; inset: 0; overflow: hidden; }
.ab-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-links path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.ab-track path { stroke: rgba(31, 111, 181, 0.16); stroke-width: 1.5; }
.ab-flow path { stroke: var(--ns-blue); stroke-width: 2; stroke-dasharray: 5 15; opacity: 0.55; animation: abFlow 1.6s linear infinite; }
.ab-flow path.red { stroke: var(--ns-red); animation-direction: reverse; }
.ab-beam { stroke-width: 1.5; stroke-dasharray: 2 8; opacity: 0.45; animation: abFlow 2.4s linear infinite; }
@keyframes abFlow { to { stroke-dashoffset: -40; } }

.ab-ico {
  --size: 58px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 111, 181, 0.14);
  border-radius: 18px;
  font-size: 1.45rem;
  color: var(--ns-blue);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px -18px rgba(15, 45, 90, 0.45);
  animation: abFloat 6s ease-in-out var(--d) infinite;
}
.ab-ico.lg { --size: 70px; font-size: 1.8rem; border-radius: 22px; }
.ab-ico.sm { --size: 44px; font-size: 1.1rem; border-radius: 14px; }
.ab-ico.red { color: var(--ns-red); border-color: rgba(224, 26, 26, 0.14); }
.ab-ico.lg::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1.5px solid currentColor;
  border-radius: inherit;
  opacity: 0;
  animation: ring 2.8s ease-out var(--d) infinite;
}
.ab-ico.spin i { display: inline-block; animation: spin 9s linear infinite; }
@keyframes abFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}

@media (max-width: 1199.98px) {
  .ab-ico.lg { --size: 60px; font-size: 1.5rem; }
  .ab-ico { --size: 50px; font-size: 1.25rem; }
  .ab-ico.sm { --size: 40px; font-size: 1rem; }
}
@media (max-width: 991.98px) {
  .ab-links, .ab-ico.sm { display: none; }
  .ab-ico { opacity: 0.45; }
}
@media (max-width: 575.98px) {
  .ab-hero { padding-bottom: 6rem; }
  .ab-ico { opacity: 0.3; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-scene *, .ab-scene *::after { animation: none !important; }
}

/* ---------- Projects hero scene ---------- */
.pjh-hero { padding-bottom: 7.5rem; }
.pjh-scene { position: absolute; inset: 0; overflow: hidden; }
.pjh-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.pjh-route { fill: none; stroke: rgba(31, 111, 181, 0.28); stroke-width: 1.5; stroke-dasharray: 3 9; stroke-linecap: round; }
.pjh-plane path { fill: var(--ns-blue); }
.pjh-plane .fold { fill: #0f4d85; }

.pjh-float {
  position: absolute;
  animation: pjhFloat 7s ease-in-out var(--d) infinite;
  transform: rotate(var(--r));
}
@keyframes pjhFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-14px) rotate(var(--r)); }
}

.pjh-web, .pjh-phone, .pjh-card {
  border: 1px solid rgba(31, 111, 181, 0.14);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 44px -22px rgba(15, 45, 90, 0.45);
}
.pjh-line {
  display: block;
  width: var(--w, 100%);
  height: 7px;
  margin-top: 8px;
  border-radius: 4px;
  background: #e2eaf4;
  transform-origin: left center;
  animation: pjhType 6s ease-in-out calc(var(--i, 0) * 0.35s) infinite;
}
@keyframes pjhType {
  0%, 8% { transform: scaleX(0); }
  30%, 85% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

/* browser window */
.pjh-web { left: 3%; top: 17%; width: 230px; border-radius: 14px; overflow: hidden; }
.pjh-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--ns-border); background: #f7f9fc; }
.pjh-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.pjh-bar i:nth-child(2) { background: #febc2e; }
.pjh-bar i:nth-child(3) { background: #28c840; }
.pjh-bar span { flex: 1; height: 10px; margin-left: 8px; border-radius: 5px; background: #e6edf6; }
.pjh-web-body { padding: 12px 14px 14px; }
.pjh-img {
  height: 62px;
  border-radius: 8px;
  background: linear-gradient(110deg, #e3eefa 30%, #f6f9fd 50%, #e3eefa 70%) 0 0 / 250% 100%;
  animation: pjhShimmer 2.4s linear infinite;
}
@keyframes pjhShimmer { to { background-position: -250% 0; } }
.pjh-btns { display: flex; gap: 8px; margin-top: 12px; }
.pjh-btn { width: 64px; height: 18px; border-radius: 9px; background: var(--ns-grad); animation: pjhClick 6s ease-out infinite; }
.pjh-btn.ghost { width: 48px; background: none; border: 1.5px solid #d3e0ee; animation: none; }
@keyframes pjhClick {
  0%, 44% { box-shadow: 0 0 0 0 rgba(31, 111, 181, 0.45); transform: scale(1); }
  47% { transform: scale(0.94); }
  52% { transform: scale(1); }
  66%, 100% { box-shadow: 0 0 0 10px rgba(31, 111, 181, 0); }
}
.pjh-cursor { position: absolute; left: 0; top: 0; width: 20px; height: 20px; animation: pjhCursor 6s ease-in-out infinite; }
.pjh-cursor svg { width: 100%; height: 100%; fill: var(--ns-ink); stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }
@keyframes pjhCursor {
  0%, 10% { transform: translate(180px, 60px); }
  40% { transform: translate(44px, 150px); }
  47% { transform: translate(44px, 150px) scale(0.8); }
  52%, 62% { transform: translate(44px, 150px) scale(1); }
  100% { transform: translate(180px, 60px); }
}

/* deploy toast */
.pjh-toast { left: 11%; top: 66%; display: flex; align-items: center; gap: 10px; width: 170px; padding: 10px 12px; border-radius: 14px; }
.pjh-check { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #e3f6ec; }
.pjh-check svg { width: 20px; height: 20px; fill: none; stroke: #17a34a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: pjhCheck 5s ease-in-out infinite; }
@keyframes pjhCheck {
  0%, 55% { stroke-dashoffset: 1; }
  68%, 92% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1; }
}
.pjh-toast-txt { flex: 1; }
.pjh-toast-txt .pjh-line { margin-top: 0; }
.pjh-progress { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: #edf2f8; overflow: hidden; }
.pjh-progress i { display: block; height: 100%; border-radius: inherit; background: var(--ns-grad); transform-origin: left; animation: pjhProgress 5s ease-in-out infinite; }
@keyframes pjhProgress {
  0% { transform: scaleX(0); }
  55%, 92% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

/* phone */
.pjh-phone { right: 5%; top: 13%; width: 122px; height: 226px; padding: 22px 12px 12px; border-radius: 24px; border-width: 3px; border-color: #dbe5f1; }
.pjh-notch { position: absolute; top: 7px; left: 50%; width: 36px; height: 6px; margin-left: -18px; border-radius: 3px; background: #dbe5f1; }
.pjh-phone .pjh-line { height: 6px; }
.pjh-chart { display: flex; align-items: flex-end; gap: 6px; height: 78px; margin-top: 12px; padding: 8px; border-radius: 10px; background: #f3f7fc; }
.pjh-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: var(--ns-blue); transform-origin: bottom; animation: pjhBar 4s ease-in-out calc(var(--i) * 0.15s) infinite; }
.pjh-chart i:nth-child(4) { background: var(--ns-red); }
@keyframes pjhBar {
  0%, 100% { transform: scaleY(0.25); }
  40%, 70% { transform: scaleY(1); }
}
.pjh-pill { display: block; width: 100%; height: 20px; margin-top: 14px; border-radius: 10px; background: var(--ns-grad); opacity: 0.9; }

/* donut */
.pjh-donut { right: 15%; top: 60%; display: flex; align-items: center; gap: 10px; width: 150px; padding: 10px 12px; border-radius: 14px; }
.pjh-donut svg { flex: 0 0 40px; width: 40px; height: 40px; transform: rotate(-90deg); }
.pjh-donut circle { fill: none; stroke-width: 4.5; }
.pjh-donut .bg { stroke: #e8eef6; }
.pjh-donut .val { stroke: var(--ns-red); stroke-linecap: round; stroke-dasharray: 100; animation: pjhDonut 5s ease-in-out infinite; }
@keyframes pjhDonut {
  0% { stroke-dashoffset: 100; }
  45%, 85% { stroke-dashoffset: 28; }
  100% { stroke-dashoffset: 100; }
}
.pjh-donut-txt { flex: 1; }
.pjh-donut-txt .pjh-line:first-child { margin-top: 0; }

/* shapes */
.pjh-shape { position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px; color: var(--ns-blue); opacity: 0.55; animation: pjhSpin 10s linear var(--d) infinite; }
.pjh-shape.red { color: var(--ns-red); }
.pjh-shape.ring { border: 2px solid currentColor; border-radius: 50%; animation-name: pjhBob; animation-duration: 5s; }
.pjh-shape.sq { width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 3px; }
.pjh-shape.plus::before, .pjh-shape.plus::after { content: ""; position: absolute; left: 50%; top: 0; width: 2.5px; height: 100%; margin-left: -1.25px; border-radius: 2px; background: currentColor; }
.pjh-shape.plus::after { transform: rotate(90deg); }
@keyframes pjhSpin { to { transform: rotate(360deg); } }
@keyframes pjhBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.25); }
}

/* ribbons */
.pjh-ribbons {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 120px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.pjh-ribbons { overflow: hidden; }
.pjh-ribbons svg { position: absolute; left: 0; top: 0; width: 200%; height: 100%; will-change: transform; animation: pjhRibbon 16s linear infinite; }
.pjh-ribbons path { fill: none; stroke: url(#pjhRib); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pjh-ribbons .rb-1 path { stroke-width: 2.5; opacity: 0.55; }
.pjh-ribbons .rb-2 { animation-duration: 22s; }
.pjh-ribbons .rb-2 path { stroke-width: 1.5; opacity: 0.3; }
.pjh-ribbons .rb-3 { animation-duration: 12s; animation-direction: reverse; }
.pjh-ribbons .rb-3 path { stroke-width: 1.5; opacity: 0.3; }
.pjh-ribbons .rb-4 { animation-duration: 9s; }
.pjh-ribbons .rb-4 path { stroke-width: 2; stroke-dasharray: 2 10; opacity: 0.5; }
@keyframes pjhRibbon { to { transform: translateX(-50%); } }

/* Offscreen sections stop their decorative loops (toggled from main.js) */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
.pjh-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }

@media (max-width: 1199.98px) {
  .pjh-web { width: 200px; left: 1.5%; }
  .pjh-toast { left: 5%; }
  .pjh-phone { right: 3%; }
  .pjh-donut { right: 11%; }
}
@media (max-width: 991.98px) {
  .pjh-toast, .pjh-donut, .pjh-sky { display: none; }
  .pjh-web { left: -70px; opacity: 0.45; }
  .pjh-phone { right: -30px; opacity: 0.45; }
}
@media (max-width: 575.98px) {
  .pjh-hero { padding-bottom: 6.5rem; }
  .pjh-web { left: -130px; top: 8%; opacity: 0.3; }
  .pjh-phone { right: -70px; top: 52%; opacity: 0.3; }
  .pjh-ribbons { height: 90px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pjh-scene *, .pjh-scene *::before, .pjh-scene *::after { animation: none !important; }
  .pjh-plane { display: none; }
}

/* ---------- Blog hero scene ---------- */
.blh-hero { padding-bottom: 8rem; }
.blh-scene { position: absolute; inset: 0; overflow: hidden; }

.blh-editor { left: 3.5%; top: 18%; width: 225px; padding: 12px 16px 18px; border-radius: 14px; }
.blh-tools { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--ns-border); }
.blh-tools i { width: 14px; height: 14px; border-radius: 4px; background: #e6edf6; }
.blh-tools i:first-child { background: var(--ns-blue); opacity: 0.8; }
.blh-tools span { flex: 1; height: 8px; margin-left: 14px; border-radius: 4px; background: #eef3f9; }
.blh-h { display: block; width: 70%; height: 12px; margin-bottom: 12px; border-radius: 6px; background: var(--ns-grad); opacity: 0.85; }
.blh-type {
  position: relative;
  display: block;
  width: var(--w);
  height: 7px;
  margin-top: 9px;
  border-radius: 4px;
  background: #dfe8f3;
  clip-path: inset(0 100% 0 0);
  animation: blhType 8s steps(12) calc(var(--i) * 1.1s) infinite;
}
@keyframes blhType {
  0%, 4% { clip-path: inset(0 100% 0 0); }
  16%, 84% { clip-path: inset(0 0 0 0); }
  96%, 100% { clip-path: inset(0 100% 0 0); }
}
.blh-editor::after {
  content: "";
  position: absolute;
  left: calc(16px + 52% * 0.86);
  bottom: 16px;
  width: 2px;
  height: 14px;
  border-radius: 1px;
  background: var(--ns-red);
  animation: blhCaret 1s steps(1) infinite;
}
@keyframes blhCaret { 50% { opacity: 0; } }

.blh-quote { left: 13%; top: 68%; font-size: 4.5rem; line-height: 1; color: var(--ns-blue); opacity: 0.12; }

.blh-deck { position: absolute; right: 6%; top: 20%; width: 190px; height: 190px; }
.blh-post {
  position: absolute;
  inset: 0 auto auto 0;
  width: 170px;
  padding: 10px 10px 14px;
  border-radius: 14px;
  animation: blhDeck 9s ease-in-out calc(var(--n) * -3s) infinite;
}
.blh-thumb { display: block; height: 70px; border-radius: 9px; background: linear-gradient(135deg, #cfe4f7, #1f6fb5 140%); }
.blh-thumb.t2 { background: linear-gradient(135deg, #fde2e2, #e01a1a 150%); }
.blh-thumb.t3 { background: linear-gradient(135deg, #e3eefa, #0f2d5a 160%); }
.blh-tag { display: block; width: 46px; height: 12px; margin-top: 10px; border-radius: 6px; background: rgba(31, 111, 181, 0.18); }
.blh-tag.red { background: rgba(224, 26, 26, 0.16); }
.blh-post .pjh-line { animation: none; }
@keyframes blhDeck {
  0%, 25% { transform: translate(0, 0) rotate(0deg); opacity: 1; z-index: 3; }
  33% { transform: translate(-70px, 16px) rotate(-12deg); opacity: 0; z-index: 3; }
  34% { transform: translate(28px, -26px) rotate(8deg) scale(0.9); opacity: 0; z-index: 1; }
  42%, 58% { transform: translate(28px, -26px) rotate(8deg) scale(0.9); opacity: 1; z-index: 1; }
  66%, 91% { transform: translate(14px, -13px) rotate(4deg) scale(0.95); opacity: 1; z-index: 2; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; z-index: 3; }
}

.blh-react {
  position: absolute;
  left: var(--x);
  bottom: 110px;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.95rem;
  color: #fff;
  background: var(--ns-blue);
  box-shadow: 0 10px 20px -8px rgba(31, 111, 181, 0.6);
  opacity: 0;
  animation: blhReact 4.8s ease-out var(--d) infinite;
}
.blh-react.red { background: var(--ns-red); box-shadow: 0 10px 20px -8px rgba(224, 26, 26, 0.6); }
@keyframes blhReact {
  0% { transform: translate(0, 0) scale(0.4); opacity: 0; }
  12% { transform: translate(0, -20px) scale(1.05); opacity: 1; }
  45% { transform: translate(-12px, -80px) scale(1); opacity: 0.9; }
  100% { transform: translate(8px, -170px) scale(0.8); opacity: 0; }
}

/* ---------- Contact hero scene ---------- */
.page-hero.cth-hero { padding-bottom: 10rem; }
.cth-scene { position: absolute; inset: 0; overflow: hidden; }
.cth-hero .pjh-ribbons { bottom: 62px; height: 100px; }
.cth-sys { position: absolute; width: 0; height: 0; }
.cth-sys.left { left: 70px; top: 54%; }
.cth-sys.right { right: 70px; top: 42%; }
.cth-sys > * { position: absolute; left: 0; top: 0; }

.cth-hub {
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.9rem;
  color: #fff;
  background: linear-gradient(135deg, #3a8ad6, var(--ns-blue));
  box-shadow: 0 0 0 10px rgba(31, 111, 181, 0.08), 0 20px 40px -16px rgba(31, 111, 181, 0.7);
  animation: cthHub 3s ease-in-out infinite;
}
.cth-hub.red { background: linear-gradient(135deg, #f04a4a, var(--ns-red)); box-shadow: 0 0 0 10px rgba(224, 26, 26, 0.07), 0 20px 40px -16px rgba(224, 26, 26, 0.6); }
@keyframes cthHub { 50% { transform: scale(1.06); } }

.cth-ripple {
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border: 1.5px solid rgba(31, 111, 181, 0.35);
  border-radius: 50%;
  opacity: 0;
  animation: cthRipple 4.2s ease-out var(--d, 0s) infinite;
}
.cth-ripple.red { border-color: rgba(224, 26, 26, 0.3); }
@keyframes cthRipple {
  0% { transform: scale(0.18); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0; }
}
.cth-sweep {
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(224, 26, 26, 0.14), rgba(224, 26, 26, 0) 70deg, transparent 360deg);
  animation: spin 7s linear infinite;
}

.cth-orbit {
  --r: 125px;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1);
  border: 1.5px dashed rgba(31, 111, 181, 0.4);
  border-radius: 50%;
  animation: spin 34s linear infinite;
}
.cth-orbit.o2 { --r: 195px; border-style: dotted; border-width: 2.5px; animation-duration: 52s; animation-direction: reverse; }
.cth-sys.right .cth-orbit { border-color: rgba(224, 26, 26, 0.35); }
.cth-sat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1));
}
.cth-sat i {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 111, 181, 0.14);
  border-radius: 50%;
  font-size: 1.15rem;
  color: var(--ns-blue);
  background: #fff;
  box-shadow: 0 12px 24px -12px rgba(15, 45, 90, 0.5);
  animation: spin 34s linear infinite reverse;
}
.cth-orbit.o2 .cth-sat i { animation-duration: 52s; animation-direction: normal; }
.cth-sat.red i { color: var(--ns-red); border-color: rgba(224, 26, 26, 0.16); }
.cth-sat.green i { color: #16a34a; border-color: rgba(22, 163, 74, 0.18); }

.cth-spark { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; color: var(--ns-blue); animation: cthTwinkle 3s ease-in-out var(--d) infinite; }
.cth-spark.red { color: var(--ns-red); }
.cth-spark::before, .cth-spark::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 100%; margin-left: -1px; border-radius: 2px; background: currentColor; }
.cth-spark::after { transform: rotate(90deg); }
@keyframes cthTwinkle {
  0%, 100% { transform: scale(0.4) rotate(0deg); opacity: 0.2; }
  50% { transform: scale(1) rotate(45deg); opacity: 0.8; }
}

@media (max-width: 1199.98px) {
  .blh-editor { width: 200px; left: 1.5%; }
  .blh-deck { right: 3%; }
  .cth-sys.left { left: 30px; }
  .cth-sys.right { right: 30px; }
  .cth-orbit.o2 { --r: 175px; }
}
@media (max-width: 991.98px) {
  .blh-quote, .blh-react, .cth-spark { display: none; }
  .blh-editor { left: -80px; opacity: 0.45; }
  .blh-deck { right: -60px; opacity: 0.45; }
  .cth-sys { opacity: 0.5; }
  .cth-sys.left { left: -40px; }
  .cth-sys.right { right: -40px; }
}
@media (max-width: 575.98px) {
  .blh-hero { padding-bottom: 6.5rem; }
  .page-hero.cth-hero { padding-bottom: 8.5rem; }
  .cth-hero .pjh-ribbons { bottom: 50px; height: 80px; }
  .blh-editor { left: -140px; top: 8%; opacity: 0.3; }
  .blh-deck { right: -120px; top: 52%; opacity: 0.3; }
  .cth-sys { opacity: 0.3; }
  .cth-sys.left { left: -70px; top: 30%; }
  .cth-sys.right { right: -70px; top: 62%; }
  .cth-orbit { --r: 100px; }
  .cth-orbit.o2 { --r: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .blh-scene *, .blh-scene *::before, .blh-scene *::after,
  .cth-scene *, .cth-scene *::before, .cth-scene *::after, .blh-editor::after { animation: none !important; }
  .blh-type { clip-path: none; }
  .blh-react { display: none; }
}

/* ---------- Privacy / Terms / Career hero scenes ---------- */
.page-hero.pvh-hero, .page-hero.tmh-hero { padding-bottom: 7.5rem; }
.page-hero.crh-hero { padding-bottom: 8rem; }
.pvh-scene, .tmh-scene, .crh-scene { position: absolute; inset: 0; overflow: hidden; }

/* privacy */
.pvh-rain {
  position: absolute;
  left: var(--x);
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(31, 111, 181, 0.4) 0 12px, transparent 12px 22px, rgba(31, 111, 181, 0.2) 22px 26px, transparent 26px 48px) 0 0 / 2px 48px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent 90%);
          mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent 90%);
  animation: pvhRain var(--t) linear var(--d) infinite;
}
.pvh-rain.red { background-image: repeating-linear-gradient(180deg, rgba(224, 26, 26, 0.35) 0 12px, transparent 12px 22px, rgba(224, 26, 26, 0.18) 22px 26px, transparent 26px 48px); }
@keyframes pvhRain { to { background-position: 0 480px; } }

.pvh-shield { --r: -4deg; position: absolute; left: 6%; top: 17%; width: 170px; height: 198px; animation: pjhFloat 7s ease-in-out infinite; }
.pvh-shield svg { width: 100%; height: 100%; overflow: visible; }
.pvh-shield-bg { fill: url(#pvhFill); }
.pvh-shield-line { fill: none; stroke: var(--ns-blue); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1; animation: pvhDraw 6s ease-in-out infinite; }
.pvh-shield-in { fill: none; stroke: rgba(31, 111, 181, 0.3); stroke-width: 1.5; stroke-dasharray: 4 5; }
.pvh-shackle { fill: none; stroke: #0f4d85; stroke-width: 6; stroke-linecap: round; animation: pvhShackle 6s ease-in-out infinite; }
.pvh-lock { fill: var(--ns-red); }
.pvh-hole { fill: #fff; }
@keyframes pvhDraw {
  0% { stroke-dashoffset: 1; }
  30%, 86% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1; }
}
@keyframes pvhShackle {
  0%, 30% { transform: translateY(-9px); }
  36% { transform: translateY(1.5px); }
  40%, 86% { transform: translateY(0); }
  96%, 100% { transform: translateY(-9px); }
}
.pvh-beam {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 8%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(31, 111, 181, 0.9), transparent);
  box-shadow: 0 0 14px 3px rgba(31, 111, 181, 0.35);
  animation: pvhBeam 2.6s ease-in-out infinite alternate;
}
@keyframes pvhBeam { to { transform: translateY(150px); } }

.pvh-finger { --r: 4deg; position: absolute; right: 7%; top: 14%; width: 150px; height: 150px; padding: 18px; animation: pjhFloat 7s ease-in-out -2s infinite; }
.pvh-corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--ns-red); }
.pvh-corner.tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.pvh-corner.tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 12px; }
.pvh-corner.bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 12px; }
.pvh-corner.br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }
.pvh-finger svg { width: 100%; height: 100%; }
.pvh-finger path { fill: none; stroke: var(--ns-blue); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; animation: pvhPrint 6s ease-in-out calc(var(--i) * 0.18s) infinite; }
@keyframes pvhPrint {
  0%, 5% { stroke-dashoffset: 1; }
  35%, 86% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1; }
}
.pvh-scan { position: absolute; left: 12px; right: 12px; top: 14px; height: 2px; border-radius: 2px; background: var(--ns-red); box-shadow: 0 0 12px 2px rgba(224, 26, 26, 0.45); animation: pvhScan 2.2s ease-in-out infinite alternate; }
@keyframes pvhScan { to { transform: translateY(120px); } }

.pvh-pass { position: absolute; right: 6%; top: 64%; display: flex; align-items: center; gap: 7px; padding: 11px 16px; border: 1px solid var(--ns-border); border-radius: 30px; background: #fff; box-shadow: 0 18px 34px -20px rgba(15, 45, 90, 0.5); }
.pvh-pass i { width: 9px; height: 9px; border-radius: 50%; background: var(--ns-ink); opacity: 0; animation: pvhDot 6s ease-out calc(var(--i) * 0.3s) infinite; }
@keyframes pvhDot {
  0%, 6% { opacity: 0; transform: scale(0); }
  10%, 86% { opacity: 1; transform: scale(1); }
  92%, 100% { opacity: 0; transform: scale(0); }
}
.pvh-ok { position: relative; width: 20px; height: 20px; margin-left: 4px; border-radius: 50%; background: #22c55e; transform: scale(0); animation: pvhOk 6s ease-out infinite; }
.pvh-ok::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes pvhOk {
  0%, 42% { transform: scale(0); }
  48% { transform: scale(1.25); }
  52%, 86% { transform: scale(1); }
  92%, 100% { transform: scale(0); }
}

/* terms */
.tmh-scale { --r: 0deg; position: absolute; left: 5%; top: 17%; width: 190px; height: 178px; animation: pjhFloat 7s ease-in-out infinite; }
.tmh-scale svg { width: 100%; height: 100%; overflow: visible; }
.tmh-post, .tmh-base, .tmh-beam > path { fill: none; stroke: #0f2d5a; stroke-width: 4; stroke-linecap: round; }
.tmh-beam { transform-origin: 80px 30px; animation: tmhTilt 5s ease-in-out infinite; }
.tmh-pan.left { transform-origin: 18px 32px; }
.tmh-pan.right { transform-origin: 142px 32px; }
.tmh-pan { animation: tmhHang 5s ease-in-out infinite; }
.tmh-str { fill: none; stroke: rgba(15, 45, 90, 0.45); stroke-width: 1.5; }
.tmh-bowl { fill: rgba(31, 111, 181, 0.18); stroke: var(--ns-blue); stroke-width: 2; stroke-linejoin: round; }
.tmh-bowl.red { fill: rgba(224, 26, 26, 0.14); stroke: var(--ns-red); }
.tmh-pivot { fill: var(--ns-red); stroke: #fff; stroke-width: 2; }
@keyframes tmhTilt {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(7deg); }
}
@keyframes tmhHang {
  0%, 100% { transform: rotate(7deg); }
  50% { transform: rotate(-7deg); }
}

.tmh-page {
  position: absolute;
  left: var(--x);
  bottom: 60px;
  width: 22px;
  height: 28px;
  border: 1px solid #d3e0ee;
  border-radius: 3px;
  background: repeating-linear-gradient(180deg, transparent 0 6px, #dfe8f3 6px 8px) 4px 2px / 13px 22px no-repeat, #fff;
  box-shadow: 0 6px 12px -6px rgba(15, 45, 90, 0.35);
  opacity: 0;
  animation: tmhPage 12s linear var(--d) infinite;
}
@keyframes tmhPage {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.9; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-380px) rotate(50deg); opacity: 0; }
}

.tmh-doc { --r: 5deg; position: absolute; right: 6%; top: 12%; width: 200px; filter: drop-shadow(0 18px 22px rgba(15, 45, 90, 0.16)); animation: pjhFloat 7s ease-in-out -1.5s infinite; }
.tmh-sheet { position: absolute; inset: 10px -10px -10px 10px; border: 1px solid #dce6f1; border-radius: 10px; background: #eef3f9; }
.tmh-paper {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: 10px;
  background: #fff;
  -webkit-clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
          clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.tmh-paper::before { content: ""; position: absolute; right: 0; top: 0; width: 26px; height: 26px; border-bottom-left-radius: 6px; background: linear-gradient(225deg, transparent 50%, #dce6f1 50%); }
.tmh-title { display: block; width: 58%; height: 10px; margin: 0 auto 14px; border-radius: 5px; background: var(--ns-grad); }
.tmh-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.tmh-box { flex: 0 0 17px; height: 17px; border: 1.5px solid #c9d7e6; border-radius: 5px; animation: tmhBox 8s ease infinite calc(var(--i) * 0.6s); }
.tmh-box svg { display: block; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: tmhTick 8s ease infinite calc(var(--i) * 0.6s); }
.tmh-text { width: calc(var(--w) - 25px); height: 7px; border-radius: 4px; background: #e2eaf4; }
@keyframes tmhBox {
  0%, 6% { background: transparent; border-color: #c9d7e6; }
  10%, 88% { background: var(--ns-blue); border-color: var(--ns-blue); }
  95%, 100% { background: transparent; border-color: #c9d7e6; }
}
@keyframes tmhTick {
  0%, 8% { stroke-dashoffset: 1; }
  14%, 88% { stroke-dashoffset: 0; }
  95%, 100% { stroke-dashoffset: 1; }
}
.tmh-sign { margin-top: 14px; }
.tmh-sign svg { display: block; width: 110px; height: 38px; }
.tmh-sign path { fill: none; stroke: #0f2d5a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: tmhSign 8s ease-in-out infinite; }
@keyframes tmhSign {
  0%, 26% { stroke-dashoffset: 1; }
  54%, 88% { stroke-dashoffset: 0; }
  95%, 100% { stroke-dashoffset: 1; }
}
.tmh-stamp { position: absolute; right: 14px; bottom: 14px; width: 50px; height: 50px; border: 2.5px solid var(--ns-red); border-radius: 50%; opacity: 0; animation: tmhStamp 8s ease-out infinite; }
.tmh-stamp i { position: absolute; inset: 4px; border: 1.5px dashed var(--ns-red); border-radius: 50%; }
.tmh-stamp::after { content: ""; position: absolute; left: 17px; top: 9px; width: 11px; height: 20px; border: solid var(--ns-red); border-width: 0 3px 3px 0; transform: rotate(45deg); }
@keyframes tmhStamp {
  0%, 58% { transform: scale(2.2) rotate(-24deg); opacity: 0; }
  63% { transform: scale(0.9) rotate(-12deg); opacity: 0.95; }
  67%, 88% { transform: scale(1) rotate(-12deg); opacity: 0.85; }
  95%, 100% { transform: scale(1) rotate(-12deg); opacity: 0; }
}

/* career */
.crh-stairs { position: absolute; left: 4%; top: 30%; width: 220px; height: 190px; }
.crh-step {
  position: absolute;
  bottom: 0;
  left: calc(var(--i) * 40px);
  width: 36px;
  height: calc(30px + var(--i) * 25px);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #4a95dc, var(--ns-blue));
  opacity: calc(0.35 + var(--i) * 0.14);
  box-shadow: 0 14px 24px -14px rgba(31, 111, 181, 0.8);
}
.crh-step:nth-child(5) { background: linear-gradient(180deg, #f04a4a, var(--ns-red)); box-shadow: 0 14px 24px -14px rgba(224, 26, 26, 0.8); }
.crh-flag { position: absolute; left: 190px; bottom: 130px; width: 3px; height: 50px; border-radius: 2px; background: #0f2d5a; }
.crh-flag i { position: absolute; left: 3px; top: 2px; width: 30px; height: 20px; background: var(--ns-red); -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%); clip-path: polygon(0 0, 100% 50%, 0 100%); transform-origin: left center; animation: crhWave 1.2s ease-in-out infinite alternate; }
@keyframes crhWave { to { transform: scaleX(0.72) skewY(10deg); } }
.crh-ball { position: absolute; left: 0; bottom: 0; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4a6fa0, #0f2d5a); box-shadow: 0 6px 10px -4px rgba(15, 45, 90, 0.6); animation: crhHop 6s linear infinite; }
@keyframes crhHop {
  0% { transform: translate(10px, -30px); opacity: 1; }
  7% { transform: translate(30px, -75px); }
  12% { transform: translate(50px, -55px); }
  19% { transform: translate(70px, -100px); }
  24% { transform: translate(90px, -80px); }
  31% { transform: translate(110px, -125px); }
  36% { transform: translate(130px, -105px); }
  43% { transform: translate(150px, -150px); }
  48%, 86% { transform: translate(170px, -130px); opacity: 1; }
  90% { transform: translate(170px, -130px); opacity: 0; }
  91% { transform: translate(10px, -30px); opacity: 0; }
  96%, 100% { transform: translate(10px, -30px); opacity: 1; }
}
.crh-confetti { position: absolute; left: 175px; bottom: 150px; width: 7px; height: 7px; border-radius: 2px; background: var(--ns-blue); opacity: 0; animation: crhPop 6s ease-out infinite; }
.crh-confetti.red { background: var(--ns-red); }
@keyframes crhPop {
  0%, 47% { transform: rotate(var(--a)) translateY(0) rotate(0deg); opacity: 0; }
  50% { opacity: 1; }
  68% { transform: rotate(var(--a)) translateY(-52px) rotate(200deg); opacity: 0; }
  100% { opacity: 0; }
}

.crh-up { position: absolute; left: var(--x); bottom: 26%; width: 14px; height: 14px; border-left: 3px solid var(--ns-blue); border-top: 3px solid var(--ns-blue); border-radius: 2px; opacity: 0; animation: crhUp 5s ease-out var(--d) infinite; }
.crh-up.red { border-color: var(--ns-red); }
@keyframes crhUp {
  0% { transform: translateY(0) rotate(45deg); opacity: 0; }
  20% { opacity: 0.7; }
  100% { transform: translateY(-170px) rotate(45deg); opacity: 0; }
}

.crh-team { position: absolute; right: 4%; top: 17%; width: 240px; height: 230px; }
.crh-team svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.crh-team path { fill: none; stroke: rgba(31, 111, 181, 0.4); stroke-width: 2; stroke-dasharray: 6 6; animation: crhFlow 1.4s linear infinite; }
.crh-team path.dash { stroke: rgba(224, 26, 26, 0.5); stroke-dasharray: 4 8; }
@keyframes crhFlow { to { stroke-dashoffset: -24; } }
.crh-node {
  --s: 46px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--ns-blue);
  background: linear-gradient(135deg, #d9eafa, #f4f9fe);
  box-shadow: 0 12px 24px -12px rgba(15, 45, 90, 0.55);
  animation: crhBob 4s ease-in-out var(--d) infinite;
}
.crh-node.red { color: var(--ns-red); background: linear-gradient(135deg, #fde2e2, #fff6f6); }
.crh-node.lg { --s: 66px; font-size: 1.6rem; color: #fff; background: var(--ns-grad); }
.crh-node.you { border: 2px dashed var(--ns-red); color: var(--ns-red); background: #fff; animation: crhYou 2s ease-in-out infinite; }
.crh-node.you::after { content: ""; position: absolute; inset: -3px; border: 2px solid var(--ns-red); border-radius: 50%; opacity: 0; animation: ring 2s ease-out infinite; }
@keyframes crhBob { 50% { transform: translateY(-6px); } }
@keyframes crhYou { 50% { transform: scale(1.1); } }

@media (max-width: 1199.98px) {
  .pvh-shield, .tmh-scale { left: 2%; }
  .pvh-finger, .tmh-doc { right: 3%; }
  .pvh-pass { right: 2%; }
  .crh-stairs { left: 1.5%; }
  .crh-team { right: 1%; }
}
@media (max-width: 991.98px) {
  .pvh-pass, .pvh-rain, .tmh-page, .crh-up { display: none; }
  .pvh-shield, .pvh-finger, .tmh-scale, .tmh-doc, .crh-stairs, .crh-team { opacity: 0.45; }
  .pvh-shield, .tmh-scale { left: -50px; }
  .pvh-finger { right: -30px; }
  .tmh-doc { right: -70px; }
  .crh-stairs { left: -70px; }
  .crh-team { right: -90px; }
}
@media (max-width: 575.98px) {
  .page-hero.pvh-hero, .page-hero.tmh-hero { padding-bottom: 6.5rem; }
  .page-hero.crh-hero { padding-bottom: 7rem; }
  .pvh-shield, .pvh-finger, .tmh-scale, .tmh-doc, .crh-stairs, .crh-team { opacity: 0.28; }
  .pvh-shield, .tmh-scale { left: -95px; top: 6%; }
  .pvh-finger { right: -75px; top: 55%; }
  .tmh-doc { right: -130px; top: 52%; }
  .crh-stairs { left: -120px; top: 8%; }
  .crh-team { right: -140px; top: 55%; }
}
@media (prefers-reduced-motion: reduce) {
  .pvh-scene *, .pvh-scene *::before, .pvh-scene *::after,
  .tmh-scene *, .tmh-scene *::before, .tmh-scene *::after,
  .crh-scene *, .crh-scene *::before, .crh-scene *::after { animation: none !important; }
  .pvh-pass i, .tmh-stamp { opacity: 1; transform: none; }
  .pvh-ok { transform: none; }
  .tmh-stamp { transform: rotate(-12deg); opacity: 0.85; }
  .crh-ball { transform: translate(170px, -130px); }
}

/* ---------- Contact page ---------- */
.ct-hero { padding-bottom: 7.5rem; }
.ct-info { position: relative; z-index: 2; margin-top: -4.5rem; padding-bottom: 4.5rem; }
.ct-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.5rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 20px;
  box-shadow: 0 24px 50px -30px rgba(15, 45, 90, 0.45);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
}
.ct-card:hover { transform: translateY(-6px); box-shadow: var(--ns-shadow); border-color: rgba(31, 111, 181, 0.3); }
.ct-ico {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  font-size: 1.35rem;
  color: var(--ns-blue);
  background: rgba(31, 111, 181, 0.09);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.ct-ico.red { color: var(--ns-red); background: rgba(224, 26, 26, 0.08); }
.ct-card:hover .ct-ico { color: #fff; background: var(--ns-grad); transform: rotate(-6deg); }
.ct-card h3 { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--ns-muted); margin-bottom: 0.3rem; }
.ct-val { display: block; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.08rem; font-weight: 700; line-height: 1.45; color: var(--ns-ink); overflow-wrap: anywhere; margin-bottom: 0.35rem; }
a.ct-val:hover { color: var(--ns-blue); }
.ct-card small { margin-top: auto; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.9rem; color: var(--ns-muted); }

.ct-main { padding: 0 0 5.5rem; }
.ct-form-card {
  padding: 2.4rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 24px;
  box-shadow: 0 30px 70px -40px rgba(15, 45, 90, 0.45);
}
.ct-form-card .section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.ct-form-lead { font-family: "Poppins", "Hind Siliguri", sans-serif; color: var(--ns-muted); line-height: 1.75; margin-bottom: 1.8rem; }
.ct-form .form-label { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--ns-ink); margin-bottom: 0.4rem; }
.ct-form .req { color: var(--ns-red); }
.ct-form .form-control,
.ct-form .form-select {
  padding: 0.8rem 1rem;
  border: 1px solid var(--ns-border);
  border-radius: 12px;
  background-color: var(--ns-soft);
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.98rem;
  color: var(--ns-ink);
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.ct-form .form-select { padding-right: 2.5rem; }
.ct-form .form-control::placeholder { color: #9aa7b8; }
.ct-form .form-control:focus,
.ct-form .form-select:focus { background-color: #fff; border-color: rgba(31, 111, 181, 0.55); box-shadow: 0 0 0 4px rgba(31, 111, 181, 0.12); }
.ct-form textarea.form-control { min-height: 150px; resize: vertical; }
.ct-form .form-check { display: flex; align-items: flex-start; gap: 0.6rem; padding-left: 0; }
.ct-form .form-check-input { flex: 0 0 auto; margin: 0.3rem 0 0; float: none; }
.ct-form .form-check-input:checked { background-color: var(--ns-blue); border-color: var(--ns-blue); }
.ct-form .form-check-label { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.94rem; color: var(--ns-body); }
.ct-form .form-check-label a { color: var(--ns-blue); font-weight: 600; }
.ct-form .invalid-feedback { font-family: "Poppins", "Hind Siliguri", sans-serif; }
.ct-form .btn { min-width: 190px; }
.ct-done {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(25, 135, 84, 0.25);
  border-radius: 14px;
  background: rgba(25, 135, 84, 0.07);
  color: #146c43;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
}
.ct-done[hidden] { display: none; }
.ct-fail { border-color: rgba(220, 53, 69, 0.25); background: rgba(220, 53, 69, 0.07); color: #b02a37; }
.ct-done .bi { font-size: 1.3rem; line-height: 1.4; }
.ct-done p { margin: 0; line-height: 1.6; }
.ct-perks { margin: 0; font-family: "Poppins", "Hind Siliguri", sans-serif; color: var(--ns-body); }
.ct-social { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ct-social a {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ns-border);
  border-radius: 14px;
  font-size: 1.1rem;
  color: var(--ns-blue);
  transition: color 0.3s, background 0.3s, border-color 0.3s, transform 0.3s;
}
.ct-social a:hover { color: #fff; border-color: transparent; background: var(--ns-grad); transform: translateY(-3px); }

.ct-map { padding-bottom: 5.5rem; }
.ct-map-frame {
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--ns-border);
  border-radius: 24px;
  background: var(--ns-soft);
  box-shadow: 0 30px 60px -35px rgba(15, 45, 90, 0.45);
}
.ct-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.ct-faq { padding: 5.5rem 0 6rem; background: var(--ns-soft); scroll-margin-top: 70px; }
.ct-faq .accordion { max-width: 860px; margin: 0 auto; display: grid; gap: 0.9rem; }
.ct-faq .accordion-item {
  overflow: hidden;
  border: 1px solid var(--ns-border) !important;
  border-radius: 16px !important;
  background: #fff;
  box-shadow: var(--ns-shadow-sm);
}
.ct-faq .accordion-button {
  padding: 1.15rem 1.4rem;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ns-ink);
  background: #fff;
  box-shadow: none;
  border-radius: 16px !important;
}
.ct-faq .accordion-button:not(.collapsed) { color: var(--ns-blue); background: #fff; box-shadow: inset 0 -1px 0 var(--ns-border); border-radius: 16px 16px 0 0 !important; }
.ct-faq .accordion-button:focus { box-shadow: 0 0 0 4px rgba(31, 111, 181, 0.12); }
.ct-faq .accordion-button::after {
  width: 30px; height: 30px;
  border-radius: 50%;
  background-color: var(--ns-soft);
  background-position: center;
  background-size: 0.9rem;
}
.ct-faq .accordion-body { padding: 1.1rem 1.4rem 1.3rem; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1rem; line-height: 1.8; color: var(--ns-body); }

/* ---------- Legal pages ---------- */
.legal-summary {
  margin-bottom: 2.4rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--ns-border);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(31, 111, 181, 0.06), rgba(224, 26, 26, 0.04));
}
.legal-summary-title { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.8rem; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--ns-ink); }
.legal-summary-title .bi { color: var(--ns-blue); font-size: 1.2rem; }
.legal-summary ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; }
.legal-summary li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ns-shadow-sm);
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ns-body);
}
.legal-summary li .bi { color: var(--ns-red); }
.legal-content { counter-reset: legal; }
.legal-content h2 { display: flex; align-items: center; gap: 0.85rem; counter-increment: legal; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h2::before {
  content: counter(legal, decimal-leading-zero);
  flex: 0 0 42px;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: var(--ns-grad);
  box-shadow: 0 10px 20px -10px rgba(10, 76, 140, 0.7);
}
.legal-content h2 ~ p,
.legal-content h2 ~ ul,
.legal-content h2 ~ .post-callout { margin-left: calc(42px + 0.85rem); }

/* ---------- Career page ---------- */
.cr-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 2rem; }
.cr-perks { padding: 5.5rem 0; }
.cr-openings { padding: 5.5rem 0; background: linear-gradient(180deg, var(--ns-soft) 0%, #fff 100%); scroll-margin-top: 60px; }
.cr-job {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  background: #fff;
  border: 1px solid var(--ns-border);
  border-radius: 20px;
  box-shadow: var(--ns-shadow-sm);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
}
.cr-job:hover { transform: translateY(-6px); box-shadow: var(--ns-shadow); border-color: rgba(31, 111, 181, 0.3); }
.cr-job-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.cr-job-ico {
  flex: 0 0 54px;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.35rem;
  color: var(--ns-blue);
  background: rgba(31, 111, 181, 0.09);
  transition: color 0.3s, background 0.3s;
}
.cr-job-ico.red { color: var(--ns-red); background: rgba(224, 26, 26, 0.08); }
.cr-job:hover .cr-job-ico { color: #fff; background: var(--ns-grad); }
.cr-job h3 { font-size: 1.2rem; font-weight: 800; color: var(--ns-ink); margin: 0.1rem 0 0.45rem; }
.cr-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; padding: 0; margin: 0; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.9rem; color: var(--ns-muted); }
.cr-meta .bi { margin-right: 0.35rem; color: var(--ns-red); }
.cr-job p { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.98rem; line-height: 1.7; color: var(--ns-body); margin-bottom: 1rem; }
.cr-job-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--ns-border);
}
.cr-deadline { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.88rem; color: var(--ns-muted); }
.cr-deadline .bi { margin-right: 0.35rem; color: var(--ns-blue); }
.cr-apply { padding: 0.55rem 1.2rem; font-size: 0.92rem; }
.cr-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ns-blue);
}
.cr-more:hover { color: var(--ns-red); }
.cr-modal .modal-content { border: 0; border-radius: 20px; overflow: hidden; }
.cr-modal .modal-header { align-items: flex-start; gap: 1rem; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--ns-border); }
.cr-modal .modal-header .btn-close { margin: 0 0 0 auto; }
.cr-modal-head { flex: 1; min-width: 0; }
.cr-modal .modal-title { font-size: 1.3rem; font-weight: 800; color: var(--ns-ink); margin: 0.1rem 0 0.45rem; }
.cr-modal .modal-body { padding: 1.5rem 1.75rem; font-family: "Poppins", "Hind Siliguri", sans-serif; }
.cr-modal .modal-footer { justify-content: space-between; gap: 0.8rem; padding: 1rem 1.6rem; border-top: 1px solid var(--ns-border); background: var(--ns-soft); }
.cr-modal .modal-footer > * { margin: 0; }
.cr-details-body h4 { font-size: 1rem; font-weight: 700; color: var(--ns-ink); margin: 1.2rem 0 0.5rem; }
.cr-details-body h4:first-child { margin-top: 0; }
.cr-details-body h5 { font-size: 0.9rem; font-weight: 600; color: var(--ns-blue); margin: 0.8rem 0 0.35rem; }
.cr-details-body p, .cr-details-body li { font-size: 0.9rem; line-height: 1.65; color: var(--ns-body); }
.cr-details-body p { margin-bottom: 0.6rem; }
.cr-details-body ul { padding-left: 1.1rem; margin-bottom: 0.6rem; }
.cr-details-body li { margin-bottom: 0.25rem; }
.cr-details-body .cr-note { padding: 0.6rem 0.8rem; border-left: 3px solid var(--ns-blue); border-radius: 6px; background: var(--ns-soft); }
@media (max-width: 991.98px) {
  .ct-hero { padding-bottom: 6.5rem; }
  .ct-main, .ct-map { padding-bottom: 4.5rem; }
  .ct-faq, .cr-perks, .cr-openings { padding: 4.5rem 0; }
  .ct-map-frame { height: 360px; }
}
@media (max-width: 575.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .ct-info { padding-bottom: 3rem; }
  .ct-info .row { --bs-gutter-y: 0.9rem; }
  .ct-card { display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 1rem; padding: 1.2rem 1.25rem; }
  .ct-ico { grid-row: span 3; margin: 0; }
  .ct-card small { margin-top: 0; }
  .ct-form-card { padding: 1.6rem 1.25rem; border-radius: 20px; }
  .ct-form .btn { width: 100%; }
  .ct-map-frame { height: 300px; border-radius: 18px; }
  .ct-faq .accordion-button { padding: 1rem 1.1rem; font-size: 1rem; }
  .ct-faq .accordion-body { padding: 1rem 1.1rem 1.2rem; }
  .legal-summary { padding: 1.1rem 1.2rem; }
  .legal-content h2::before { flex-basis: 36px; width: 36px; height: 36px; font-size: 0.85rem; border-radius: 10px; }
  .legal-content h2 ~ p,
  .legal-content h2 ~ ul,
  .legal-content h2 ~ .post-callout { margin-left: 0; }
  .cr-job { padding: 1.35rem; }
  .cr-job-foot { flex-direction: column; align-items: stretch; }
  .cr-apply { width: 100%; }
}

/* ---------- IncredibleBD ---------- */
.ibd {
  --ibd: #0f766e;
  --ibd-light: #14b8a6;
  position: relative;
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #f1faf8 0%, #fff 100%);
  overflow: hidden;
  overflow: clip;
}
.ibd-glow { position: absolute; top: -160px; right: -120px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 184, 166, 0.16), rgba(20, 184, 166, 0) 70%); pointer-events: none; }
.ibd-eyebrow { color: var(--ibd); }
.ibd-eyebrow::before { background: linear-gradient(90deg, var(--ibd), var(--ns-red)); }
.ibd-logo { display: block; width: 210px; margin: 0.4rem 0 1rem; }
.ibd-logo img { width: 100%; height: auto; }
.ibd-grad { background: linear-gradient(90deg, var(--ibd), var(--ibd-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ibd-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 1.2rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.ibd-feats li { display: flex; align-items: flex-start; gap: 0.8rem; }
.ibd-feats h3 { margin: 0 0 0.15rem; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.02rem; font-weight: 700; color: var(--ns-ink); }
.ibd-feats p { margin: 0; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.88rem; line-height: 1.55; color: var(--ns-muted); }
.ibd-ico { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-size: 1.1rem; color: var(--ibd); background: rgba(15, 118, 110, 0.1); }
.ibd-ico.red { color: var(--ns-red); background: rgba(224, 26, 26, 0.08); }

.btn-ibd { color: #fff; background: linear-gradient(135deg, var(--ibd-light), var(--ibd)); border: 0; border-radius: 50px; padding: 0.8rem 1.6rem; font-weight: 600; box-shadow: 0 14px 28px -14px rgba(15, 118, 110, 0.8); transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.btn-ibd:hover, .btn-ibd:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(15, 118, 110, 0.9); }
.btn-ibd .bi { margin-left: 0.35rem; font-size: 0.85em; }
.ibd-link { font-family: "Poppins", "Hind Siliguri", sans-serif; font-weight: 600; color: var(--ibd); text-decoration: none; }
.ibd-link:hover { color: var(--ns-red); }
.ibd-link .bi { font-size: 1.3rem; vertical-align: middle; transition: transform 0.3s; }
.ibd-link:hover .bi { transform: translateX(4px); }

.ibd-visual { position: relative; padding: 2.2rem 0 3rem; }
.ibd-window { position: relative; z-index: 1; overflow: hidden; border: 1px solid var(--ns-border); border-radius: 18px; background: #fff; box-shadow: 0 34px 60px -30px rgba(15, 45, 90, 0.45); }
.ibd-bar { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--ns-border); }
.ibd-bar img { width: 96px; height: auto; }
.ibd-search { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0.4rem 0.8rem; border-radius: 20px; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.8rem; color: var(--ns-muted); background: #f1f5f9; }
.ibd-search .bi { margin-right: 0.3rem; }
.ibd-dots { display: flex; gap: 4px; }
.ibd-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d7e0ea; }
.ibd-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.8rem; padding: 0.9rem; }

.ibd-week { position: relative; overflow: hidden; border-radius: 12px; min-height: 250px; }
.ibd-week > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ibd-week:hover > img { transform: scale(1.06); }
.ibd-week::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(4, 30, 28, 0.78)); }
.ibd-tag { display: inline-block; white-space: nowrap; padding: 0.2rem 0.55rem; border-radius: 6px; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; background: var(--ibd); }
.ibd-tag.red { background: var(--ns-red); }
.ibd-week .ibd-tag { position: absolute; left: 0.7rem; top: 0.7rem; z-index: 1; }
.ibd-week-info { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.8rem; z-index: 1; color: #fff; }
.ibd-week-info strong { display: block; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1.15rem; line-height: 1.3; }
.ibd-week-info small { display: block; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.8rem; opacity: 0.85; }
.ibd-stars { display: inline-flex; gap: 2px; margin-top: 0.3rem; font-size: 0.7rem; color: #fbbf24; }
.ibd-pin { position: absolute; left: 58%; top: 42%; z-index: 1; font-size: 1.6rem; line-height: 1; color: var(--ns-red); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35)); animation: ibdPin 2.4s ease-in-out infinite; }
.ibd-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 22px; height: 8px; margin-left: -11px; border: 2px solid #fff; border-radius: 50%; opacity: 0; animation: ring 2.4s ease-out infinite; }
@keyframes ibdPin { 50% { transform: translateY(-6px); } }

.ibd-places { display: grid; gap: 0.6rem; }
.ibd-places figure { position: relative; display: flex; align-items: center; gap: 0.6rem; margin: 0; padding: 0.35rem; border: 1px solid var(--ns-border); border-radius: 10px; transition: border-color 0.3s, box-shadow 0.3s; }
.ibd-places figure:hover { border-color: rgba(15, 118, 110, 0.35); box-shadow: 0 10px 20px -14px rgba(15, 118, 110, 0.6); }
.ibd-places img { flex: 0 0 64px; width: 64px; height: 56px; border-radius: 7px; object-fit: cover; }
.ibd-places figcaption { min-width: 0; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.86rem; font-weight: 600; line-height: 1.3; color: var(--ns-ink); }
.ibd-places figcaption small { display: block; font-size: 0.74rem; font-weight: 500; color: var(--ibd); }

.ibd-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem; border: 1px solid var(--ns-border); border-radius: 14px; background: #fff; box-shadow: 0 22px 40px -18px rgba(15, 45, 90, 0.45); }
.ibd-event { top: 0; right: -1.2rem; width: 230px; animation: floatY 7s ease-in-out infinite; }
.ibd-event img { flex: 0 0 72px; width: 72px; height: 64px; border-radius: 9px; object-fit: cover; }
.ibd-event strong { display: block; margin-top: 0.25rem; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.98rem; line-height: 1.2; color: var(--ns-ink); }
.ibd-event small { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.76rem; color: var(--ns-muted); }
.ibd-member { bottom: 0.4rem; left: -1.4rem; padding: 0.65rem 0.8rem; animation: floatY 7s ease-in-out -3.5s infinite; }
.ibd-member strong { display: block; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.9rem; line-height: 1.25; color: var(--ns-ink); }
.ibd-member small { display: block; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.75rem; color: var(--ns-muted); }
.ibd-avatars { display: flex; }
.ibd-avatars i { width: 30px; height: 30px; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(135deg, #99f6e4, var(--ibd)); }
.ibd-avatars i + i { margin-left: -10px; }
.ibd-avatars i:nth-child(2) { background: linear-gradient(135deg, #fde2e2, var(--ns-red)); }
.ibd-avatars i:nth-child(3) { background: linear-gradient(135deg, #cfe4f7, var(--ns-blue)); }
.ibd-follow { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 0.9rem; color: var(--ibd); background: rgba(15, 118, 110, 0.1); }

@media (max-width: 991.98px) {
  .ibd { padding: 4.5rem 0; }
  .ibd-event { right: 0; }
  .ibd-member { left: 0; }
}
@media (max-width: 575.98px) {
  .ibd-feats { grid-template-columns: 1fr; }
  .ibd-body { grid-template-columns: 1fr; }
  .ibd-week { min-height: 200px; }
  .ibd-places { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; }
  .ibd-places figure { flex-direction: column; align-items: stretch; gap: 0.3rem; }
  .ibd-places img { flex-basis: auto; width: 100%; height: 60px; }
  .ibd-places figcaption { font-size: 0.78rem; }
  .ibd-search { font-size: 0.72rem; }
  .ibd-visual { padding-top: 4.6rem; }
  .ibd-event { width: 210px; right: 0; padding: 0.45rem; }
  .ibd-event img { flex-basis: 56px; width: 56px; height: 54px; }
  .ibd-event .ibd-tag { font-size: 0.6rem; }
  .ibd-member { left: -0.3rem; right: 1.5rem; }
  .ibd-member small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ibd-pin, .ibd-pin::after, .ibd-float { animation: none; }
}

/* ---------- Accounting (Simple ERP) ---------- */
/* Mirrors the Solutions layout (screenshot left, copy right) and picks up its soft background */
.acc {
  position: relative;
  padding: 3.5rem 0 6.5rem;
  background: linear-gradient(180deg, var(--ns-soft) 0%, #fff 100%);
  overflow: hidden;
  overflow: clip;
}
.acc-blob {
  position: absolute;
  width: 520px; height: 520px;
  left: -160px; top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 26, 26, 0.08), transparent 65%);
  pointer-events: none;
}
.acc-screen { aspect-ratio: 7 / 4; overflow: hidden; background: var(--ns-soft); }
.acc-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 48% top; }
.acc .section-title .text-grad { display: inline-block; }
.acc .sol-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.acc .sol-list li { gap: 0.55rem; padding: 0.55rem 0.65rem; font-size: 0.88rem; }
.acc .sol-ico { flex-basis: 32px; width: 32px; height: 32px; border-radius: 9px; font-size: 0.95rem; }

@media (max-width: 991.98px) {
  .acc { padding: 2.5rem 0 4.5rem; }
}
@media (max-width: 575.98px) {
  .acc .sol-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Origin Locator (PRM) ---------- */
.ol {
  --ol: #0d9488;
  --ol-light: #2dd4bf;
  position: relative;
  padding: 6.5rem 0;
  color: var(--ns-body);
  background:
    radial-gradient(circle at 1px 1px, rgba(13, 148, 136, 0.08) 1px, transparent 0) 0 0 / 24px 24px,
    #fff;
  overflow: hidden;
  overflow: clip;
}
.ol-glow { position: absolute; left: -10%; top: 10%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(13, 148, 136, 0.08), transparent); pointer-events: none; }
.ol-eyebrow { color: var(--ol); }
.ol-eyebrow::before { background: linear-gradient(90deg, var(--ol-light), var(--ol)); }
.ol-logo { display: block; width: max-content; margin: 0.6rem 0 1.2rem; }
.ol-logo img { display: block; width: 220px; max-width: 100%; height: auto; }
.ol-title { color: var(--ns-ink); }
.ol-grad { display: inline-block; background: linear-gradient(90deg, var(--ol), #059669); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ol-lead { color: var(--ns-body); }

.ol-steps { list-style: none; display: grid; gap: 0.75rem; margin: 0 0 1.4rem; padding: 0; }
.ol-steps li { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.85rem 1rem; border: 1px solid var(--ns-border); border-radius: 14px; background: #fff; box-shadow: var(--ns-shadow-sm); transition: border-color 0.3s, background 0.3s; }
.ol-steps li:hover { border-color: rgba(13, 148, 136, 0.4); background: rgba(13, 148, 136, 0.04); }
.ol-num { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--ol-light), var(--ol)); }
.ol-steps h3 { margin: 0 0 0.15rem; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 1rem; font-weight: 700; color: var(--ns-ink); }
.ol-steps p { margin: 0; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.87rem; line-height: 1.55; color: var(--ns-muted); }

.ol-uses { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.ol-uses span { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem; border: 1px solid rgba(13, 148, 136, 0.25); border-radius: 999px; font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 0.85rem; color: #0f766e; background: rgba(13, 148, 136, 0.07); }
.ol-uses .bi { color: var(--ol); }

.btn-ol { position: relative; overflow: hidden; padding: 0.8rem 1.6rem; border: 0; border-radius: 50px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #14b8a6, var(--ol)); box-shadow: 0 14px 30px -14px rgba(13, 148, 136, 0.7); transition: transform 0.3s, box-shadow 0.3s; }
.btn-ol:hover, .btn-ol:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(13, 148, 136, 0.85); }
.btn-ol .bi { margin-left: 0.35rem; font-size: 0.85em; }
.ol-link { font-weight: 600; color: var(--ol); text-decoration: none; }
.ol-link:hover { color: #0f766e; }
.ol-link .bi { font-size: 1.3rem; vertical-align: middle; transition: transform 0.3s; }
.ol-link:hover .bi { transform: translateX(4px); }

/* Relationship tree mock-up */
.ol-visual { position: relative; padding: 1.5rem 0 3rem; }
.ol-window { position: relative; border: 1px solid var(--ns-border); border-radius: 18px; background: linear-gradient(180deg, #f8fbff, #fff); box-shadow: 0 40px 80px -30px rgba(15, 45, 90, 0.35); overflow: hidden; }
.ol-bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--ns-border); background: var(--ns-soft); }
.ol-dots { display: flex; gap: 6px; }
.ol-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.ol-dots i:nth-child(2) { background: #febc2e; }
.ol-dots i:nth-child(3) { background: #28c840; }
.ol-url { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.76rem; color: var(--ns-body); background: #fff; border: 1px solid var(--ns-border); }
.ol-url .bi { color: var(--ol); margin-right: 0.2rem; }
.ol-zoom { display: flex; gap: 0.35rem; }
.ol-zoom i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; font-size: 0.75rem; color: var(--ns-body); background: #fff; border: 1px solid var(--ns-border); }

.ol-tree { position: relative; aspect-ratio: 520 / 380; }
.ol-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ol-lines path { fill: none; stroke: rgba(13, 148, 136, 0.5); stroke-width: 1.6; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; animation: olFlow 1.6s linear infinite; }
@keyframes olFlow { to { stroke-dashoffset: -22; } }

.ol-node { position: absolute; left: var(--x); top: var(--y); display: flex; flex-direction: column; align-items: center; text-align: center; transform: translate(-50%, -22px); font-family: "Poppins", "Hind Siliguri", sans-serif; }
.ol-av { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-size: 0.78rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15), 0 0 22px rgba(20, 184, 166, 0.45); }
.ol-node strong { margin-top: 0.35rem; font-size: 0.8rem; font-weight: 600; line-height: 1.2; color: var(--ns-ink); white-space: nowrap; }
.ol-node small { font-size: 0.68rem; line-height: 1.2; color: var(--ns-muted); white-space: nowrap; }
.ol-node.c2 .ol-av { background: linear-gradient(135deg, #818cf8, #4f46e5); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), 0 0 22px rgba(99, 102, 241, 0.45); }
.ol-node.c3 .ol-av { background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15), 0 0 22px rgba(245, 158, 11, 0.4); }
.ol-node.c4 .ol-av { background: linear-gradient(135deg, #f472b6, #db2777); box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15), 0 0 22px rgba(236, 72, 153, 0.4); }
.ol-node.you .ol-av { background: linear-gradient(135deg, #34d399, #059669); }
.ol-node.you .ol-av::after { content: ""; position: absolute; inset: -6px; border: 2px solid rgba(52, 211, 153, 0.7); border-radius: 50%; animation: olPulse 2.2s ease-out infinite; }
.ol-node.you small { color: #059669; font-weight: 600; }
@keyframes olPulse { from { transform: scale(0.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

.ol-card { position: absolute; z-index: 2; display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.7rem 0.9rem 0.7rem 0.7rem; border: 1px solid var(--ns-border); border-radius: 14px; background: #fff; box-shadow: 0 22px 44px -18px rgba(15, 45, 90, 0.35); font-family: "Poppins", "Hind Siliguri", sans-serif; }
.ol-card strong { display: block; font-size: 0.9rem; line-height: 1.25; color: var(--ns-ink); }
.ol-card small { display: block; font-size: 0.74rem; line-height: 1.5; color: var(--ns-muted); }
.ol-card small .bi { color: var(--ol); margin-right: 0.2rem; }
.ol-profile { top: 0; right: -1.2rem; animation: floatY 7s ease-in-out infinite; }
.ol-profile .ol-av { flex: 0 0 40px; width: 40px; height: 40px; background: linear-gradient(135deg, #818cf8, #4f46e5); box-shadow: none; }
.ol-recip { left: -1.2rem; bottom: 0.6rem; animation: floatY 8s ease-in-out -3s infinite; }
.ol-recip-ico { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--ol-light), var(--ol)); }

@media (max-width: 991.98px) {
  .ol { padding: 4.5rem 0; }
  .ol-profile { right: 0; }
  .ol-recip { left: 0; }
}
@media (max-width: 575.98px) {
  .ol-zoom { display: none; }
  .ol-av { width: 34px; height: 34px; font-size: 0.66rem; }
  .ol-node { transform: translate(-50%, -17px); }
  .ol-node strong { font-size: 0.66rem; }
  .ol-node small { font-size: 0.58rem; }
  .ol-profile { transform: scale(0.85); transform-origin: right top; }
  .ol-visual { padding-bottom: 0; }
  .ol-recip { position: relative; left: auto; bottom: auto; margin-top: 0.9rem; }
  .ol-profile, .ol-recip { animation: none; }
  .sol-cta .btn-ol { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ol-lines path, .ol-node.you .ol-av::after, .ol-card { animation: none; }
}

/* ---------- Language switch ---------- */
/* opacity, not visibility: Bootstrap forces `visibility: visible !important` on the desktop navbar offcanvas */
html.i18n-pending body { opacity: 0; }

.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 40px;
  padding: 0 0.9rem;
  border: 1px solid var(--ns-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ns-ink);
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.lang-btn > .bi-translate { color: var(--ns-blue); font-size: 1rem; }
.lang-caret { font-size: 0.65rem; transition: transform 0.3s; }
.lang-btn:hover,
.lang-btn.show { border-color: rgba(31, 111, 181, 0.45); color: var(--ns-blue); box-shadow: 0 8px 18px -12px rgba(31, 111, 181, 0.7); }
.lang-btn.show .lang-caret { transform: rotate(180deg); }
.ns-nav .lang-menu { min-width: 180px; padding: 0.4rem; margin-top: 0.6rem !important; }
.lang-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ns-ink);
}
.lang-menu .dropdown-item:hover,
.lang-menu .dropdown-item:focus { background: var(--ns-soft); color: var(--ns-blue); }
.lang-menu .dropdown-item.active { background: rgba(31, 111, 181, 0.08); color: var(--ns-blue); }
.lang-flag {
  flex: 0 0 auto;
  width: 30px;
  height: 20px;
  border-radius: 4px;
  background: var(--ns-soft) center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(15, 45, 90, 0.12), 0 2px 5px -2px rgba(15, 45, 90, 0.35);
  transition: box-shadow 0.25s;
}
.lang-flag-bd { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23006a4e'/%3E%3Ccircle cx='13.5' cy='10' r='6' fill='%23f42a41'/%3E%3C/svg%3E"); }
.lang-flag-en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='s'%3E%3Cpath d='M0,0 v30 h60 v-30 z'/%3E%3C/clipPath%3E%3CclipPath id='t'%3E%3Cpath d='M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3Cpath d='M0,0 v30 h60 v-30 z' fill='%23012169'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E"); }
.lang-menu .active .lang-flag { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(31, 111, 181, 0.55); }
.lang-menu .bi-check2 { margin-left: auto; opacity: 0; }
.lang-menu .active .bi-check2 { opacity: 1; }
.ns-nav .nav-link { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .ns-nav .navbar-nav .nav-link { padding-left: 0.6rem !important; padding-right: 0.6rem !important; }
  .ns-nav .navbar-nav .dropdown-toggle { padding-right: 1.5rem !important; }
  .ns-nav .dropdown-toggle::before { right: 0.45rem; }
  .nav-actions { gap: 0.6rem; }
  .hotline > span:last-child { display: none; }
  .lang-btn { padding: 0 0.7rem; }
}
@media (max-width: 991.98px) {
  .lang-btn { width: 100%; justify-content: center; height: 46px; }
  .ns-nav .lang-menu { position: static !important; width: 100%; transform: none !important; border: 1px solid var(--ns-border); padding: 0.4rem; }
}

/* ---------- English typography ---------- */
html[lang="en"] body,
html[lang="en"] body *:not([class*="devicon-"]) {
  font-family: "Poppins", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[lang="en"] body :is(h1, h2, h3, h4, h5, h6, .hero-title, .section-title, .ph-title, .post-title, .webdev-title),
html[lang="en"] body :is(h1, h2, h3, h4, h5, h6, .hero-title, .section-title, .ph-title, .post-title, .webdev-title) * {
  font-family: "Poppins", "Hind Siliguri", system-ui, sans-serif;
  letter-spacing: -0.01em;
}
