body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  color: #333;
  background-color: #f5f5f5;
}

header {
  background-color: #02111b;
  color: white;
  padding: 1rem;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover, nav a.active {
  text-decoration: underline;
}

.hero {
  position: absolute;
  text-align: center;
  color: white;
}

.hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-text {
  position: absolute;
  font-size: 2rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

main {
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}

.contact-form input, .contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
}

.contact-form input[type="submit"] {
  background-color: #02111b;
  color: white;
  border: none;
  cursor: pointer;
}

footer {
  background-color: #02111b;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  color: #333;
  background-color: #f5f5f5;
}

header {
  background-color: #02111b;
  color: white;
  padding: 1rem;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover,
nav a.active {
  text-decoration: underline;
}

.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(50%);
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

main {
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
}

.contact-form input[type="submit"] {
  background-color: #02111b;
  color: white;
  border: none;
  cursor: pointer;
}

footer {
  background-color: #02111b;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero img {
    height: 320px;
  }

  main {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.75rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  nav li {
    width: 100%;
    text-align: center;
  }

  nav a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    background-color: #02111b;
    border-top: 1px solid #333;
  }

  nav a:hover,
  nav a.active {
    background-color: #03395f;
    text-decoration: none;
  }

  .hero {
    color: #02111b;
  }

  .hero-text {
    position: static;
    transform: none;
    background: #f5f5f5;
    color: #02111b;
    padding: 1rem;
  }

  .hero img {
    height: auto;
    filter: brightness(100%);
  }

  main {
    padding: 1rem;
  }

  footer {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.4rem;
  }

  .hero-text h2 {
    font-size: 1.2rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  nav a {
    font-size: 0.95rem;
    padding: 0.5rem 0;
  }

  footer {
    font-size: 0.8rem;
  }
}

