.contact-form-section {
  padding: 40px;
  margin-bottom: 40px;
}

.form-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
  line-height: 1.6;
}

.required-note {
  text-align: right;
  font-size: 0.9em;
  color: #d9534f;
  margin-bottom: 20px;
  margin-inline: auto;
}

.form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.form-table th,
.form-table td {
  padding: 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.form-table th {
  background-color: #eaf3fd;
  width: 25%;
  vertical-align: middle;
  font-weight: normal;
}

.form-table td {
  background-color: #fff;
}

.form-table th .required {
  background-color: #d9534f;
  color: #fff;
  font-size: 0.8em;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 10px;
  display: inline-block;
}

.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="tel"],
.form-table textarea,
.form-table select {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  box-sizing: border-box;
}

.form-table input[type="checkbox"] {
  accent-color: #004c99;
}

.form-table input:focus,
.form-table textarea:focus {
  outline: none;
  border: 2px solid black;
}

.form-table textarea {
  min-height: 150px;
  resize: vertical;
}

.form-table input[type="radio"],
.form-table .radio-group label,
.form-table input[type="checkbox"] {
  margin-right: 5px;
}

.form-table .radio-group label,
.form-table .checkbox-group label {
  margin-right: 20px;
}

.form-error {
  padding: 4px 0;
  color: #d9534f;
}

.submit-button-area {
  text-align: center;
}

.submit-button {
  background-color: #004c99;
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 1.2em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #0066cc;
}

.back-button {
  background-color: #e0e0e0 !important;
  color: #333333 !important;
}
.back-button:hover {
  background-color: #c0c0c0 !important;
}
