.page-contact {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensure consistency with body background */
}

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF; /* Light text for dark hero background */
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

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

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.5;
  opacity: 0.9;
}

.page-contact__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

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

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

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

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

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

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

.page-contact__section-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-contact__section-subtitle {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
}

.page-contact__method-icon {
  width: 200px; /* Min size for content images */
  height: 150px; /* Min size for content images */
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

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

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

.page-contact__button--email,
.page-contact__button--phone {
  background-color: #000000;
  color: #FFFFFF;
}

.page-contact__button--email:hover,
.page-contact__button--phone:hover {
  background-color: #333333;
}

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #F8F8F8;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FCBC45;
  box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.2);
  outline: none;
}

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

.page-contact__button--submit {
  width: 100%;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 20px;
  font-size: 1.2em;
  border-radius: 8px;
}

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

.page-contact__faq-list {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__faq-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-contact__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-contact__faq-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__faq-link:hover {
  text-decoration: underline;
}

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

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

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 80%;
    margin: 0 auto;
  }

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

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

  .page-contact__methods-section,
  .page-contact__contact-form-section,
  .page-contact__faq-section {
    padding: 30px 15px;
  }

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