/* NB Tech AI Solutions — nbtechai.com */

:root {
  --navy:        #0B1F3A;
  --navy-mid:    #1B3A5C;
  --navy-light:  #2A527A;
  --forest:      #1B4332;
  --forest-mid:  #2D6A4F;
  --teal:        #0E6B8A;
  --teal-light:  #1A8FAD;
  --ice:         #F0F6FF;
  --ice-green:   #F0F7F4;
  --border:      #D1DCE8;
  --text:        #0F172A;
  --muted:       #5A6E82;
  --white:       #FFFFFF;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  margin: 0;
  padding: 0;
}

/* ── NAVBAR ── */
.navbar {
  background: rgba(11, 31, 58, 0.97) !important;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}
.navbar-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white) !important;
  letter-spacing: -0.3px;
}
.navbar-brand span { color: #5BB8D4; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem !important;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover { color: var(--white) !important; }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  border-radius: 6px !important;
  padding: 0.4rem 1.2rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-light) !important; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/forest-aerial.jpg');
  background-size: cover;
  background-position: center center;
  filter: brightness(0.32) saturate(0.7);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,31,58,0.75) 0%,
    rgba(27,67,50,0.55) 50%,
    rgba(11,31,58,0.65) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: rgba(91,184,212,0.15);
  border: 1px solid rgba(91,184,212,0.35);
  color: #93D4E8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin-bottom: 1.3rem;
}
.hero h1 em {
  font-style: normal;
  color: #93D4E8;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}
.hero-identifiers {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.3px;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-identifiers span { margin-right: 2rem; }
.btn-primary-custom {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary-custom:hover {
  background: var(--teal-light);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-custom {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-block;
  margin-left: 1rem;
  transition: all 0.2s;
}
.btn-outline-custom:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

/* ── SECTIONS ── */
section { padding: 90px 0; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.4px;
}
.section-sub {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
}
.divider {
  width: 44px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 1rem 0 1.8rem;
}

/* ── COMPETENCY CARDS ── */
.comp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.8rem;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.comp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--forest-mid));
  border-radius: 12px 12px 0 0;
}
.comp-card:hover {
  box-shadow: 0 10px 32px rgba(11,31,58,0.1);
  transform: translateY(-4px);
}
.comp-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comp-icon svg { width: 26px; height: 26px; }
.comp-icon-fire  { background: rgba(14,107,138,0.1); }
.comp-icon-ai    { background: rgba(27,67,50,0.1); }
.comp-icon-cyber { background: rgba(11,31,58,0.08); }
.comp-icon-cv    { background: rgba(14,107,138,0.1); }
.comp-icon-data  { background: rgba(27,67,50,0.1); }
.comp-icon-code  { background: rgba(11,31,58,0.08); }
.comp-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.comp-card p {
  font-size: 0.855rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── IMAGE CARDS (satellite/forest imagery) ── */
.img-feature {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.img-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.img-feature:hover img { transform: scale(1.04); }
.img-feature-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(11,31,58,0.85) 0%, transparent 100%);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 1.5rem 1.2rem 1rem;
  text-transform: uppercase;
}

/* ── SERVICES TABLE ── */
.services-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(11,31,58,0.08);
}
.services-table table { margin: 0; }
.services-table thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border: none;
}
.services-table tbody td {
  padding: 0.95rem 1.5rem;
  font-size: 0.9rem;
  border-color: var(--border);
  vertical-align: middle;
}
.services-table tbody tr:hover { background: var(--ice); }
.rate-badge {
  background: rgba(14,107,138,0.1);
  color: var(--teal);
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  font-size: 0.86rem;
  border: 1px solid rgba(14,107,138,0.2);
}

/* ── PAST PERFORMANCE ── */
.perf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  height: 100%;
}
.perf-card .agency-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}
.perf-card h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.55rem;
}
.perf-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── DEMO / DARK SECTION ── */
.demo-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.demo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/satellite-overlay.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 0;
}
.demo-section .container { position: relative; z-index: 1; }
.demo-section .section-label { color: #93D4E8; }
.demo-section .section-title { color: var(--white); }
.demo-section .section-sub { color: rgba(255,255,255,0.6); }
.demo-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 2.5rem 2rem;
}
.demo-card h4 {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.demo-card p {
  color: rgba(255,255,255,0.58);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.feature-list { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.feature-list li {
  color: rgba(255,255,255,0.7);
  font-size: 0.86rem;
  padding: 0.38rem 0;
  padding-left: 1.4rem;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5BB8D4;
}
.demo-icon-graphic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(91,184,212,0.15);
  border: 1px solid rgba(91,184,212,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.demo-icon-graphic svg { width: 28px; height: 28px; color: #5BB8D4; }

/* ── ABOUT ── */
.about-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(11,31,58,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 1rem 1.3rem;
  color: white;
}
.about-img-badge .name { font-weight: 700; font-size: 0.92rem; }
.about-img-badge .title { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 0.15rem; }
.credential-badge {
  display: inline-block;
  background: var(--ice);
  border: 1px solid var(--border);
  color: var(--navy-mid);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  margin: 0.2rem;
}

/* ── COMPANY DATA BLOCK ── */
.data-section { background: var(--navy); padding: 70px 0; }
.data-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 2rem;
}
.data-block h5 {
  color: #93D4E8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.875rem;
}
.data-row:last-child { border-bottom: none; }
.data-row .label { color: rgba(255,255,255,0.45); }
.data-row .value { color: var(--white); font-weight: 600; }
.naics-chip {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.8);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 5px;
  margin: 0.2rem;
  font-family: 'Courier New', monospace;
}

/* ── CONTACT ── */
.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.78rem 1rem;
  font-size: 0.88rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,107,138,0.1);
}
.contact-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  display: block;
  letter-spacing: 0.3px;
}
.btn-submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.95rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  letter-spacing: 0.3px;
}
.btn-submit:hover { background: var(--navy-mid); }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ice);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; color: var(--teal); }
.contact-info-item .text { font-size: 0.88rem; color: var(--muted); line-height: 1.5; padding-top: 0.1rem; }
.contact-info-item .text strong { color: var(--navy); display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.15rem; }

/* ── FOOTER ── */
footer {
  background: #060F1C;
  color: rgba(255,255,255,0.45);
  padding: 2.8rem 0;
  font-size: 0.8rem;
  text-align: center;
}
footer .footer-brand { color: var(--white); font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
footer .footer-brand span { color: #5BB8D4; }
footer .footer-ids { margin: 0.5rem 0; letter-spacing: 0.2px; }
footer a { color: rgba(255,255,255,0.45); text-decoration: none; }
footer a:hover { color: #5BB8D4; }

/* ── ALT BG ── */
.bg-ice { background: var(--ice); }
.bg-ice-green { background: var(--ice-green); }
