/* Reset and Basic Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 85%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

/* Header */
header {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.logo {
  float: left;
  font-size: 24px;
  color: #333;
}

nav {
  float: right;
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline;
  margin-left: 20px;
}

nav ul li a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
}

nav ul li a:hover {
  color: #007bff;
}

/* Hero Section */
.hero {
  background: url("hero-image.jpg") no-repeat center center/cover;
  height: 500px;
  color: #fff;
  position: relative;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero .container {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 24px;
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: #007bff;
  color: #fff;
  font-size: 18px;
  border-radius: 5px;
  text-decoration: none;
}

.cta-button:hover {
  background: #0056b3;
}

/* Features Section */
#features {
  padding: 60px 0;
  background: #f9f9f9;
}

#features h2 {
  text-align: center;
  margin-bottom: 40px;
}

.features-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.feature-item {
  flex-basis: 30%;
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 5px;
  text-align: center;
}

.feature-item h3 {
  margin-bottom: 15px;
}

.feature-item p {
  font-size: 16px;
}

/* How It Works Section */
#how-it-works {
  padding: 60px 0;
}

#how-it-works h2 {
  text-align: center;
  margin-bottom: 40px;
}

#how-it-works ol {
  max-width: 600px;
  margin: auto;
}

#how-it-works ol li {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Contact Section */
#contact {
  padding: 60px 0;
  background: #f9f9f9;
}

#contact h2 {
  text-align: center;
  margin-bottom: 20px;
}

#contact p {
  text-align: center;
  margin-bottom: 40px;
}

#contact form {
  max-width: 400px;
  margin: auto;
  text-align: center;
}

#contact input[type="email"] {
  width: 70%;
  padding: 10px;
  margin-right: -5px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
}

#contact button {
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

#contact button:hover {
  background: #0056b3;
}

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

/* Media Queries */
@media (max-width: 768px) {
  nav ul li {
    display: block;
    margin: 10px 0;
  }

  .features-grid {
    flex-direction: column;
  }

  .feature-item {
    flex-basis: 100%;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }
}
