:root {
  --primary-color: #003366;
  --accent-color: #ff6600;
  --bg-light: #f8f9fa;
  --text-color: #212529;
  --footer-bg: #222;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-light);
  color: var(--text-color);
}

header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1em 0;
}

header h1 {
  margin: 0;
  font-size: 1.5em;
}

header nav a {
  color: #fff;
  margin-right: 1em;
  text-decoration: none;
  font-weight: 500;
}

header nav a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5em 1em;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 51, 102, 0.6);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background-color: var(--accent-color);
  border: none;
  color: #fff;
  padding: 0.75em 1.5em;
  font-size: 1em;
  cursor: pointer;
  border-radius: 0.25em;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #e65c00;
}

main, section {
  padding: 2em 1em;
}

section h3 {
  text-align: center;
  margin-bottom: 1em;
  color: var(--primary-color);
}

.card {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
  background-color: #fff;
}

.card-title {
  color: var(--primary-color);
  font-weight: bold;
}

.card-text {
  color: #555;
}

footer {
  background-color: var(--footer-bg);
  color: #ccc;
  text-align: center;
  padding: 2em 1em;
  font-size: 0.9em;
}

footer a {
  color: #ccc;
  margin: 0 0.5em;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

form {
  max-width: 500px;
  margin: 2em auto 0;
  background-color: #fff;
  padding: 2em;
  border-radius: 0.5em;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
}

input, textarea, button {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 0.25em;
  font-size: 1em;
}

button {
  background-color: var(--accent-color);
  border: none;
  color: #fff;
  cursor: pointer;
}

button:hover {
  background-color: #e65c00;
}
