/* Base Reset and Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #333;
  padding: 20px;
}

/* Header */
header {
  background-color: #003366;
  color: white;
  padding: 20px 0;
  margin-bottom: 20px;
  text-align: center;
}
header h1 {
  font-size: 2em;
  margin-bottom: 10px;
}
nav {
  margin-top: 10px;
}
nav a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}

/* Main Content */
main {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
}
main section {
  margin-bottom: 30px;
}
h2 {
  color: #003366;
  margin-bottom: 10px;
}
h3 {
  margin-top: 20px;
  color: #444;
}

/* Forms */
form {
  background-color: #e9ecef;
  padding: 20px;
  border-radius: 8px;
}
form label {
  font-weight: bold;
}
form input[type="text"],
form input[type="email"],
form textarea,
form select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
form input[type="submit"],
form input[type="reset"] {
  padding: 10px 15px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
form input[type="submit"]:hover,
form input[type="reset"]:hover {
  background-color: #005599;
}

/* Images */
img {
  margin: 10px;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}
.gallery img {
  display: inline-block;
  width: 300px;
}

/* Footer */
footer {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 2px solid #003366;
  text-align: center;
  font-size: 0.9em;
  color: #333;
}
footer nav a {
  color: #003366;
  margin: 0 8px;
}
footer nav a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  nav a, footer nav a {
    display: block;
    margin: 8px 0;
  }
  .gallery img {
    width: 90%;
  }
}
