/* Beyond Just Leadership — Shared Stylesheet */

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

:root {
  --navy: #1B3A5C;
  --blue: #2E75B6;
  --accent: #E8734A;
  --green: #27AE60;
  --dark: #0F1F30;
  --mid: #6B7280;
  --light: #F5F5F3;
  --border: #E5E7EB;
  --white: #FFFFFF;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 60px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-brand {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.4px;
}

.nav-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 14px;
  color: var(--mid);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dark); }

.nav-cta {
  background: var(--dark);
  color: white !important;
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--navy) !important; }

.nav-login {
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  border: 1.5px solid var(--border);
  padding: 7px 16px;
  border-radius: 7px;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
  margin-left: auto;
  margin-right: 10px;
}
.nav-login:hover { border-color: var(--dark); color: var(--dark); text-decoration: none; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  display: inline-block;
  letter-spacing: -0.2px;
}

.btn-primary:hover { background: #d4623b; transform: translateY(-1px); }

.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  display: inline-block;
}

.btn-outline-white:hover { border-color: rgba(255,255,255,0.5); color: white; }

.btn-dark {
  background: var(--dark);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
}

.btn-dark:hover { background: var(--navy); }

.btn-white {
  background: white;
  color: var(--accent);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.1s;
  letter-spacing: -0.3px;
}

.btn-white:hover { transform: translateY(-2px); }

/* ── LAYOUT ── */
.section { padding: 104px 80px; }
.section-white { background: white; }
.section-light { background: var(--light); }
.section-dark { background: var(--dark); }
.section-navy { background: var(--navy); }
.container { max-width: 1080px; margin: 0 auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ── TYPE ── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

h1 {
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -3px;
  color: var(--dark);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 20px;
}

h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 60px;
}

.body-text {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: #091520;
  padding: 160px 80px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .eyebrow { color: var(--accent); }
.page-hero .eyebrow::before { background: var(--accent); }

.page-hero h1 {
  color: white;
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 540px;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 40px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}

/* ── CARDS ── */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px;
  transition: border-color 0.2s, transform 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover { border-color: var(--accent); transform: translateY(-2px); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.card p { font-size: 14px; color: var(--mid); line-height: 1.75; }

.card-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--accent);
  padding: 104px 80px;
  text-align: center;
}

.cta-section h2 { color: white; }
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin: 18px auto 44px;
  line-height: 1.65;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 44px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  font-size: 14px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.3px;
}

.footer-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-top: 5px;
}

footer p { font-size: 13px; color: rgba(255,255,255,0.3); font-style: italic; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover { background: var(--light); }
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 62px; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  z-index: 99;
  padding: 20px 24px 28px;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-cta {
  margin-top: 16px;
  background: var(--accent);
  color: white !important;
  text-align: center;
  border-radius: 8px;
  padding: 14px !important;
  font-weight: 700 !important;
  border-bottom: none !important;
}

/* ── RESPONSIVE ── */

/* Tablet / iPad — collapse nav at 1200px so 6-item nav doesn't overflow */
@media (max-width: 1200px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-cta { display: none; } /* shown inside mobile menu instead */
  .nav-hamburger { display: flex; order: -1; margin-left: -8px; margin-right: 8px; }
}

/* Tablet layout — reflow grids and reduce padding */
@media (max-width: 900px) {
  .section { padding: 72px 32px; }
  .page-hero { padding: 120px 32px 60px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 40px 32px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 40px 32px; }
}

/* Mobile — tighten spacing further */
@media (max-width: 600px) {
  .section { padding: 56px 20px; }
  .page-hero { padding: 100px 20px 48px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 28px 20px; gap: 20px; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .stat-num { font-size: 32px; }
  footer { padding: 32px 20px; }
}
