.page-contact {
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure clearance from fixed header */
  background-color: #2C3E50; /* Auxiliary dark blue background */
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.page-contact__hero-button:hover {
  background-color: #e74c3c; /* Red highlight on hover */
  color: #ffffff;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2; /* Subtle background image */
}

.page-contact__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-contact__methods-section,
.page-contact__form-section,
.page-contact__faq-section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__methods-section {
  background-color: #f8f8f8;
}

.page-contact__methods-title,
.page-contact__form-title,
.page-contact__faq-title {
  font-size: 2.2em;
  color: #2C3E50; /* Dark blue for section titles */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-contact__methods-intro,
.page-contact__form-intro,
.page-contact__faq-intro {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__card-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__card-icon img {
  width: 200px; /* Enforce minimum size */
   /* Enforce minimum size, adjust as needed for aspect ratio */
  object-fit: contain; /* Ensure image fits without cropping */
  border-radius: 5px;
}

.page-contact__card-title {
  font-size: 1.5em;
  color: #2C3E50;
  margin-bottom: 15px;
}

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

.page-contact__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #2C3E50;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__card-button:hover {
  background-color: #2C3E50;
  color: #FFD700;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

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

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

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

.page-contact__form-submit-button {
  background-color: #FFD700;
  color: #2C3E50;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__form-submit-button:hover {
  background-color: #e74c3c;
  color: #ffffff;
}

.page-contact__faq-section {
  background-color: #f0f0f0;
}

.page-contact__faq-button {
  display: inline-block;
  background-color: #2C3E50;
  color: #FFD700;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

.page-contact__faq-button:hover {
  background-color: #FFD700;
  color: #2C3E50;
}

.page-contact__faq-image {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.page-contact__faq-image img {
  max-width: 600px; /* Example size, adjust as needed */
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

  .page-contact__methods-title,
  .page-contact__form-title,
  .page-contact__faq-title {
    font-size: 1.8em;
  }

  .page-contact__methods-intro,
  .page-contact__form-intro,
  .page-contact__faq-intro {
    font-size: 0.95em;
  }

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

  .page-contact__card {
    padding: 20px;
  }

  .page-contact__contact-form {
    padding: 20px;
  }

  .page-contact__hero-image img,
  .page-contact__card-icon img,
  .page-contact__faq-image img {
    max-width: 100%; /* Ensure images don't overflow on mobile */
    height: auto;
  }

  /* Ensure content area images maintain minimum size or scale down responsively */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain minimum width for all content images */
    min- /* Maintain minimum height for all content images */
    object-fit: cover; /* Adjust object-fit as needed */
  }
}

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

  .page-contact__hero-button,
  .page-contact__card-button,
  .page-contact__form-submit-button,
  .page-contact__faq-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section {
    padding: 40px 0;
  }
}