/* contact.css */

/* Contact Page Styles - Ensure stylesv2.css is loaded before this file */
@import url('../css/stylesv2.css');

/* Introductory Text */
main > p {
  max-width: 700px;
  margin: 1rem auto 2rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
}

/* Contact Form Container */
#contact {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Section Heading */
#contact h2 {
  color: #004a70;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

/* Form Fields */
.fs-field {
  margin-bottom: 1.5rem;
}

.fs-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #004a70;
}

.fs-input,
.fs-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.fs-input:focus,
.fs-textarea:focus {
  outline: none;
  border-color: #004a70;
  box-shadow: 0 0 0 3px rgba(0, 74, 112, 0.2);
}

/* Textarea Specific */
.fs-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Field Descriptions */
.fs-description {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.25rem;
}

/* Submit Button */
.fs-button-group {
  text-align: center;
}

.fs-button {
  background-color: #004a70;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.fs-button:hover {
  background-color: #003a5a;
}

/* Submission Message */
.Contact-Us-Message {
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;
  color: #004a70;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  #contact {
    padding: 1.5rem;
  }
  .fs-field {
    margin-bottom: 1rem;
  }
}

/* Ensure mobile nav works under 1000px */
@media (max-width: 1000px) {
  .nav-menu nav {
    display: block !important;
  }
}