:root {
  --brand-navy: #0b1f33;
  --brand-charcoal: #2b2f33;
  --brand-steel: #4f6d8a;
  --brand-cloud: #d1d6db;
  --brand-mist: #8faec6;
  --text-color: #1f2a34;
  --surface: #f7f9fb;
  --white: #ffffff;
  --radius-lg: 1.1rem;
  --radius-md: 0.8rem;
  --shadow-soft: 0 14px 34px rgba(11, 31, 51, 0.12);
  --border-soft: 1px solid rgba(11, 31, 51, 0.14);
  --font-heading: "Antonio", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Serif Pro", "Source Serif 4", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.75;
  background:
    radial-gradient(1000px 380px at 0% 0%, rgba(143, 174, 198, 0.22), transparent 62%),
    radial-gradient(900px 330px at 100% 0%, rgba(79, 109, 138, 0.16), transparent 60%),
    var(--surface);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-navy);
}

a:hover {
  color: var(--brand-steel);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.badge,
.nav-link,
.section-kicker {
  font-family: var(--font-heading);
  color: var(--brand-navy);
  letter-spacing: 0.02em;
}

.btn {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.heading-light {
  font-weight: 300;
}

.heading-normal {
  font-weight: 400;
}

.heading-bold {
  font-weight: 700;
}

.heading-xbold {
  font-weight: 800;
}

.text-body-normal {
  font-family: var(--font-body);
  font-weight: 400;
}

.text-body-bold {
  font-family: var(--font-body);
  font-weight: 700;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-steel);
  margin-bottom: 0.45rem;
}

.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: var(--border-soft);
}

.navbar .nav-link {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--brand-steel);
}

.navbar .dropdown-menu {
  border: var(--border-soft);
  border-radius: 0.7rem;
  box-shadow: 0 14px 26px rgba(11, 31, 51, 0.14);
}

.navbar .dropdown-item {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.4;
  white-space: normal;
}

.navbar .dropdown-item:active,
.navbar .dropdown-item:hover {
  background: rgba(79, 109, 138, 0.12);
}

.mega-menu {
  width: min(1100px, 92vw);
  padding: 1rem;
}

.mega-col {
  min-width: 210px;
  padding: 0.4rem 0.75rem;
}

.mega-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--brand-navy);
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.mega-title a {
  text-decoration: none;
}

.mega-sub {
  display: block;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.22rem 0;
  color: var(--brand-charcoal);
}

.mega-sub:hover {
  color: var(--brand-navy);
  text-decoration: underline;
}

.menu-cta {
  font-size: 0.88rem;
}

.navbar-brand img {
  width: auto;
  height: 54px;
}

.btn-primary-brand {
  --bs-btn-bg: var(--brand-navy);
  --bs-btn-border-color: var(--brand-navy);
  --bs-btn-hover-bg: #091828;
  --bs-btn-hover-border-color: #091828;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
}

.btn-outline-brand {
  --bs-btn-color: var(--brand-navy);
  --bs-btn-border-color: rgba(11, 31, 51, 0.35);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-steel);
  --bs-btn-hover-border-color: var(--brand-steel);
}

.hero {
  padding: 5rem 0 3.4rem;
}

.hero-card {
  border-radius: var(--radius-lg);
  border: var(--border-soft);
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.87);
}

.hero-logo-panel {
  border-radius: var(--radius-md);
  border: var(--border-soft);
  background: linear-gradient(160deg, rgba(79, 109, 138, 0.14), rgba(255, 255, 255, 0.92));
  text-align: center;
}

.hero-logo-panel img {
  width: min(280px, 100%);
  height: auto;
}

.quick-stat {
  border-radius: 0.9rem;
  border: var(--border-soft);
  background: #fff;
  text-align: center;
}

.quick-stat .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: var(--brand-navy);
}

.quick-stat .lbl {
  font-size: 0.95rem;
  color: var(--brand-charcoal);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 1;
}

.hero .lead {
  color: var(--brand-charcoal);
  font-size: 1.12rem;
}

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: var(--border-soft);
  padding: 0.35rem 0.85rem;
  background: rgba(79, 109, 138, 0.1);
  font-family: var(--font-heading);
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.card-soft {
  border-radius: var(--radius-md);
  border: var(--border-soft);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(11, 31, 51, 0.08);
}

.service-card {
  height: 100%;
  border-radius: var(--radius-md);
  border: var(--border-soft);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  font-size: 1.7rem;
}

.service-card p,
.content-card p,
.content-card li {
  color: var(--brand-charcoal);
}

.content-card {
  border-radius: var(--radius-md);
  border: var(--border-soft);
  background: var(--white);
}

.icon-square {
  width: 48px;
  height: 48px;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: rgba(79, 109, 138, 0.12);
  color: var(--brand-navy);
}

.breadcrumb-wrap {
  background: linear-gradient(180deg, rgba(79, 109, 138, 0.12), rgba(79, 109, 138, 0.03));
  border-bottom: var(--border-soft);
  padding: 1.2rem 0;
}

.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb a {
  text-decoration: none;
}

footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4rem;
}

footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.footer-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}

.badge-soft {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  background: rgba(79, 109, 138, 0.12);
  border: 1px solid rgba(79, 109, 138, 0.24);
  color: var(--brand-navy);
}

.table-of-contents a {
  text-decoration: none;
}

.table-of-contents a:hover {
  text-decoration: underline;
}

.social-grid a {
  width: 38px;
  height: 38px;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  color: #fff;
}

.social-grid a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.schema-board {
  border-radius: var(--radius-md);
  border: var(--border-soft);
  background: #fff;
}

.schema-pill {
  display: inline-block;
  padding: 0.52rem 0.95rem;
  border-radius: 0.3rem;
  border: 2px solid #f0f4f8;
  color: #fff;
  font-family: var(--font-heading);
  line-height: 1.15;
  text-decoration: none;
}

.schema-pill:hover {
  color: #fff;
  opacity: 0.9;
}

.schema-gold {
  background: #f3b700;
}

.schema-green {
  background: #72ab48;
}

.schema-blue {
  background: #456db8;
}

.schema-orange {
  background: #ea8c3d;
}

.cta-ribbon {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(120deg, #0b1f33, #355879);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.cta-ribbon p {
  color: rgba(255, 255, 255, 0.9) !important;
}

@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 48px;
  }

  .mega-menu {
    width: 100%;
    max-height: 55vh;
    overflow: auto;
  }

  .hero {
    padding-top: 3.7rem;
  }

  .hero h1 {
    line-height: 1.05;
  }
}
