:root {
  --navy: #0b1f3a;
  --navy-mid: #122a4a;
  --blue: #1557a0;
  --blue-light: #4f9ad8;
  --ice: #eaf3fb;
  --sky: #d4e6f6;
  --ink: #10243f;
  --muted: #5b6e82;
  --line: #d3e1ef;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(11, 31, 58, 0.12);
  --radius: 4px;
  --header-h: 88px;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --red: var(--blue);
  --red-dark: var(--navy-mid);
  --red-deep: var(--navy);
  --burgundy: var(--navy);
  --gold: var(--blue-light);
  --gold-deep: #73b3e7;
  --cream: var(--ice);
  --blush: var(--sky);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

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

a:hover {
  color: var(--red-dark);
}

h1,
h2,
h3,
h4,
.serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: var(--red);
  color: #fff;
  padding: 0.5rem 0.85rem;
  z-index: 2000;
}

.skip-link:focus {
  top: 0.5rem;
  color: #fff;
}

/* Utility bar */
.utility-bar {
  background: #071526;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.utility-bar a {
  color: var(--gold);
}

.utility-bar a:hover {
  color: #fff;
}

.utility-bar .flag-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 2px #fff;
}

/* Header */
.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1040;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.brand:hover {
  color: var(--blue-light);
}

.brand img {
  width: 380px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.brand-text small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  padding: 0.45rem 0.9rem !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.icon-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

@media (min-width: 992px) {
  .header-tools {
    order: 3;
    margin-left: 0.75rem;
  }

  .navbar-collapse {
    order: 2;
  }
}

/* Search overlay */
.search-panel {
  display: none;
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-panel .text-muted {
  color: rgba(255, 255, 255, 0.55) !important;
}

.search-panel.open {
  display: block;
}

.search-panel .form-control {
  border: 0;
  border-bottom: 2px solid var(--blue-light);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  padding-left: 0;
  box-shadow: none;
}

.search-panel .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.site-header .btn-red {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.site-header .btn-red:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--navy);
}

/* Buttons */
.btn-red {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.btn-outline-red {
  border: 1.5px solid var(--red);
  color: var(--red);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  background: transparent;
}

.btn-outline-red:hover {
  background: var(--red);
  color: #fff;
}

.link-arrow {
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link-arrow i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.link-arrow:hover i {
  transform: translateX(4px);
}

/* Eyebrow */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--red);
  display: inline-block;
  margin-bottom: 0.55rem;
}

.eyebrow.light {
  color: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--muted);
  max-width: 38rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.92) 0%, rgba(18, 42, 74, 0.62) 52%, rgba(79, 154, 216, 0.28) 100%),
    linear-gradient(180deg, transparent 40%, rgba(11, 31, 58, 0.45) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4.5rem 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  max-width: 12ch;
  margin-bottom: 1.25rem;
}

.hero p {
  max-width: 36rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-accent {
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin: 1.25rem 0 1.5rem;
}

/* Split service cards */
.service-split {
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--white);
  box-shadow: var(--shadow);
  min-height: 100%;
  padding: 2.1rem 2rem 1.75rem;
  border-top: 6px solid var(--red);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(11, 31, 58, 0.16);
}

.service-card .icon-wrap {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
}

.service-card h2 {
  font-size: 2.15rem;
  margin-bottom: 0.7rem;
}

.kicker {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Discover */
.discover {
  background: var(--cream);
}

.discover-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.discover-panel::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border: 18px solid var(--blush);
  border-radius: 50%;
  z-index: -1;
}

/* Search band */
.search-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-mid) 46%, #1a4f86 100%);
  color: #fff;
  position: relative;
}

.search-band::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  background: linear-gradient(180deg, var(--blue-light), var(--navy-mid));
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.55;
}

.search-band .container {
  position: relative;
  z-index: 1;
}

.search-tile {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow);
}

.search-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(11, 31, 58, 0.18);
}

.search-tile img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.search-tile .body {
  padding: 1.45rem 1.5rem 1.6rem;
  background: var(--white);
}

.search-tile h3 {
  color: var(--navy);
  font-size: 1.55rem;
}

.search-tile p {
  color: var(--muted);
}

.search-tile a {
  color: var(--blue);
}

.search-tile a:hover {
  color: var(--navy);
}

/* Apply */
.apply-card {
  border: 1px solid var(--line);
  padding: 1.7rem;
  height: 100%;
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.apply-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.apply-card img {
  width: 72px;
  margin-bottom: 1rem;
}

.apply-card h3 {
  font-size: 1.4rem;
}

.status-panel {
  background: var(--blush);
  padding: 2.4rem;
  height: 100%;
}

.status-panel img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  margin-bottom: 1.2rem;
}

