.page-contact {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero text contrast */
  color: #ffffff;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim image for text readability */
  z-index: 0;
}

.page-contact__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  cursor: pointer;
  border: none;
}

.page-contact__button--primary {
  background-color: #000000; /* Main brand color for primary action */
  color: #FFFFFF; /* White text for contrast */
}

.page-contact__button--primary:hover {
  background-color: #333333;
}

.page-contact__button--secondary {
  background-color: #FCBC45; /* Login/action color */
  color: #000000; /* Black text for contrast */
}

.page-contact__button--secondary:hover {
  background-color: #e0a53b;
}

.page-contact__button--tertiary {
  background-color: transparent;
  border: 2px solid #000000;
  color: #000000;
}

.page-contact__button--tertiary:hover {
  background-color: #000000;
  color: #FFFFFF;
}

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

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

.page-contact__info-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-contact__info-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

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

.page-contact__method-card {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 400px; /* Ensure cards are large enough */
}

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

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

.page-contact__method-description {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #555555;
}

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

.page-contact__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__info-title {
    font-size: 2.2em;
  }
  .page-contact__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
  }
  .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__info-section {
    padding: 40px 15px;
  }
  .page-contact__info-title {
    font-size: 1.8em;
  }
  .page-contact__info-text {
    font-size: 0.95em;
  }
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    width: 200px; /* Enforce min size on mobile */
    height: 150px; /* Enforce min size on mobile */
  }
  .page-contact__method-title {
    font-size: 1.5em;
  }
  .page-contact__method-description {
    font-size: 0.9em;
  }
  .page-contact__cta-section {
    padding: 60px 15px;
  }
  .page-contact__cta-title {
    font-size: 2em;
  }
  .page-contact__cta-description {
    font-size: 1em;
  }

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

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