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

.page-contact__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

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

.page-contact__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark background for text */
  border-radius: 10px;
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-contact__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text for gold button */
  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__cta-button:hover {
  background-color: #e6c200;
  color: #00005a;
}

.page-contact__section-title {
  font-size: 2.2em;
  color: #000080; /* Dark blue for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-contact__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  margin: 10px auto 0;
}

.page-contact__methods-section,
.page-contact__faq-section,
.page-contact__location-section,
.page-contact__register-cta {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

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

.page-contact__method-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__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 250px; /* Minimum 200px */
  height: 200px; /* Minimum 200px */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact__method-description {
  color: #555555;
  margin-bottom: 25px;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #000080; /* Dark blue button */
  color: #FFD700; /* Gold text for dark blue button */
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__method-button:hover {
  background-color: #00005a;
  color: #ffe033;
}

.page-contact__faq-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-contact__faq-button {
  display: block;
  width: fit-content;
  margin: 0 auto 40px;
  background-color: #FFD700;
  color: #000080;
  padding: 12px 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__faq-button:hover {
  background-color: #e6c200;
  color: #00005a;
}

.page-contact__location-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.page-contact__location-image {
  flex: 1 1 400px;
  max-width: 600px; /* Example size, min 200px */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__location-details {
  flex: 1 1 300px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.page-contact__address,
.page-contact__hours {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #555555;
}

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

.page-contact__map-button:hover {
  background-color: #e6c200;
  color: #00005a;
}

.page-contact__register-cta {
  background-color: #000080; /* Dark blue background for CTA */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-contact__register-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text */
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__register-button:hover {
  background-color: #e6c200;
  color: #00005a;
}

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

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

  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  .page-contact__method-card,
  .page-contact__location-details {
    padding: 20px;
  }

  .page-contact__method-icon,
  .page-contact__location-image {
    max-width: 100%;
    height: auto;
  }

  .page-contact__location-content {
    flex-direction: column;
  }

  .page-contact__cta-title {
    font-size: 2em;
  }

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

  .page-contact__register-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-contact__hero-content {
    width: 90%;
  }

  /* Mobile content area image constraint */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

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