﻿/* Shared inner page layout */
.nb-page { padding: 0 0 40px; }
.nb-page-hero {
  padding: 110px 0 60px;
  background: linear-gradient(180deg, #eaf2fb 0%, #fff 100%);
  border-bottom: 1px solid #d8e0ec;
}
.nb-page-hero .wrap, .nb-page .wrap { width: min(100% - 40px, 1180px); margin: 0 auto; }
.nb-page-hero h1 { max-width: 16ch;
  font-family: inherit;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 14px;
  color: #1e293b;
  max-width: 16ch;
}
.nb-page-hero p { max-width: 40rem; color: #64748b; font-size: 1.05rem; margin: 0; }
.nb-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #046bd2; margin-bottom: 10px;
}
.nb-section { padding: 80px 0; }
.nb-section.alt { background: #f4f7fb; }
.nb-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.nb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.nb-card {
  background: #fff; border: 1px solid #d8e0ec; border-radius: 18px;
  padding: 26px; transition: .25s;
}
.nb-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,.08); }
.nb-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.nb-card p { margin: 0; color: #64748b; font-size: .95rem; }
.nb-card a { color: inherit; text-decoration: none; display: block; }
.nb-blog-more {
  display: inline-block;
  margin-top: 10px;
  color: #046bd2;
  font-weight: 700;
  font-size: 0.92rem;
}
.nb-section__head {
  margin: 0 0 28px;
}
.nb-section__head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #0f172a;
}
.nb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px; background: #046bd2; color: #fff !important;
  font-weight: 700; text-decoration: none; border: 0;
}
.nb-btn:hover { background: #0356a8; color: #fff !important; }
.nb-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nb-form .field { margin-bottom: 14px; }
.nb-form label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.nb-form input, .nb-form select, .nb-form textarea {
  width: 100%; border: 1px solid #d8e0ec; border-radius: 12px; padding: 12px 14px;
  font: inherit; background: #f4f7fb; box-sizing: border-box;
}
.nb-form textarea { min-height: 130px; }
.nb-aside {
  background: #0b1220;
  color: #9fb2c9;
  border-radius: 20px;
  padding: 28px;
}
.nb-aside h2 { color: #fff; margin-top: 0; }
.nb-aside p { margin: 0; line-height: 1.65; color: #9fb2c9; }
.nb-aside a { color: #cfe0f5; text-decoration: none; }
.nb-aside a:hover { color: #fff; }
.nb-aside .meta { display: grid; gap: 14px; margin: 22px 0; }
.nb-aside strong { display: block; color: #fff; font-size: .85rem; margin-bottom: 3px; }
.nb-social { display: flex; gap: 10px; }
.nb-social a {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid #2a3b55;
  display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none;
  font-size: 0.82rem; font-weight: 600; text-transform: lowercase;
}
.nb-social a:hover { border-color: #046bd2; background: rgba(4, 107, 210, 0.25); }
.nb-article { max-width: 760px; margin: 0 auto; padding: 40px 0 70px; }
.nb-article img.cover { width: 100%; border-radius: 20px; margin-bottom: 24px; aspect-ratio: 16/9; object-fit: cover; }
.nb-article h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 20px; line-height: 1.2; }
.nb-article .content p { color: #334155; font-size: 1.05rem; line-height: 1.7; margin: 0 0 1.1em; }
.nb-article .content h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: #0f172a;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}
.nb-article .content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.4rem 0 0.55rem;
}
.nb-article .content ul {
  margin: 0 0 1.2em;
  padding-left: 1.25rem;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.7;
}
.nb-article .content li { margin-bottom: 0.55em; }
.nb-article .content .nb-btn { margin-top: 8px; }
.nb-svc-hero { padding: 100px 0 70px; color: #fff; }
.nb-svc-hero .wrap { width: min(100% - 40px, 1180px); margin: 0 auto; }
.nb-svc-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 14ch; margin: 0 0 14px; }
.nb-svc-hero p { max-width: 38rem; opacity: .9; }
.nb-svc-startup { background: linear-gradient(125deg, #064e3b, #0d9488 45%, #046bd2); }
.nb-svc-business { background: linear-gradient(125deg, #1e3a5f, #046bd2 50%, #d97706); }
.nb-svc-enterprise { background: linear-gradient(160deg, #020617, #0f172a 50%, #1e293b); }
.nb-svc-ai { background: linear-gradient(135deg, #083344, #0891b2 40%, #046bd2); }
.nb-list { display: grid; gap: 12px; margin-top: 24px; }
.nb-list li {
  list-style: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: 14px 16px;
}
@media (max-width: 900px) {
  .nb-grid-3, .nb-grid-2, .nb-form .row { grid-template-columns: 1fr; }
}

/* Enquiry form status */
.nb-form { position: relative; }
.nb-form__status {
  min-height: 0;
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  border-radius: 10px;
}
.nb-form__status.is-pending,
.nb-form__status.is-success,
.nb-form__status.is-error {
  padding: 10px 12px;
  margin-bottom: 14px;
}
.nb-form__status.is-pending {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.nb-form__status.is-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.nb-form__status.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.nb-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* Homepage contact block */
.nb-home-contact {
  padding: 96px 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
}
.nb-home-contact__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.nb-home-contact__copy h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  color: #0f172a;
}
.nb-home-form {
  background: #fff;
  border: 1px solid #d8e0ec;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}
@media (max-width: 900px) {
  .nb-home-contact {
    padding: 64px 20px;
  }
  .nb-home-contact__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

