:root {
  --nx-navy: #0b1f3a;
  --nx-blue: #1d6fd8;
  --nx-cyan: #38bdf8;
  --nx-sky: #e8f3ff;
  --nx-ink: #13233a;
  --nx-muted: #5b6b7c;
  --nx-line: rgba(29, 111, 216, 0.16);
  --nx-white: #ffffff;
  --font-en: "Outfit", system-ui, sans-serif;
  --font-bn: "Noto Sans Bengali", "Nirmala UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-en);
  color: var(--nx-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(29, 111, 216, 0.12), transparent 55%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 40%, #f3f8ff 100%);
  min-height: 100vh;
}

.bn-text { font-family: var(--font-bn); }

a { color: var(--nx-blue); text-decoration: none; }
a:hover { color: #1557ad; }

.nx-topbar {
  background: linear-gradient(90deg, #0b1f3a, #134a9c 55%, #0b1f3a);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0;
}

.nx-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nx-line);
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.04);
}

.nx-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nx-nav .navbar-brand img.nx-logo-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--nx-line);
  padding: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--nx-navy);
}

.brand-text strong {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.brand-text small {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--nx-blue);
  font-weight: 600;
}

.nx-nav .nav-link {
  color: var(--nx-ink) !important;
  font-weight: 500;
  padding: 0.55rem 0.85rem !important;
}

.nx-nav .nav-link:hover,
.nx-nav .dropdown-item:hover {
  color: var(--nx-blue) !important;
}

.btn-nx-primary {
  background: linear-gradient(135deg, #1d6fd8, #0ea5e9);
  border: 0;
  color: #fff !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  box-shadow: 0 10px 24px rgba(29, 111, 216, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nx-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(29, 111, 216, 0.34);
  color: #fff !important;
}

.btn-nx-ghost {
  border: 1.5px solid rgba(29, 111, 216, 0.35);
  color: var(--nx-blue) !important;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
}

.btn-nx-ghost:hover {
  background: var(--nx-sky);
  color: #134a9c !important;
}

.nx-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
}

.nx-hero-glow {
  position: absolute;
  inset: auto -10% 10% 40%;
  height: 70%;
  background:
    radial-gradient(circle at 30% 40%, rgba(56, 189, 248, 0.35), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(29, 111, 216, 0.28), transparent 50%);
  filter: blur(20px);
  pointer-events: none;
  animation: nxPulse 8s ease-in-out infinite;
}

@keyframes nxPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.nx-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--nx-blue);
  margin-bottom: 0.75rem;
}

.brand-hero {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--nx-navy);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.brand-hero span {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.35em;
  color: var(--nx-blue);
  margin-top: 0.35rem;
}

.nx-bn-slogan {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1557ad;
  margin-bottom: 1rem;
}

.nx-lead {
  font-size: 1.08rem;
  color: var(--nx-muted);
  max-width: 34rem;
}

.nx-hero-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--nx-muted);
  font-size: 0.95rem;
}

.nx-hero-contact a {
  font-weight: 600;
  color: var(--nx-navy);
}

.nx-hero-panel {
  background: linear-gradient(160deg, #0b1f3a 0%, #134a9c 55%, #0ea5e9 130%);
  border-radius: 28px 28px 28px 72px;
  padding: 1.6rem;
  color: #fff;
  box-shadow: 0 30px 60px rgba(11, 31, 58, 0.28);
  animation: nxFloat 6s ease-in-out infinite;
}

@keyframes nxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.nx-hero-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.nx-hero-panel-head span {
  opacity: 0.85;
  font-style: italic;
}

.nx-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.nx-service-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  color: #fff !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nx-service-item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  color: #fff !important;
}

.nx-service-item i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent, #38bdf8) 85%, white);
  color: #fff;
}

.nx-section {
  padding: 4.5rem 0;
}

.nx-section-alt {
  background: linear-gradient(180deg, rgba(232, 243, 255, 0.85), rgba(255, 255, 255, 0.9));
}

.nx-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.nx-section-head h2 {
  font-weight: 800;
  color: var(--nx-navy);
  margin-bottom: 0.6rem;
}

.nx-section-head p {
  color: var(--nx-muted);
  margin: 0;
}

.nx-stats {
  padding-top: 0;
}

.nx-stat {
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  padding: 1.3rem 1rem;
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.05);
}

.nx-stat .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--nx-blue);
}

.nx-stat .label {
  color: var(--nx-muted);
  font-size: 0.92rem;
}

.nx-product-list {
  display: grid;
  gap: 1.5rem;
}

.nx-product-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.05);
}

.nx-product-row.reverse {
  direction: rtl;
}

.nx-product-row.reverse > * {
  direction: ltr;
}

