:root {
  --primary: #0f3d66;
  --primary-dark: #0b2f4f;
  --secondary: #16a2b8;
  --light: #f4f7fb;
  --text: #1f2a37;
  --muted: #667085;
  --white: #ffffff;
  --success: #1f9d5b;
  --shadow: 0 8px 25px rgba(15, 61, 102, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

header {
  background: var(--white);
  border-bottom: 1px solid #e5eaf1;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

nav a {
  color: var(--text);
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
}

nav a.active,
nav a:hover {
  background: #eaf3fb;
  text-decoration: none;
}

.hero {
  background: linear-gradient(rgba(11, 47, 79, 0.72), rgba(11, 47, 79, 0.72)),
    url("../images/hero.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 5.5rem 0;
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.2;
}

.hero p {
  max-width: 650px;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  font-weight: 700;
  margin-right: 0.5rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
}

.btn-primary:hover {
  background: #1292a6;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

section {
  padding: 3.5rem 0;
}

.section-title {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--primary-dark);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0.2rem;
  color: var(--primary-dark);
}

.feature-image {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #e8edf3;
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.page-hero {
  background: var(--light);
  border-bottom: 1px solid #dce5f0;
  padding: 2.2rem 0;
}

.page-hero h1 {
  margin: 0;
  color: var(--primary-dark);
}

.meta {
  color: var(--muted);
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}

textarea {
  min-height: 150px;
}

footer {
  background: #0b2238;
  color: #c7d3e0;
  padding: 2rem 0;
  margin-top: 2rem;
}

footer a {
  color: #e5eff8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.stat {
  background: #eef6ff;
  border: 1px solid #d7e6f5;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.stat h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1.7rem;
}

.stat p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.footer-bottom {
  border-top: 1px solid #24425f;
  margin-top: 1.2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.legal-list li {
  margin-bottom: 0.8rem;
}

@media (max-width: 860px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
