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

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

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

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

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

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

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

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

.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__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__cta-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

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

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

.page-contact__method-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  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; /* Enforce minimum size */
  height: 200px; /* Enforce minimum size */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact__method-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  line-height: 1.5;
  flex-grow: 1;
}

.page-contact__button--live-chat,
.page-contact__button--email,
.page-contact__button--phone {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  font-size: 1em;
}

.page-contact__button--live-chat:hover,
.page-contact__button--email:hover,
.page-contact__button--phone:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

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

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

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

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

.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;
  min-height: 150px;
}

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

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

.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.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-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

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

.page-contact__cta-banner {
  background-color: #000000;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

.page-contact__cta-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-contact__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
}

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

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-banner {
    padding: 40px 15px;
  }

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

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

  .page-contact__method-icon {
    width: 200px; /* Enforce minimum size */
    height: 200px; /* Enforce minimum size */
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 0.95em;
  }
  .page-contact__button--submit {
    padding: 15px;
    font-size: 1.1em;
  }

  .page-contact__faq-question {
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    font-size: 0.9em;
  }

  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__cta-description {
    font-size: 1em;
  }
  .page-contact__button--join-now {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* IMPORTANT: Content area images must not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  /* Specific override for method icons to ensure they don't get too small but still responsive */
  .page-contact__method-icon {
    max-width: 200px;
    height: auto;
  }
}