/* === Base === */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: #f5f7fa;
  color: #333;
}

/* === Header === */
header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #002855;
}

header img {
  height: 80px;
}

/* === Navigation === */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #002855;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  display: block;
}

nav a:hover {
  background-color: #00507a;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  width: 100%;
  text-align: right;
}

/* === Hero (index page) === */
.hero {
  background: url('hero-background.webp') no-repeat center center/cover;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  text-align: center;
}

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

/* === Description === */
.description {
  font-size: 1.2rem;
  text-align: center;
  padding-top: 20px;
  font-weight: 600;
  max-width: 80%;
  margin: 0 auto;
  color: #002855;
}

.description.hero-description {
  font-size: 2rem;
}

/* === Content sections === */
.section {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.section h2 {
  color: #002855;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.section p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.section ul {
  padding-left: 1.5rem;
}

.section ul li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Subpage headings: uppercase style */
.section h2.subpage-title {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: bold;
}

/* === Buttons === */
.cta-button, .back-button {
  display: inline-block;
  padding: 1rem 2rem;
  margin-top: 1.5rem;
  background-color: #002855;
  color: white;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
}

.cta-button:hover, .back-button:hover {
  background-color: #00507a;
}

.back-button {
  background-color: #777;
}

/* === Contact form === */
label {
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}

input, textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

button {
  padding: 1rem 2rem;
  font-size: 1rem;
  background-color: #002855;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #00507a;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #777;
  background-color: white;
  margin-top: 3rem;
}

/* === Mobile responsive === */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    flex-direction: column;
    align-items: stretch;
  }

  nav a {
    display: none;
    text-align: center;
    padding: 0.75rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  nav.open a {
    display: block;
  }

  .hero {
    height: 250px;
  }

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

  .description.hero-description {
    font-size: 1.4rem;
  }

  .section {
    margin: 0 1rem;
    padding: 2rem 1.5rem;
  }
}
