.container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

h1 {
  color: #2d3748;
  margin: 30px;
  font-size: 2em;
}

#contact-form {
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

#contact-form input {
  height: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 800px) {
  .form-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.full-width {
  width: 100%;
}

.input-group {
  display: flex;
  flex-direction: column;
}

label {
  color: #4a5568;
  font-weight: 600;
  margin: 10px 0px;
  font-size: 0.95em;
  text-align: left;
}
#contact-form select {
  width: 100%;
}
#contact-form input[type="text"],
#contact-form input[type="tel"],
#contact-form input[type="email"] {
  height: 35px;
}
#contact-form input[type="text"],
#contact-form input[type="tel"],
#contact-form input[type="email"],
#contact-form select,
#contact-form textarea {
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: white;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #667eea;
}

#contact-form textarea {
  min-height: 120px;
  resize: vertical;
  border-color: #667eea;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}

.consent-text {
  font-size: 0.85em;
  color: #718096;
  line-height: 1.5;
  margin-top: 20px;
  padding: 15px;
  background: #f7fafc;
  border-radius: 6px;
}

.consent-text a {
  color: #667eea;
  text-decoration: none;
}

.consent-text a:hover {
  text-decoration: underline;
}

.submit-btn {
  background: #d21e27;
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 30px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: #fc8181;
}

input:required,
select:required,
textarea:required {
  background-image: none;
}
