.page-contact {
  color: #333333; /* Dark text for default white body background */
}

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

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

.page-contact__hero-title {
  font-size: 3.2em;
  color: #8B0000; /* Secondary color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-contact__hero-description {
  font-size: 1.3em;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.1;
}

.page-contact__button {
  display: inline-block;
  background-color: #FFD700; /* Primary color for buttons */
  color: #8B0000; /* Secondary color for button text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-contact__button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-contact__methods-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.page-contact__methods-title {
  font-size: 2.5em;
  color: #8B0000;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-contact__method-icon {
  width: 250px; /* Minimum 200px */
  height: 167px; /* Maintain aspect ratio for 600x400 source */
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 8px;
}

.page-contact__method-heading {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__method-description {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.page-contact__method-cta {
  background-color: #8B0000; /* Secondary color for button */
  color: #FFD700; /* Primary color for button text */
  border: 2px solid #8B0000;
}

.page-contact__method-cta:hover {
  background-color: #6a0000;
  border-color: #6a0000;
}

.page-contact__faq-section {
  padding: 60px 20px;
  text-align: center;
}

.page-contact__faq-title {
  font-size: 2.5em;
  color: #8B0000;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__faq-description {
  font-size: 1.2em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.page-contact__faq-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-contact__faq-link {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-contact__faq-link:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-contact__register-cta-section {
  background-color: #8B0000; /* Secondary color for background */
  padding: 80px 20px;
  text-align: center;
  color: #FFD700; /* Primary color for text on dark background */
}

.page-contact__register-cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__register-cta-description {
  font-size: 1.4em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-contact__register-cta-button {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-contact__register-cta-button:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__hero-description {
    font-size: 1.2em;
  }
  .page-contact__methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-contact__register-cta-title {
    font-size: 2.5em;
  }
  .page-contact__register-cta-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-bottom: 20px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__methods-title,
  .page-contact__faq-title {
    font-size: 2em;
  }
  .page-contact__method-icon {
    width: 200px; /* Enforce minimum 200px */
    height: 133px; /* Maintain aspect ratio */
  }
  .page-contact__method-heading {
    font-size: 1.5em;
  }
  .page-contact__method-description {
    font-size: 0.95em;
  }
  .page-contact__faq-description {
    font-size: 1em;
  }
  .page-contact__faq-links {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__register-cta-title {
    font-size: 2em;
  }
  .page-contact__register-cta-description {
    font-size: 1em;
  }
  .page-contact__register-cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Mobile content area image constraint */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__methods-title,
  .page-contact__faq-title {
    font-size: 1.8em;
  }
  .page-contact__register-cta-title {
    font-size: 1.8em;
  }
}