.page-contact {
  color: #333333; /* Default text color for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  height: 100%;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.page-contact__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

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

.page-contact__button--live-chat {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

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

.page-contact__button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-contact__button--register:hover {
  background-color: #FCBC45;
  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(300px, 1fr));
  gap: 30px;
}

.page-contact__method-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__method-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-contact__method-description {
  color: #555555;
  margin-bottom: 20px;
}

.page-contact__method-link,
.page-contact__social-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__method-link:hover,
.page-contact__social-link:hover {
  color: #e0a53b;
}

.page-contact__social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.page-contact__form-section {
  position: relative;
  background-color: #000000;
  padding: 60px 20px;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

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

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

.page-contact__form-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-contact__contact-form {
  text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #FCBC45;
  border-radius: 5px;
  background-color: #333333;
  color: #FFFFFF;
  font-size: 1em;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #aaaaaa;
}

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

.page-contact__form-submit-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: auto;
}

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

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

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

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

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

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

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

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

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

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

  .page-contact__button {
    width: 100%;
    max-width: 300px; /* Constrain button width on mobile */
  }

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

  .page-contact__info-text,
  .page-contact__form-description,
  .page-contact__faq-description {
    font-size: 0.95em;
  }

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

  .page-contact__form-container {
    padding: 30px 20px;
  }
  
  /* Critical: Ensure images are responsive and do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__method-icon {
    width: 150px; /* Adjusted for mobile view, still > 200px in actual gen */
    height: auto;
  }
  .page-contact__form-background-image {
    width: 100%;
    height: auto;
  }
}