.nx-product-visual {
  min-height: 220px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 45%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 80%, #0b1f3a), var(--accent));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.nx-product-visual i { font-size: 3rem; }
.nx-product-body { padding: 1.6rem 1.8rem; }
.nx-product-body h3 {
  font-weight: 800;
  color: var(--nx-navy);
  margin-bottom: 0.6rem;
}

.nx-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.nx-chip-list li,
.nx-chip-list span {
  background: var(--nx-sky);
  color: #134a9c;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.nx-why,
.nx-feature,
.nx-industry {
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  padding: 1.1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nx-why:hover,
.nx-feature:hover,
.nx-industry:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 31, 58, 0.08);
}

.nx-why i,
.nx-feature i,
.nx-industry i {
  font-size: 1.4rem;
  color: var(--nx-blue);
}

.nx-feature,
.nx-industry {
  align-items: center;
  text-align: center;
}

.nx-process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.nx-process-step {
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  padding: 1rem 0.75rem;
  text-align: center;
}

.nx-process-step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d6fd8, #0ea5e9);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.nx-quote {
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  padding: 1.4rem;
  height: 100%;
  margin: 0;
}

.nx-quote p {
  color: var(--nx-ink);
  margin-bottom: 1rem;
}

.nx-quote footer {
  display: flex;
  flex-direction: column;
  color: var(--nx-muted);
  font-size: 0.9rem;
}

.nx-cta {
  background: linear-gradient(120deg, #0b1f3a, #1d6fd8 60%, #0ea5e9);
  color: #fff;
  padding: 4rem 0;
}

.nx-cta h2 { font-weight: 800; }
.nx-cta p { opacity: 0.9; margin-bottom: 1.5rem; }

.nx-footer {
  background: #071526;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.nx-footer h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.nx-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.45rem;
}

.nx-footer a:hover { color: #fff; }
.nx-footer p { margin-bottom: 0.55rem; }
.footer-slogan { color: #7dd3fc; font-size: 0.92rem; }
.footer-copy { max-width: 28rem; }

.nx-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.nx-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  margin: 0;
}

.nx-footer-bar {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.nx-page-hero {
  background: linear-gradient(120deg, #0b1f3a, #1d6fd8);
  color: #fff;
  padding: 3.5rem 0;
}

.nx-page-hero h1 { font-weight: 800; }
.nx-page-hero p { opacity: 0.9; margin: 0.5rem 0 0; max-width: 40rem; }

.nx-product-hero {
  background: linear-gradient(120deg, #0b1f3a, var(--accent, #1d6fd8));
  color: #fff;
  padding: 3.5rem 0;
}

.nx-product-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}

.nx-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.nx-module-item {
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nx-module-item i { color: var(--nx-blue); }

.nx-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nx-check-list li {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.nx-check-list i { color: var(--nx-blue); }

.nx-product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  padding: 1.5rem;
  height: 100%;
  color: inherit !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nx-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(11, 31, 58, 0.1);
}

.nx-product-card i {
  font-size: 1.8rem;
  color: var(--accent, var(--nx-blue));
}

.nx-product-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0.8rem 0 0.4rem;
  color: var(--nx-navy);
}

.nx-product-card p { color: var(--nx-muted); margin-bottom: 1rem; }
.nx-product-card span { color: var(--nx-blue); font-weight: 600; }

.nx-price {
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  padding: 1.8rem;
  text-align: center;
  height: 100%;
}

.nx-price.featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #1d6fd8, #0ea5e9) border-box;
  border: 2px solid transparent;
  box-shadow: 0 18px 40px rgba(29, 111, 216, 0.15);
}

.nx-price h2 { font-weight: 800; color: var(--nx-navy); }
.nx-price strong {
  display: block;
  font-size: 1.4rem;
  color: var(--nx-blue);
  margin: 1rem 0 1.2rem;
}

.nx-form {
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.05);
}

.nx-form .form-control,
.nx-form .form-select {
  border-radius: 12px;
  border-color: rgba(29, 111, 216, 0.22);
  padding: 0.7rem 0.9rem;
}

.nx-form .form-control:focus,
.nx-form .form-select:focus {
  border-color: var(--nx-blue);
  box-shadow: 0 0 0 0.2rem rgba(29, 111, 216, 0.15);
}

.nx-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nx-contact-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

.nx-contact-list i {
  color: var(--nx-blue);
  margin-top: 0.15rem;
}

.nx-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--nx-line);
}

.nx-reveal {
  animation: nxFadeUp 0.8s ease both;
}

.nx-reveal-delay {
  animation-delay: 0.15s;
}

@keyframes nxFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
  .nx-hero { min-height: auto; padding: 3rem 0; }
  .nx-product-row,
  .nx-product-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .nx-process { grid-template-columns: repeat(3, 1fr); }
  .nx-hero-panel { border-radius: 24px; }
}

@media (max-width: 575.98px) {
  .nx-topbar { display: none; }
  .nx-service-grid { grid-template-columns: 1fr; }
  .nx-process { grid-template-columns: repeat(2, 1fr); }
  .brand-text small { letter-spacing: 0.18em; }
}
