:root {
  --navy: #0a1f3d;
  --navy-mid: #123056;
  --navy-light: #1a3d6e;
  --blue: #1d6bb8;
  --blue-hover: #155a9c;
  --gold: #d4a017;
  --text: #1c2430;
  --muted: #5b6775;
  --bg: #f4f7fb;
  --white: #ffffff;
  --line: #d9e2ec;
  --shadow: 0 10px 30px rgba(10, 31, 61, 0.12);
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 170px;
}

body {
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover { background: var(--blue-hover); text-decoration: none; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
}

.btn-outline:hover { background: var(--white); color: var(--navy); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--navy);
}

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

.brand-text h1 {
  font-size: 1.55rem;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-text p {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.locations {
  font-size: 0.78rem;
  color: var(--navy-mid);
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.4px;
}

.badges {
  display: flex;
  align-items: center;
  gap: 14px;
}

.badges img {
  height: 78px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

.badges img[src*="five-years"] {
  height: 90px;
  max-width: 90px;
}

.nav-wrap {
  background: var(--navy);
}

nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: #4dabf7;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 460px;
}

.hero-copy {
  padding: 64px 40px 64px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  text-align: left;
  max-width: none;
}

.hero-copy p { color: #d7e4f2; margin-bottom: 14px; max-width: 520px; }

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 460px;
}

/* Sector cards */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.sector {
  padding: 32px 28px;
  color: var(--white);
  min-height: 210px;
}

.sector h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.sector p { color: #dce7f4; font-size: 0.95rem; margin-bottom: 18px; }

.sector a { color: #fff; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.5px; }
.sector a:hover { text-decoration: underline; }

.sector.one { background: var(--navy-mid); }
.sector.two { background: var(--blue); }
.sector.three { background: #2a4a73; }

.icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* Sections */
section { padding: 72px 0; }

.section-title {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}

.service-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.check {
  color: var(--blue);
  font-weight: 800;
  margin-top: 2px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 36px;
}

.gallery figure {
  background: var(--navy);
  color: white;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.gallery figcaption {
  padding: 10px 10px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-align: center;
}

/* About / accreditations */
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 { color: var(--navy); margin-bottom: 10px; }

.acc-list { list-style: none; }
.acc-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.contact-details p { margin: 8px 0; }

.contact-details a { font-weight: 700; }

form {
  display: grid;
  gap: 12px;
}

label { font-weight: 700; font-size: 0.88rem; color: var(--navy); }

input, textarea, select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  line-height: 48px;
  background: var(--white);
  box-sizing: border-box;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231c2430' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea {
  height: auto;
  min-height: 130px;
  line-height: 1.4;
  padding: 12px 14px;
  resize: vertical;
}

form button { justify-self: start; }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
footer {
  background: var(--navy);
  color: #d7e4f2;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

footer h4 { color: white; margin-bottom: 10px; }

footer a { color: #d7e4f2; }

.legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* Inner pages */
.page-hero {
  background: var(--navy);
  color: white;
  padding: 48px 0;
}

.prose { max-width: 800px; }
.prose h2 { margin: 28px 0 10px; color: var(--navy); }
.prose p { margin-bottom: 12px; }

/* Responsive */
@media (max-width: 980px) {
  html { scroll-padding-top: 130px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 40px 28px; }
  .hero-image img { min-height: 280px; }
  .sectors { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .footer-grid, .services-grid { grid-template-columns: 1fr; }
  .header-top { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .badges img { height: 48px; max-width: 150px; }
  .badges img[src*="five-years"] { height: 54px; max-width: 54px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 96px; }
  .menu-toggle { display: flex; }
  nav { display: none; flex-direction: column; }
  nav.open { display: flex; }
  nav a { padding: 10px 16px; }
  .header-top {
    flex-wrap: nowrap;
    align-items: center;
    padding: 6px 0;
    gap: 8px;
  }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 42px; height: 42px; }
  .brand-text h1 { font-size: 0.95rem; }
  .brand-text p,
  .locations { display: none; }
  .badges { gap: 8px; flex-shrink: 0; }
  .badges img { height: 32px; max-width: 92px; }
  .badges img[src*="five-years"] { height: 38px; max-width: 38px; }
  .gallery { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
