/* Main container styles */
.contact-container {
  max-width: 720px; /* Wider container for better balance */
  margin-left: 0; /* Center horizontally */
  padding: 0 20px;
  text-align: left;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

/* Form group spacing and appearance */
.form-group {
  margin-bottom: 18px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  background-color: #f8f8f8;
  padding: 12px;
}

/* Input and textarea styles */
input,
textarea {
  width: 100%;
  min-width: 280px;
  border: 1px solid #999;
  border-radius: 6px;
  background-color: #fff;
  font-size: 15px;
  padding: 12px 14px;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Input and textarea focus enhancements */
input:focus,
textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
  outline: none;
}

/* Input height */
input {
  height: 44px;
}

/* Textarea height */
textarea {
  height: 110px;
  resize: vertical;
}

/* Button styles */
.form-button {
  background-color: #007BFF;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 100%;
  max-width: 300px;
  margin: 15px auto 0;
  display: block;
  font-family: 'Montserrat', sans-serif;
}

.form-button:hover {
  background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-container {
    max-width: 100%;
    padding: 0 15px;
  }

  input,
  textarea {
    font-size: 15px;
  }

  .form-button {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-container {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
  }
}
