/* Base Typography and Layout */
body {
  font-family: 'Inter', sans-serif;
  background-color: #F4F6FA;
  color: #1C1C1C;
  margin: 0;
  padding: 0;
}

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

/* Navigation */
.navbar {
  background: #FFFFFF;
  padding: 1.2em 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-logo {
  height: auto;
  max-height: 220px;
  max-width: 420px;
}

.nav-links a {
  margin-left: 2em;
  text-decoration: none;
  color: #1C1C1C;
  font-weight: 500;
  font-size: 1em;
}

/* Hero Section */
.hero-section {
  background: #2251FF;
  color: white;
  padding: 5em 1em;
  text-align: center;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8em;
  margin-bottom: 0.6em;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2em;
  max-width: 620px;
  margin: 0 auto 1.8em;
}

.cta-button {
  background-color: #FFB400;
  color: #1C1C1C;
  text-decoration: none;
  padding: 0.9em 2em;
  font-weight: bold;
  border-radius: 8px;
  font-size: 1em;
}

/* Section Layout */
.section {
  padding: 4em 1em;
  background-color: #ffffff;
}

.section h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2em;
  margin-bottom: 2em;
  padding-top: 0.5em;
}

/* How It Works */
.how-grid,
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  text-align: center;
}

.how-item,
.feature-box {
  background: white;
  border-radius: 10px;
  padding: 2em;
  flex: 1 1 280px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 1em;
}

/* Features Section (with custom background) */
.features-section {
  background-color: #F4F6FA;
}

.feature-box h3,
.how-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2em;
  margin-bottom: 0.6em;
}

/* Contact Form */
.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 600px;
  margin: 0 auto;
}

input,
textarea {
  padding: 0.9em;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
  font-family: 'Inter', sans-serif;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background-color: #2251FF;
  color: white;
  padding: 0.9em;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1a3fcc;
}

/* Footer */
.footer {
  background: #fff;
  text-align: center;
  padding: 2em 1em;
  font-size: 0.9em;
  color: #888;
  border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2em;
  }

  .nav-container {
    flex-direction: column;
    gap: 1em;
    align-items: center;
  }

  .nav-links {
    margin-top: 0.5em;
  }

  .nav-links a {
    margin: 0 1em;
  }

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