.page-contact {
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
  color: #333333;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin-bottom: 60px;
}

.page-contact__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  max-height: 600px; /* Limit hero image height for better composition */
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay for text readability */
  border-radius: 10px;
  margin-top: -100px; /* Overlap with image for dynamic look */
  color: #FFFFFF;
  max-width: 90%;
}

.page-contact__hero-title {
  font-size: 2.8em;
  color: #FCBC45; /* Login button color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-contact__button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-contact__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-contact__button--primary:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

.page-contact__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-contact__button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-contact__button--register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-contact__button--register:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

.page-contact__button--small {
  padding: 10px 20px;
  font-size: 1em;
  min-width: unset;
}

.page-contact__button--large {
  padding: 18px 35px;
  font-size: 1.3em;
  min-width: 250px;
  background-color: #FCBC45;
  color: #000000;
}

.page-contact__button--large:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

.page-contact__options-section,
.page-contact__faq-section,
.page-contact__commitment-section,
.page-contact__cta-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.page-contact__options-title,
.page-contact__faq-title,
.page-contact__commitment-title,
.page-contact__cta-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-contact__options-description,
.page-contact__faq-description,
.page-contact__commitment-description,
.page-contact__cta-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-contact__option-card:hover {
  transform: translateY(-5px);
}

.page-contact__card-image {
  width: 100%;
  height: auto;
  max-height: 300px; /* Ensure images are not too tall */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

.page-contact__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
}

.page-contact__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-contact__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-contact__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-question::after {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

.page-contact__faq-image-container {
  margin-top: 50px;
}

.page-contact__faq-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-contact__commitment-section {
  padding: 60px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-contact__commitment-title {
  color: #FCBC45;
}

.page-contact__commitment-description {
  color: #e0e0e0;
}

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

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

  .page-contact__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-contact__button {
    font-size: 1em;
    padding: 12px 25px;
    min-width: unset;
  }

  .page-contact__button-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-contact__options-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__cta-section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .page-contact__options-title,
  .page-contact__faq-title,
  .page-contact__commitment-title,
  .page-contact__cta-title {
    font-size: 1.8em;
  }

  .page-contact__options-description,
  .page-contact__faq-description,
  .page-contact__commitment-description,
  .page-contact__cta-description {
    font-size: 0.95em;
  }

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

  .page-contact__card-image {
    max-height: 250px;
  }

  .page-contact__faq-question {
    font-size: 1.1em;
  }

  .page-contact__faq-answer {
    font-size: 0.95em;
  }

  /* Ensure all content images are responsive and adhere to min-size */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images don't shrink below 200px on mobile */
    min-height: 200px;
  }
}

/* Additional rules to ensure content area images are not shrunk below 200px */
.page-contact__options-grid .page-contact__option-card img,
.page-contact__faq-image-container img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 200px;
  min-height: 200px; /* Enforce minimum size for content images */
  object-fit: contain; /* Adjust object-fit to prevent cropping if aspect ratio is forced */
}

/* Specific override for hero image to respect max-height while being responsive */
.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  min-width: 200px;
  min-height: 200px; 
  object-fit: cover;
}