/* Resources */
.resource-card {
  background: var(--cream);
  padding: 1.6rem;
  height: 100%;
  border-left: 4px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.resource-card:hover {
  border-left-color: var(--red);
  background: var(--blush);
}

.resource-card img {
  width: 64px;
  margin-bottom: 0.85rem;
}

/* Featured carousel */
.featured {
  background: linear-gradient(135deg, var(--navy) 0%, #1557a0 58%, var(--blue-light) 100%);
  color: #fff;
}

.featured .carousel-item {
  min-height: 520px;
}

.featured-slide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
}

.featured-copy {
  padding: 4rem 3rem 3.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.featured-copy p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}

.featured-visual {
  position: relative;
}

.featured-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.featured-visual::before {
  content: "";
  position: absolute;
  inset: 24px auto 24px -24px;
  width: 24px;
  background: var(--red);
}

.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  top: auto;
  bottom: 1.5rem;
  opacity: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.carousel-control-prev {
  left: auto;
  right: 5.2rem;
}

.carousel-control-next {
  right: 1.4rem;
}

/* Insights */
.insights-tabs .nav-link {
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  border-radius: 0;
  font-weight: 650;
  padding: 0.7rem 1rem;
}

.insights-tabs .nav-link.active {
  color: var(--red);
  background: transparent;
  border-bottom-color: var(--red);
}

.news-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  color: var(--muted);
  font-size: 0.86rem;
}

.news-item h3 {
  font-size: 1.25rem;
  margin: 0.25rem 0 0.4rem;
}

.event-card {
  border: 1px solid var(--line);
  padding: 1.25rem;
  height: 100%;
}

.event-card .when {
  color: var(--red);
  font-weight: 700;
  font-size: 0.88rem;
}

.badge-live {
  background: var(--blush);
  color: var(--red);
  font-weight: 650;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

/* Page hero */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 70%, var(--blue-light) 100%);
  color: #fff;
  padding: 4.5rem 0 3.4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border: 24px solid rgba(79, 154, 216, 0.28);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0.8rem;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: var(--gold);
  font-size: 0.88rem;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* About */
.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--line);
}

.stat-box:last-child {
  border-right: 0;
}

.stat-box .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--red);
  display: block;
}

.value-card {
  padding: 1.6rem;
  background: var(--cream);
  height: 100%;
}

.value-card i {
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.timeline {
  position: relative;
  padding-left: 1.75rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.6rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--blush);
}

/* Contact */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem;
  height: 100%;
}

.contact-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  color: var(--red);
  border-radius: 50%;
  margin-bottom: 0.7rem;
}

.form-shell {
  background: var(--cream);
  padding: 2rem;
}

.form-control,
.form-select {
  border-radius: 0;
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.2rem rgba(21, 87, 160, 0.16);
}

.form-label {
  font-weight: 650;
  font-size: 0.9rem;
}

.map-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: #fff;
  margin: 0;
}

.footer-brand:hover {
  color: var(--blue-light);
}

.footer-brand img {
  width: 200px;
}

.social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  margin: 0;
}

.social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

@media (max-width: 575.98px) {
  .footer-bar {
    flex-wrap: wrap;
  }
  .brand img {
    width: 170px;
    height: auto;
}
}

.back-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1030;
  border: 0;
}

.back-top.show {
  display: inline-flex;
}

.disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.form-success {
  display: none;
}

.form-success.show {
  display: block;
}

.inquiry-modal .modal-content {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.inquiry-modal .modal-header {
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: #fff;
  border: 0;
  padding: 1.25rem 1.4rem;
}

.inquiry-modal .modal-header .btn-close {
  filter: invert(1);
}

.inquiry-modal .modal-body {
  padding: 1.5rem 1.4rem 1.7rem;
}

.inquiry-modal .modal-title {
  font-family: var(--serif);
  font-size: 1.55rem;
}

@media (max-width: 991.98px) {
  .hero-inner {
    padding: 3.5rem 15px;
  }
  .service-split {
    margin-top: 1.5rem;
  }

  .search-band::after {
    width: 100%;
    clip-path: none;
    opacity: 0.2;
  }

  .featured-slide {
    grid-template-columns: 1fr;
  }

  .featured-copy {
    padding: 2.4rem 0 1.5rem;
  }

  .featured-visual img,
  .featured .carousel-item {
    min-height: 280px;
  }

  .featured-visual::before {
    display: none;
  }

  .stat-box {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .navbar-collapse {
    padding: 1rem 0 1.2rem;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }
}
