:root {
  --navy: #071d3a;
  --blue: #123b6d;
  --blue-grey: #182b3e;
  --blue-grey-dark: #101f30;
  --gold: #c8a348;
  --gold-light: #f0d27b;
  --light: #f4f6f8;
  --white: #ffffff;
  --text: #243043;
  --muted: #667085;
  --border: #dfe5ec;
  --shadow: 0 18px 45px rgba(7, 29, 58, 0.1);
}

/* GENERAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.8rem;
  cursor: pointer;
}

/* HERO */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: url("../images/hero.jpg") center / cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 29, 58, 0.92),
    rgba(7, 29, 58, 0.63) 58%,
    rgba(7, 29, 58, 0.35)
  );
}

.hero-content {
  position: relative;
  max-width: 840px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
  padding-block: 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1.02;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-copy {
  max-width: 760px;
  margin: 0 0 30px;
  color: #eef3f8;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 25px rgba(200, 163, 72, 0.25);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
}

/* SECTIONS */

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--light);
}

h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.12;
}

h3 {
  color: var(--navy);
  line-height: 1.25;
}

.section-intro {
  max-width: 800px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.06rem;
}

/* SERVICE CARDS */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.service-card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 9px 24px rgba(7, 29, 58, 0.06);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

/* REGIONS — DARK BLUE-GREY */

#regions {
  background:
    radial-gradient(
      circle at top right,
      rgba(38, 69, 98, 0.5),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      #1d3145 0%,
      #182b3e 48%,
      #101f30 100%
    );
  color: var(--white);
}

#regions h2,
#regions h3 {
  color: var(--white);
}

#regions .section-intro {
  color: rgba(255, 255, 255, 0.8);
}

#region,
.region-content {
  scroll-margin-top: 105px;
}

.region-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.region-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.region-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.region-btn.active {
  border-color: var(--gold);
  background: var(--navy);
  color: var(--white);
}

.region-content {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
}

.region-content[hidden] {
  display: none;
}

.region-content > h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 2rem;
}

.region-content > p {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.78);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.region-grid > div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
}

.region-grid strong,
.region-grid span {
  display: block;
}

.region-grid strong {
  color: var(--gold-light);
}

.region-grid span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.region-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#regions .btn-primary {
  background: var(--gold);
  color: var(--navy);
}

/* ACCREDITATION */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.logo-card {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(7, 29, 58, 0.05);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.logo-card img {
  max-width: 110px;
  max-height: 72px;
  object-fit: contain;
}

.logo-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 28px rgba(7, 29, 58, 0.12);
}

.accreditation-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.accreditation-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(7, 29, 58, 0.16);
}

.accreditation-link span {
  display: inline-block;
  margin-top: 12px;
  color: #b68a2e;
  font-weight: 700;
}

/* STATISTICS */

.stats-section {
  background: var(--navy);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stats-grid > div {
  padding: 20px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--gold-light);
  font-size: 2.6rem;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 10px;
  color: #e5ebf2;
}

/* CONTACT */

.contact-section {
  background: #0b264b;
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

.light-text {
  color: #dfe7ef;
}

#contact .container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

#contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 900px;
  margin: 32px auto 0;
}

#contact .contact-card {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 140px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: inherit;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}

#contact .contact-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.13);
}

#contact .contact-card strong {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  color: var(--gold-light);
}

#contact .contact-card span {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
}

/* FOOTER */

.site-footer {
  padding: 30px 0;
  background: #05162d;
  color: #cbd5e1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-inner p {
  margin: 4px 0 0;
}

/* TABLET */

@media (max-width: 1000px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE NAVIGATION */

@media (max-width: 800px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 22px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 570px;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-overlay {
    background: rgba(7, 29, 58, 0.82);
  }

  .section {
    padding: 64px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* SMALL MOBILE */

@media (max-width: 650px) {
  #contact .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .cards-grid,
  .region-grid,
  .region-grid-six,
  .logo-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .region-content {
    padding: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  #contact .container {
    width: calc(100% - 28px);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}