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

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Minimum height for hero */
}

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

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

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

.page-contact__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  background-color: #e0a33c;
}

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

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

.page-contact__section-title {
  font-size: 2.8em;
  margin-bottom: 50px;
  color: #000000;
  font-weight: bold;
}

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

.page-contact__method-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  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 8px 30px rgba(0, 0, 0, 0.1);
}

.page-contact__method-icon {
  width: 250px; /* Enforce min 200px */
  height: 187px; /* Maintain aspect ratio for 400x300 original */
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 8px;
}

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

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

.page-contact__email-address {
  font-size: 1.1em;
  color: #000000;
  font-weight: bold;
  margin-top: 10px;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-contact__method-button:hover {
  background-color: #333333;
}

.page-contact__cta-section {
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-contact__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

.page-contact__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #E0E0E0;
}

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

.page-contact__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-contact__cta-button--register:hover {
  background-color: #e0e0e0;
}

.page-contact__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-contact__cta-button--login:hover {
  background-color: #e0a33c;
}

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    width: 200px; /* Ensure min 200px on mobile */
    height: 150px; /* Maintain aspect ratio */
  }
  .page-contact__method-title {
    font-size: 1.5em;
  }
  .page-contact__cta-title {
    font-size: 2em;
  }
  .page-contact__cta-description {
    font-size: 1.1em;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile content area images must not cause overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__hero-section {
    padding: 40px 15px;
  }
  .page-contact__methods-section {
    padding: 60px 15px;
  }
  .page-contact__cta-section {
    padding: 60px 15px;
  }
}