/* =========================================
   Networks One Consulting Group LLC
   Primary color: Blue theme
   ========================================= */

:root {
  --blue-900: #0d1b3e;
  --blue-800: #112d6b;
  --blue-700: #1a44a3;
  --blue-600: #1d51c7;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --dark:     #0a1628;
  --dark-2:   #0f2040;
  --mid:      #1e3a5f;

  --text:     #e2e8f0;
  --text-mid: #94a3b8;
  --text-dark:#1e293b;

  --white:    #ffffff;
  --surface:  #f8faff;
  --border:   #1e3a6e;

  --radius:   10px;
  --shadow:   0 4px 24px rgba(37,99,235,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVBAR ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-n1 {
  background: var(--blue-500);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  line-height: 1.1;
}
.logo-sub {
  font-size: 10px;
  color: var(--blue-300);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: rgba(37,99,235,0.15);
  color: var(--blue-300);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37,99,235,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 10% 80%, rgba(29,81,199,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--blue-400); }

.hero-desc {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badges {
  max-width: 1160px;
  margin: 60px auto 0;
  width: 100%;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.badge {
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: var(--radius);
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-300);
  line-height: 1;
}
.badge-label {
  font-size: 12px;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blue-500);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--blue-400); color: var(--blue-300); background: rgba(37,99,235,0.08); }
.btn-full { width: 100%; text-align: center; }

/* ---- SECTIONS ---- */
.section { padding: 96px 0; }
.section-dark {
  background: var(--dark-2);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--blue-300); }

h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.section-dark h2 { color: var(--white); }

.section-desc {
  font-size: 16px;
  color: #64748b;
  line-height: 1.7;
}
.section-dark .section-desc { color: var(--text-mid); }

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-300);
}
.service-card.featured {
  border-color: var(--blue-400);
  background: linear-gradient(135deg, #eff6ff, #f8faff);
  grid-column: span 1;
}

.service-icon {
  width: 48px; height: 48px;
  background: var(--blue-50);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 24px; height: 24px;
  stroke: var(--blue-600);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.65;
}
.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card ul li {
  font-size: 13px;
  color: #475569;
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
}

/* ---- ABOUT ---- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-content p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-cta { margin-top: 32px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-300);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ---- INDUSTRIES ---- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.industry-card {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 10px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-800);
  transition: background 0.2s, border-color 0.2s;
}
.industry-card:hover { background: var(--blue-100); border-color: var(--blue-300); }
.ind-icon { font-size: 28px; }

.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.vp {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.vp-icon {
  width: 28px; height: 28px;
  background: var(--blue-500);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.vp strong { display: block; margin-bottom: 4px; color: var(--text-dark); }
.vp p { font-size: 14px; color: #64748b; margin: 0; }

/* ---- CONTACT ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info p {
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-300);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-item:hover { color: var(--white); }
.contact-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-item span { color: var(--text); }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #475569; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue-400); background: rgba(37,99,235,0.08); }

.form-success {
  background: rgba(37,99,235,0.15);
  border: 1px solid var(--blue-400);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--blue-300);
  font-size: 14px;
  text-align: center;
}

/* ---- FOOTER ---- */
.footer {
  background: #060e1e;
  border-top: 1px solid rgba(37,99,235,0.15);
  color: var(--text-mid);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue-300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  font-size: 13px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .hero h1 { font-size: 40px; }
  .hero-badges { gap: 12px; }
  .badge { padding: 12px 20px; }

  .about-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .about-stats { grid-template-columns: 1fr; }
}
