/* ===========================
   RESET / BASE
   =========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #1f2933;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Page wrapper (optional, used on most pages) */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout container */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===========================
   TOP BAR
   =========================== */

.top-bar {
  background: #0b3976;
  color: #e5edf9;
  font-size: 0.85rem;
}

.top-bar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
}

.top-bar__link {
  text-decoration: underline;
}

/* ===========================
   HEADER / NAVIGATION
   =========================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e1e7f0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

/* Brand / logo */

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b3976, #0b63ce);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(11, 57, 118, 0.35);
}

.logo-mark--small {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(11, 57, 118, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text__main {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
}

.logo-text__sub {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Nav links */

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: #1f2933;
  font-weight: 500;
}

.site-nav a:hover {
  color: #0b63ce;
}

/* Header actions (right side of header) */

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    transform 0.1s ease;
}

/* Premium primary CTA */

.btn--primary {
  background: linear-gradient(135deg, #0b3976, #0b63ce);
  border-color: #0b4a9a;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 57, 118, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #092e5d, #0b4a9a);
  border-color: #092e5d;
  box-shadow: 0 10px 26px rgba(9, 46, 93, 0.35);
  transform: translateY(-1px);
}

/* Outline/secondary button */

.btn--secondary {
  background: #ffffff;
  border-color: #0b63ce;
  color: #0b63ce;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

.btn--secondary:hover {
  background: #e8f1ff;
}

/* Ghost / quiet button */

.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: #374151;
}

.btn--ghost:hover {
  background: #edf2f7;
}

/* ===========================
   MOBILE NAV TOGGLE
   =========================== */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===========================
   HERO
   =========================== */

.hero {
  background: radial-gradient(circle at top left, #e3f2ff, #f5f7fb);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid #dbe3f3;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 1rem;
  color: #102a43;
}

.hero__content p {
  max-width: 540px;
  font-size: 1rem;
  color: #4b5563;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero aside card */

.hero__aside {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.hero-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #111827;
}

.hero-card p {
  font-size: 0.95rem;
  color: #4b5563;
}

.hero-card__list {
  margin: 0.9rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: #374151;
}

.hero-card__list li + li {
  margin-top: 0.3rem;
}

/* ===========================
   GENERIC SECTIONS
   =========================== */

.section {
  padding: 3rem 0;
}

.section--alt {
  background: #eef2fb;
}

.section__title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  color: #102a43;
}

.section__subtitle {
  text-align: center;
  margin: 0 0 2rem;
  color: #4b5563;
  font-size: 0.98rem;
}

/* ===========================
   GRID & CARDS
   =========================== */

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: #111827;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Variant for certification cards */

.card--cert {
  border-top: 3px solid #0b63ce;
}

.card__tagline {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.card__link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: #0b63ce;
  font-weight: 500;
}

/* ===========================
   CTA BAND
   =========================== */

.cta-band {
  background: radial-gradient(circle at top left, #0b3976, #0b63ce);
  color: #ffffff;
  padding: 2.5rem 0;
  margin-top: 1rem;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.cta-band p {
  margin: 0;
  font-size: 0.95rem;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  background: #0b1220;
  color: #d1d5db;
  padding-top: 2rem;
  margin-top: 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #111827;
}

.site-footer__text {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

.site-footer__col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__col li + li {
  margin-top: 0.25rem;
}

.site-footer__col a {
  font-size: 0.9rem;
  color: #9ca3af;
}

.site-footer__col a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  padding: 0.8rem 0;
  background: #050814;
}

.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
 	align-items: center;
  font-size: 0.8rem;
  color: #6b7280;
}

.site-footer__bottom-inner a {
  color: #9ca3af;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__aside {
    justify-content: flex-start;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  /* Mobile nav behavior */
  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    display: none;
  }

  .site-nav--open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    align-items: center;
  }

  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-band__inner {
    align-items: flex-start;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
