/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1c2b3a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
h1, h2, h3, .brand-text {
  font-family: 'Poppins', 'Inter', sans-serif;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:root {
  --navy-900: #0a2647;
  --navy-800: #0f3460;
  --navy-700: #14497a;
  --blue-500: #1c5d99;
  --gold: #d4a017;
  --gold-light: #f0c454;
  --ink: #1c2b3a;
  --gray-600: #5a6b7b;
  --gray-100: #f4f7fa;
  --gray-200: #e7edf3;
  --radius: 14px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #dce8f5;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  gap: 28px;
  padding: 8px 24px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cfe0f2;
  transition: color .2s;
}
.topbar-item:hover { color: var(--gold-light); }
.topbar-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: var(--navy-900);
}
.brand-text strong { color: var(--navy-900); font-weight: 700; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.main-nav a:not(.nav-cta):hover { color: var(--blue-500); }
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width .25s;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--navy-900);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--blue-500); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .25s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212,160,23,0.35); }
.btn-ghost {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, #123e6b 0%, var(--navy-900) 55%, #071a30 100%);
  color: #fff;
  overflow: hidden;
  padding: 110px 0 130px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.eyebrow {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 1.08rem;
  color: #cfe0f2;
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-decor {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  z-index: 1;
  opacity: 0.08;
}
.hero-decor svg { width: 100%; height: 100%; fill: #fff; stroke: none; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--gray-100); }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.light { max-width: 640px; color: #fff; }
.tag {
  display: inline-block;
  color: var(--blue-500);
  background: rgba(28,93,153,0.08);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head.light .tag {
  color: var(--gold-light);
  background: rgba(255,255,255,0.1);
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy-900);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-head.light h2 { color: #fff; }
.section-sub {
  color: var(--gray-600);
  font-size: 1.02rem;
}
.section-head.light .section-sub { color: #cfe0f2; }

/* Overview */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.overview-grid p { color: var(--gray-600); font-size: 1.02rem; }

/* Services */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  transition: box-shadow .25s, transform .25s;
}
.service-row:hover {
  box-shadow: 0 20px 40px rgba(10,38,71,0.08);
  transform: translateY(-3px);
}
.service-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
}
.service-body h3 {
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.service-body > p {
  color: var(--gray-600);
  margin-bottom: 16px;
}
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 0.94rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* Standards table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.standards-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.standards-table th, .standards-table td {
  text-align: left;
  padding: 18px 24px;
  font-size: 0.98rem;
}
.standards-table thead th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
}
.standards-table tbody tr:nth-child(odd) { background: var(--gray-100); }
.standards-table tbody td:first-child {
  font-weight: 700;
  color: var(--navy-900);
}

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--gray-200);
  transition: transform .25s, box-shadow .25s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,38,71,0.08);
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.08rem; color: var(--navy-900); margin-bottom: 8px; }
.why-card p { color: var(--gray-600); font-size: 0.94rem; }

/* Training in Action */
.training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.training-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
}
.training-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.training-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,38,71,0.45), rgba(10,38,71,0) 45%);
  opacity: 0;
  transition: opacity .3s ease;
}
.training-item:hover::after { opacity: 1; }
.training-item:hover img { transform: scale(1.08); }

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.client-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 22px 20px;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.98rem;
  text-align: center;
  transition: background .2s, transform .2s, color .2s;
}
.client-card:hover {
  background: var(--navy-900);
  color: #fff;
  transform: translateY(-2px);
}

/* Contact */
.section-contact {
  background: radial-gradient(circle at 85% 20%, #123e6b 0%, var(--navy-900) 60%, #071a30 100%);
  color: #fff;
}
.contact-inner { text-align: center; }
.section-contact .section-head { margin-left: auto; margin-right: auto; }
.contact-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 22px 28px;
  min-width: 300px;
  transition: background .2s, transform .2s;
}
.contact-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}
.contact-card svg {
  width: 26px; height: 26px;
  color: var(--gold-light);
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.contact-value {
  display: block;
  font-weight: 600;
  font-size: 1.02rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #071a30;
  color: #9db4c9;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-inner .brand-text { color: #fff; }
.footer-tagline { font-size: 0.9rem; letter-spacing: 0.5px; }
.footer-copy { font-size: 0.82rem; color: #6d859b; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; }
  .service-num { display: none; }
  .training-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .topbar-inner { font-size: 0.78rem; gap: 16px; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.12);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
  .main-nav a.nav-cta { border-bottom: none; text-align: center; margin-top: 12px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 80px 0 90px; }
  .why-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .contact-card { min-width: 100%; }
  .training-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
