.page-contact {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
}

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

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

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  color: #FFFFFF;
}

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

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

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

.page-contact__hero-button:hover {
  background-color: #e0a53a;
}

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

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

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

.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 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

.page-contact__method-button--chat {
  background-color: #FCBC45;
  color: #000000;
}

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

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

.page-contact__form-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

.page-contact__form-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #000000;
}

.page-contact__form-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-contact__contact-form {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto;
}

.page-contact__form-group {
  margin-bottom: 25px;
}

.page-contact__form-label {
  display: block;
  font-size: 1em;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333333;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FCBC45;
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__form-submit-button,
.page-contact__form-register-button {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  text-decoration: none;
  margin-top: 20px;
}

.page-contact__form-submit-button {
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-contact__form-register-button {
  background-color: #FCBC45; /* Register color */
  color: #000000;
  margin-top: 15px;
}

.page-contact__form-register-button:hover {
  background-color: #e0a53a;
}

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

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

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

  .page-contact__methods-title,
  .page-contact__form-title {
    font-size: 2em;
  }

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

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

  .page-contact__method-icon {
    width: 200px;
    height: auto;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__form-submit-button,
  .page-contact__form-register-button {
    font-size: 1em;
    padding: 12px;
  }

  /* Ensure content images are responsive and do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}