.page-contact {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000000; /* Ensure main content background matches body */
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.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-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

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

.page-contact__hero-button--live-chat:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-contact__info-section {
  padding: 60px 20px;
  background-color: #1a1a1a;
}

.page-contact__info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__info-card {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-contact__info-link,
.page-contact__info-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__info-link {
  color: #FCBC45;
  border: 1px solid #FCBC45;
}

.page-contact__info-link:hover {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-contact__info-button:hover {
  background-color: #e0a73d;
}

.page-contact__form-section {
  padding: 60px 20px;
  background-color: #000000;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-contact__form-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #cccccc;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px 15px;
  border: 1px solid #444;
  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: #888;
}

.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__form-submit-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-contact__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1a1a1a;
}

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

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

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

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

.page-contact__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
}

.page-contact__cta-button--register:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-contact__cta-button--login {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-contact__cta-button--login:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

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

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

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

  .page-contact__cta-title {
    font-size: 2.2em;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__cta-button {
    width: 100%;
  }

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

  .page-contact__hero-image {
    position: relative; /* Adjust for mobile if needed */
    width: 100%;
    height: 250px;
    object-fit: cover;
    opacity: 0.2;
  }

  .page-contact__hero-section {
    padding: 40px 15px;
  }

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

  .page-contact__contact-form {
    gap: 15px;
  }
}