/* === General Reset === */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #f4f8fa;
  color: #1a1a1a;
  line-height: 1.6;
}

/* === Layout Containers === */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

/* === Navigation === */
header {
  background-color: #004466;
  color: white;
  padding: 1rem 0;
}
header h1 {
  margin: 0;
}
nav.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}

/* === Hero Section === */
.hero {
  background: url('https://images.unsplash.com/photo-1543165796-5426273eaabf') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero .btn {
  background-color: #0077aa;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
.hero .btn:hover {
  background-color: #005f88;
}

/* === Features Section === */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.feature {
  flex: 1 1 260px;
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.feature h3 {
  margin-top: 0;
  color: #004466;
}

/* === Forms === */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
input, textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}
button {
  padding: 0.75rem;
  background-color: #0077aa;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #005f88;
}

/* === Newsletter === */
.newsletter {
  background-color: #e6f2f8;
  padding: 2rem;
  border-radius: 10px;
  margin-top: 3rem;
  text-align: center;
}

/* === Footer === */
footer {
  background-color: #002f3f;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
}
footer nav a {
  color: #eee;
  margin: 0 0.5rem;
  text-decoration: none;
}
footer nav a:hover {
  text-decoration: underline;
}
