/* Reset margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f7f9fc;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styles */
header {
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
  height: 70vh;
  color: #fff;
  position: relative;
}

/* Overlay for better text contrast */
header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00aaff;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 120px;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #00aaff;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0088cc;
}

/* Main content */
main {
  padding: 40px 0;
}

.features {
  margin-bottom: 40px;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00aaff;
}

.features p {
  font-size: 1rem;
  color: #555;
}

/* Subscribe section */
.subscribe {
  background-color: #eef7fc;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}

.subscribe h2 {
  color: #00aaff;
  margin-bottom: 1rem;
}

.subscribe form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.subscribe input[type='email'] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1 1 300px;
  max-width: 400px;
}

.subscribe button {
  padding: 12px 24px;
  background-color: #00aaff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe button:hover {
  background-color: #0088cc;
}

/* Footer styles */
footer {
  background-color: #002b45;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    height: 60vh;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-links li a {
    font-size: 0.9rem;
  }
}