:root {
  --blue: #184f9c;
  --blue-dark: #11366b;
  --teal: #007f7a;
  --green: #5f8f2f;
  --gold: #f4b63f;
  --ink: #203040;
  --muted: #5d6b78;
  --line: #dce4ea;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(26, 55, 88, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--blue);
}

a:hover,
a:focus {
  color: var(--teal);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

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

.header-inner,
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 150px;
}

.brand span {
  display: block;
  max-width: 210px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav a {
  padding: 0.65rem 0.75rem;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

.nav a:hover,
.nav a:focus {
  color: var(--blue);
  background: var(--soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button.secondary {
  color: var(--blue);
  background: var(--white);
}

.button.secondary:hover,
.button.secondary:focus {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.button.gold {
  color: #1f2933;
  background: var(--gold);
  border-color: var(--gold);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: var(--white);
  background: #18395f;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/grassphoto.JPG") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 34, 59, 0.88), rgba(9, 34, 59, 0.58) 48%, rgba(9, 34, 59, 0.24));
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6rem 0 4.5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #d7f4f2;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 7vw, 5.3rem);
}

h2 {
  color: var(--blue-dark);
  font-size: clamp(1.85rem, 4vw, 2.8rem);
}

h3 {
  color: var(--ink);
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 720px;
  margin: 1.2rem 0 0;
  color: #edf6ff;
  font-size: 1.16rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
}

.trust-item {
  display: grid;
  place-items: center;
  min-height: 78px;
  padding: 0.6rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.trust-item img {
  max-height: 58px;
  object-fit: contain;
}

section {
  padding: 4.5rem 0;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-intro p {
  max-width: 650px;
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.soft-section {
  background: var(--soft);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card,
.feature {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
  object-fit: cover;
  border-radius: 6px;
}

.card p,
.feature p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.card a {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.feature {
  border-left: 4px solid var(--teal);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.link-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: block;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.language-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.language-grid a {
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.contact-band {
  color: var(--white);
  background: var(--blue-dark);
}

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

.contact-band p,
.contact-band a {
  color: #e9f5ff;
}

.page-hero {
  padding: 4rem 0;
  color: var(--white);
  background: linear-gradient(90deg, rgba(17, 54, 107, 0.94), rgba(0, 127, 122, 0.82)), url("images/bannerphoto1.jpg") center / cover no-repeat;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.1rem);
}

.breadcrumbs {
  margin: 0 0 1rem;
  color: #d7f4f2;
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: #ffffff;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}

.content-panel {
  min-width: 0;
}

.content-panel p,
.content-panel li {
  color: #3f4e5c;
}

.content-panel ul {
  padding-left: 1.2rem;
}

.sidebar {
  position: sticky;
  top: 110px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.sidebar h2 {
  font-size: 1.2rem;
}

.legacy-note {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
}

.site-footer {
  padding: 2.2rem 0;
  color: #dfeaf5;
  background: #152536;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer a {
  color: #ffffff;
}

.site-footer p {
  margin: 0.35rem 0;
}

@media (max-width: 920px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.3rem;
  }

  .hero {
    min-height: 560px;
  }

  .trust-grid,
  .cards-4,
  .cards-3,
  .split,
  .content-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .container,
  .hero-content {
    width: min(100% - 24px, 1120px);
  }

  .brand img {
    width: 128px;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero-content {
    padding: 5rem 0 3.25rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  section {
    padding: 3rem 0;
  }

  .button {
    width: 100%;
  }
}
