body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

.background-container {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1613667650324-ed09383eb8e5?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8ZW1wdHklMjBob3VzZXxlbnwwfHwwfHx8MA%3D%3D');
  background-size: cover;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

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

.name-fields {
  display: flex;
  gap: 10px;
}

.name-fields input {
  width: 48%;
  margin-right: 4%;
}

.name-fields input:last-child {
  margin-right: 0;
}

.phone-fields {
  display: flex;
  gap: 10px;
}

.phone-fields input {
  width: 25%;
  margin-right: 4%;
}

.phone-fields input:last-child {
  margin-right: 0;
  width: 30%;
}

.phone-fields span {
  display: inline-block;
  width: 10%;
  text-align: center;
  line-height: 2.5;
}

form button {
  background-color: blue;
  color: white;
  border: none;
  cursor: pointer;
}

form button:hover {
  background-color: darkblue;
}

form p {
  font-size: 12px;
}

form a {
  text-decoration: none;
  color: blue;
}

form a:hover {
  text-decoration: underline;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
  .name-fields {
    flex-direction: column;
  }

  .name-fields input {
    width: 100%;
    margin-right: 0;
  }

  .phone-fields {
    flex-direction: column;
  }

  .phone-fields input {
    width: 100%;
    margin-right: 0;
  }

  .phone-fields span {
    display: none; /* Hides the span in smaller devices */
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 15px 20px;
  }

  form p {
    font-size: 10px;
  }
}
