body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #e9ecef;
  color: #495057;
  line-height: 1.6;
}

header {
  background: #495057;
  color: white;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.logo {
  height: 40px;
  padding: 20px 0;
}

nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
}

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

input,
textarea {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

button {
  padding: 12px;
  background: #495057;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #343a40;
}
.hero {
  padding: 100px 20px;
  text-align: center;
}

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

.h1-first {
  color: #4caf50;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-button {
  background: #495057;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #343a40;
}

.features {
  padding: 60px 20px;
  background: white;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features li {
  margin: 20px 0;
  font-size: 1.1rem;
}

.contact {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.contact h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background: #f8f9fa;
  color: #495057;
}

.contact button {
  background: #495057;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: #343a40;
}

footer {
  text-align: center;
  padding: 20px;
  background: #495057;
  color: #ccc;
  font-size: 0.9rem;
}

.hamburger {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  display: none;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

body.modal-open {
  overflow: hidden;
  height: 100vh;
}
.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 40px;
  border-radius: 8px;
  max-width: 400px;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #495057;
  cursor: pointer;
}

.modal input,
.modal button {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.note {
  font-size: 0.9rem;
  color: #868e96;
  margin-top: -10px;
  margin-bottom: 15px;
}

button {
  background-color: #495057;
  color: white;
  border: none;
  font-weight: bold;
  transition: background 0.3s;
  cursor: pointer;
}

button:hover {
  background-color: #343a40;
}

.link {
  text-align: center;
  margin-top: 15px;
}

.link a {
  color: #495057;
  text-decoration: none;
}

/* Responsive menu for mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #495057;
    padding: 10px 20px;
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
  }

  .nav-links.show {
    display: flex;
  }

  header .container {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    height: 60px;
  }
}

.terms-agree {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex-wrap: nowrap;
}

.terms-agree input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
}

.terms-agree a {
  color: #495057;
  text-decoration: underline;
  white-space: nowrap;
}
