.page-contact {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FCBC45; /* Highlight title with a brand accent color */
}

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

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

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

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

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

.page-contact__button--login {
  background-color: transparent;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

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

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

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the area without distortion */
  display: block;
}

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

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

.page-contact__info-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

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

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

.page-contact__info-icon {
  width: 250px; /* Minimum 200px */
  height: 187px; /* Maintain aspect ratio for 400x300 image */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact__card-description {
  font-size: 1em;
  margin-bottom: 25px;
  color: #555555;
}

.page-contact__button--chat,
.page-contact__button--email,
.page-contact__button--faq {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-contact__button--chat:hover,
.page-contact__button--email:hover,
.page-contact__button--faq:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-contact__form-section {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-bottom: 80px;
}

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

.page-contact__form-group {
  text-align: left;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__button--submit {
  background-color: #FCBC45;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  padding: 15px 30px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

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

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

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.page-contact__social-icon-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px);
}

.page-contact__social-icon {
  width: 60px; /* These are social icons, assumed to be handled by shared CSS or explicitly allowed smaller sizes for icons */
  height: 60px;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }

  .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__info-grid {
    grid-template-columns: 1fr;
  }

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

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

  /* Mobile content area images must be constrained */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }

  .page-contact__info-icon {
    width: 200px; /* Ensure minimum 200px for content area images */
    height: auto; /* Maintain aspect ratio */
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }

  .page-contact__button {
    width: 100%;
  }
}