/* NIB Website — shared styles */
:root {
  --navy: #0f2b46;
  --navy-light: #1a3d5c;
  --accent: #e87a2f;
  --accent-hover: #d46a24;
  --green: #2e7d52;
  --green-light: #e8f5ee;
  --text: #1a1a2e;
  --text-light: #5a5a7a;
  --bg: #fafafa;
  --white: #ffffff;
  --border: #e0e0e8;
  --card-bg: #ffffff;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAV */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}
.logo span { color: var(--accent); }
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); font-weight: 700; }

/* SECTIONS */
.section { padding: 56px 0; }
.section-alt { padding: 56px 0; background: var(--white); }

h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-lead {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 720px;
}

/* CARDS */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}
.card h3 { color: var(--navy); }
.card p { color: var(--text-light); font-size: 0.92rem; }

/* GRIDS */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 16px; }
.hero p { color: #b0c4d8; max-width: 680px; margin: 0 auto 28px; font-size: 1.05rem; }

/* CTA */
.cta-block {
  text-align: center;
  padding: 40px 0;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn:hover { background: var(--accent-hover); color: var(--white); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

/* TABLE */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.price-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.88rem;
}
.price-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table .tier-name { font-weight: 700; color: var(--navy); }

/* TESTIMONIALS */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  margin-top: 12px;
}
.testimonial-card .role {
  color: var(--text-light);
  font-size: 0.82rem;
}

/* STATS */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.stat-item {
  text-align: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.stat-item .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-item .label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* MODULE LIST */
.module-list { list-style: none; }
.module-list li {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
}
.module-list li strong { color: var(--navy); }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 10px;
}
.faq-item strong { color: var(--navy); display: block; margin-bottom: 4px; }

/* FORM */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,122,47,0.15);
}

/* STEP LIST */
.steps {
  counter-reset: step;
  list-style: none;
}
.steps li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
}
.steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FOOTER */
footer {
  background: var(--navy);
  color: #8899aa;
  padding: 32px 0;
  font-size: 0.85rem;
  text-align: center;
}
footer p { margin: 4px 0; }
footer a { color: #a8c8e8; }

/* RESPONSIVE */
@media (max-width: 700px) {
  h1 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  nav ul { gap: 12px; flex-wrap: wrap; }
  .nav { flex-direction: column; gap: 10px; }
}

/* hamburger mobile */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border, #ddd);
  border-radius: 8px;
  font-size: 20px;
  padding: 6px 12px;
  cursor: pointer;
}
@media (max-width: 700px) {
  .hamburger { display: block; margin-bottom: 8px; }
  .nav-menu { display: none; }
  .nav-menu.open { display: block; }
}
