.page-contact {
  color: #333333; /* Dark text for light default body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 0;
  margin-bottom: 40px;
}

.page-contact__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-contact__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 51, 102, 0.7); /* Semi-transparent primary color background */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for emphasis */
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-contact__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #003366; /* Deep blue text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__hero-button:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
}

.page-contact__info-section {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 20px;
  text-align: center;
}

.page-contact__info-title {
  font-size: 2.5em;
  color: #003366;
  margin-bottom: 20px;
}

.page-contact__info-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
}

.page-contact__contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-contact__method-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__method-icon {
  width: 250px; /* Enforce minimum 200px */
  height: 187px; /* Maintain aspect ratio for 400x300, 800x600 etc. */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__method-heading {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
}

.page-contact__method-description {
  color: #666666;
  margin-bottom: 20px;
}

.page-contact__method-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__method-link:hover {
  color: #e6c200;
  border-color: #e6c200;
}

.page-contact__form-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  margin-bottom: 60px;
}

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
}

.page-contact__form-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-contact__contact-form .page-contact__form-group {
  margin-bottom: 20px;
}

.page-contact__contact-form .page-contact__form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333333;
}

.page-contact__contact-form .page-contact__form-input,
.page-contact__contact-form .page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__contact-form .page-contact__form-textarea {
  resize: vertical;
}

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  background-color: #003366; /* Deep blue button */
  color: #ffffff;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background-color: #002244; /* Darker blue on hover */
  transform: translateY(-2px);
}

.page-contact__faq-cta-section {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-contact__faq-content,
.page-contact__cta-content {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-contact__faq-title,
.page-contact__cta-title {
  font-size: 2em;
  color: #003366;
  margin-bottom: 15px;
}

.page-contact__faq-description,
.page-contact__cta-description {
  color: #666666;
  margin-bottom: 30px;
}

.page-contact__faq-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__faq-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-contact__cta-image {
  width: 400px; /* Enforce minimum 200px */
  height: 300px; /* Maintain aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #003366;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__cta-button:hover {
  background-color: #002244;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__contact-methods {
    flex-direction: column;
    align-items: center;
  }
  .page-contact__faq-cta-section {
    flex-direction: column;
    align-items: center;
  }
  .page-contact__cta-image {
    width: 100%;
    height: auto;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__faq-title,
  .page-contact__cta-title {
    font-size: 2em;
  }
  .page-contact__hero-button,
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__form-container,
  .page-contact__faq-content,
  .page-contact__cta-content {
    padding: 30px 20px;
  }
  /* Mobile content area images must be constrained */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__method-icon {
    width: 200px; /* Ensure minimum size is maintained */
    height: auto;
  }
  .page-contact__cta-image {
    width: 100%;
    height: auto;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.5em;
  }
  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__faq-title,
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__method-card {
    min-width: unset;
    width: 100%;
  }
  .page-contact__method-icon {
    width: 200px; /* Minimum size */
    height: auto;
  }
}