.page-contact {
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-contact__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #003366; /* Main brand color for hero background */
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden; /* Prevent image overflow */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
  filter: none; /* Ensure no CSS filter is applied */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFCC00; /* Accent color for title */
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1em;
  min-width: 150px;
  text-align: center;
}

.page-contact__button--primary {
  background-color: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-contact__button--primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
}

.page-contact__button--secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-contact__button--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

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

.page-contact__section-title {
  font-size: 2.2em;
  color: #003366;
  margin-bottom: 40px;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-contact__info-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-contact__info-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter is applied */
}

.page-contact__card-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-contact__card-description {
  color: #555555;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-contact__button--text {
  color: #003366;
  border: 2px solid #003366;
  background-color: transparent;
  padding: 10px 20px;
}

.page-contact__button--text:hover {
  background-color: #003366;
  color: #ffffff;
}

.page-contact__form-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  text-align: left;
}

.page-contact__form-group {
  margin-bottom: 15px;
}

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

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

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

.page-contact__button--submit {
  background-color: #003366;
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 15px 30px;
  font-size: 1.1em;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  align-self: center; /* Center the button in form */
}

.page-contact__button--submit:hover {
  background-color: #002244;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2em;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    min-width: unset;
    width: 100%;
    max-width: 250px;
    margin: 0 auto; /* Center buttons in column layout */
  }

  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__info-card img, .page-contact__contact-form img, .page-contact__faq-section img, .page-contact__hero-section img {
    max-width: 100%;
    height: auto;
    filter: none; /* Ensure no CSS filter is applied */
  }

  /* Critical: Mobile content area images must be constrained */
  .page-contact img {
    max-width: 100%;
    height: auto;
    filter: none; /* Ensure no CSS filter is applied */
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.6em;
  }

  .page-contact__hero-description {
    font-size: 0.9em;
  }

  .page-contact__button {
    padding: 10px 20px;
  }

  .page-contact__section-title {
    font-size: 1.5em;
  }

  .page-contact__info-card {
    padding: 20px;
  }

  .page-contact__card-title {
    font-size: 1.4em;
  }

  .page-contact__form-section {
    padding: 30px 15px;
  }
}