.page-contact {
  color: #f0f0f0; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: var(--background-color, #0d0d0d); /* Assuming a dark background from shared.css */
}

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

.page-contact__hero-section {
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Main brand color */
}

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

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

.page-contact__hero-title {
  font-size: 3.5em;
  color: #FCBC45; /* Login button color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.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.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

.page-contact__section-title {
  font-size: 2.8em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-contact__section-intro {
  font-size: 1.1em;
  color: #e0e0e0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.page-contact__info-section,
.page-contact__methods-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__cta-section {
  padding: 60px 0;
  background-color: #000000; /* Black sections for contrast */
}

.page-contact__info-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-contact__reason-card {
  background-color: #000000;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
  border: 1px solid #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

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

.page-contact__reason-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

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

.page-contact__method-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
  border: 1px solid #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

.page-contact__method-icon {
  width: 250px; /* Min size 200px */
  height: 187.5px; /* Maintain aspect ratio for 400x300 */
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px #FCBC45);
}

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

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

.page-contact__button--chat,
.page-contact__button--email,
.page-contact__button--phone {
  background-color: #FCBC45;
  color: #000000;
  width: 100%;
  max-width: 200px;
}

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

.page-contact__form-section {
  background-color: #000000;
  position: relative;
  padding: 80px 0;
}

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

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

.page-contact__form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px 15px;
  border: 1px solid #333333;
  border-radius: 5px;
  background-color: #0d0d0d;
  color: #ffffff;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-contact__button--submit {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 25px;
  font-size: 1.2em;
  align-self: flex-start;
  border-radius: 8px;
}

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

.page-contact__form-message {
  margin-top: 20px;
  padding: 15px;
  background-color: #28a745;
  color: #ffffff;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
}

.page-contact__faq-section {
  background-color: #1a1a1a;
}

.page-contact__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__faq-item {
  background-color: #000000;
  border: 1px solid #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-question {
  font-size: 1.4em;
  color: #ffffff;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-contact__faq-question.active {
  background-color: #0d0d0d;
}

.page-contact__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-contact__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-contact__faq-answer.open {
  max-height: 300px; /* Adjust as needed for content length */
  padding: 20px 25px;
}

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

.page-contact__text-link {
  color: #FCBC45;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__text-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-contact__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #000000;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-contact__button--register-large {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-contact__button--register-large:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

.page-contact__button--explore {
  background-color: #ffffff;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-contact__button--explore:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

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

@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 120px);
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-intro {
    font-size: 1em;
  }
  .page-contact__reasons-grid,
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-icon {
    width: 200px; /* Enforce min width */
    height: auto; /* Maintain aspect ratio */
  }
  .page-contact__button--chat,
  .page-contact__button--email,
  .page-contact__button--phone {
    max-width: 180px;
  }
  .page-contact__form-wrapper {
    padding: 30px;
  }
  .page-contact__faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
  }
  .page-contact__faq-question::after {
    right: 20px;
  }
  .page-contact__faq-answer.open {
    padding: 15px 20px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__button--register-large,
  .page-contact__button--explore {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
    font-size: 1.2em;
  }

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

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }
  .page-contact__button {
    font-size: 1em;
  }
  .page-contact__button--register-large,
  .page-contact__button--explore {
    font-size: 1.1em;
  }
  .page-contact__method-icon {
    width: 200px; /* Enforce min width */
    height: auto; /* Maintain aspect ratio */
  }
}