.form {
  font-family: 'Roboto', sans-serif;
  margin-top: 5%;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1em;
}

.form label {
  font-weight: 500;
  margin-top: 0.5rem;
  color: #333;
}

.form input, .form textarea, .form select {
  background-color: rgba(0,0,0,0.05);
  border: none;
  min-height: 40px;
  margin: .25rem 0 .5rem;
  padding: 0.6em 0.8em;
  border-radius: 4px;
  font-size: 1em;
  font-family: 'Roboto', sans-serif;
}

.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid rgb(1, 91, 97);
  background-color: rgba(0,0,0,0.08);
}

.form button[type="submit"] {
  border: none;
  padding: .8rem;
  background-color: rgb(1, 91, 97);
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1em;
  transition: background-color 0.3s ease;
}

.form button[type="submit"]:hover {
  background-color: rgb(0, 70, 75);
}

/* Responsive styles */
@media (max-width: 768px) {
  .form {
    width: 100%;
    max-width: 500px;
    margin-top: 3%;
    padding: 0 1.5em;
  }
  
  .form input, .form textarea, .form select {
    min-height: 45px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .form button[type="submit"] {
    padding: 1rem;
    font-size: 1.1em;
  }
  
  .center-text.bigger-text {
    font-size: 1.3em !important;
    padding: 0 1em;
  }
  
  .down-fivepercent {
    margin-top: 3% !important;
  }
}

@media (max-width: 480px) {
  .form {
    width: 100%;
    padding: 0 1em;
    margin-top: 2%;
  }
  
  .form input, .form textarea, .form select {
    min-height: 44px;
    padding: 0.7em 0.9em;
  }
  
  .form button[type="submit"] {
    padding: 0.9rem;
    width: 100%;
  }
  
  .center-text.bigger-text {
    font-size: 1.2em !important;
    padding: 0 0.8em;
  }
  
  .center-text {
    padding: 0 0.8em;
    font-size: 0.95em;
  }
}