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

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability, not changing color */
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-container {
  position: relative;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 900px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #003366; /* Dark blue for main titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-contact__channels-section, .page-contact__inquiry-section, .page-contact__form-section, .page-contact__commitment-section, .page-contact__cta-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-contact__channels-section {
  background-color: #ffffff;
}

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

.page-contact__channel-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Ensure min size for content images */
  min-height: 200px;
}

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

.page-contact__card-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-contact__card-button,
.page-contact__cta-button,
.page-contact__submit-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #003366; /* Dark blue text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-contact__card-button:hover,
.page-contact__cta-button:hover,
.page-contact__submit-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-contact__inquiry-card {
  background-color: #fff;
  border: 1px solid #eee;
  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;
}

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

.page-contact__form-section {
  background-color: #f0f5f9; /* Light blue-gray background */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
}

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

.page-contact__submit-button {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
}

.page-contact__commitment-section {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.page-contact__cta-section {
  background-color: #003366; /* Dark blue background */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-contact__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for CTA title */
}

.page-contact__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-contact__cta-button--large {
  padding: 15px 40px;
  font-size: 1.3em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-container {
    padding: 80px 15px;
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 1em;
  }
  .page-contact__channels-grid,
  .page-contact__inquiry-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__channel-card,
  .page-contact__inquiry-card {
    padding: 25px;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__cta-title {
    font-size: 2em;
  }
  .page-contact__cta-button--large {
    font-size: 1.1em;
    padding: 12px 30px;
  }

  /* Mobile content area image rules */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__channel-icon {
    width: 80px;
    height: 80px;
    min-width: 80px; /* Overriding min-width for mobile, but keeping >200px for desktop */
    min-height: 80px;
  }
  /* Re-applying min-width for content images to ensure they are not too small, but allowing responsiveness */
  .page-contact__channel-icon, .page-contact__hero-image {
    min-width: 200px;
    min-height: 200px;
  }
  /* Exception for images within a grid or specific layout, ensuring they don't cause overflow */
  .page-contact__channels-grid img, .page-contact__inquiry-grid img {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-width: 200px; /* Still enforce min size for actual content images */
    min-height: 200px;
  }
  /* Ensure general content images adhere to max-width: 100% */
  .page-contact__hero-image, .page-contact__channel-icon {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no horizontal scroll for the main content area */
  .page-contact {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.6em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__card-title {
    font-size: 1.4em;
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__cta-button--large {
    font-size: 1em;
    padding: 10px 25px;
  }
}