/* Contact Page Styles */

main {
  margin-top: 55px;
  padding-top: 70px;
}

.main-content.page {
  background-color: rgb(255, 255, 255) !important;
  padding: 0 20px 60px 20px;
  color: #2c3e50 !important;
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-page {
  background-color: rgb(255, 255, 255);
  padding: 0;
  color: #2c3e50 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Times New Roman', serif;
}

.contact-page h1 {
  color: #2c3e50 !important;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 100 !important;
}

.contact-page h2 {
  color: #2c3e50 !important;
  font-size: 1.2rem;
  margin: 20px 0 15px;
  font-weight: 100 !important;
}

.contact-page p {
  color: #34495e !important;
  font-size: 1rem;
  margin: 5px 0;
}

.contact-page a {
  color: #34495e !important;
  text-decoration: none;
}

.contact-page a:hover {
  text-decoration: underline;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  background-color: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 10px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.form-group label {
  display: block;
  color: #2c3e50 !important;
  margin-bottom: 8px;
  /* font-weight: 600; */
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  color: #2c3e50 !important;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  margin: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background-color: white;
  border-color: #3498db;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background-color: white;
  color: #2c3e50;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input[type="radio"] {
  width: auto;
  margin-right: 8px;
}

.contact-form button,
.contact-form input[type="submit"] {
  width: auto;
  padding: 10px 20px;
  border: none;
  /* border-radius: 4px; */
  background-color: navy;
  color: white !important;
  font-size: 1rem;
  /* font-weight: 600; */
  font-family: 'Times New Roman', Times, serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.contact-form button:hover,
.contact-form input[type="submit"]:hover {
  background-color: darkblue;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
  font-weight: 100 !important;
  display: none;
  width: 100%;
  max-width: 500px;
}

.form-message.success {
  background-color: rgba(46, 204, 113, 0.2);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.form-message.error {
  background-color: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

.form-message.show {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .main-content.page {
    padding: 40px 20px;
  }

  .contact-page h1 {
    font-size: 1.5rem;
  }

  .contact-form {
    max-width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.9rem;
    padding: 8px;
  }

  .contact-form button,
  .contact-form input[type="submit"] {
    width: 100%;
  }
}
