body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

header {
  background-color: #20232a;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 3em;
}

header p {
  margin-top: 10px;
  font-size: 1.1em;
}

nav {
  background-color: #2e3139;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

.login-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  background-color: #444;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.95em;
  transition: background-color 0.3s;
  cursor: pointer;
}

.login-link:hover {
  background-color: #666;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

section {
  margin-bottom: 40px;
}

h2 {
  color: #20232a;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service {
  flex: 1 1 300px;
  background: white;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.service h3 {
  margin-top: 0;
}

form {
  background: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  max-width: 600px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

button {
  background-color: #20232a;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
}

button:hover {
  background-color: #444;
}

footer {
  background-color: #20232a;
  color: #ccc;
  text-align: center;
  padding: 20px;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
}

.modal .close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.modal-content button {
  width: 100%;
  padding: 12px;
  background-color: #20232a;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #444;
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    margin-bottom: 10px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .login-link {
    padding: 6px 12px;
    font-size: 0.85em;
  }

  .services {
    flex-direction: column;
  }
}
