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

.page-contact__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF; /* Light text for hero content over potentially dark image areas */
  padding: 80px 20px;
  overflow: hidden;
}

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

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  padding: 40px;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

.page-contact__cta-button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
}

.page-contact__cta-button--primary:hover {
  background-color: #e0a53a;
}

.page-contact__info-section {
  background-color: #FFFFFF; /* Light background */
  padding: 60px 20px;
  text-align: center;
}

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

.page-contact__info-card {
  background-color: #000000; /* Main brand color for card background */
  color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__info-icon {
  width: 200px; /* Minimum size for content images */
  height: auto;
  border-radius: 5px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-contact__info-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-contact__info-description {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-contact__info-link {
  color: #FFFFFF; /* Register button color for links */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FCBC45; /* Login button color for underline */
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__info-link:hover {
  color: #FCBC45;
  border-color: #FFFFFF;
}

.page-contact__form-section {
  background-color: #F8F8F8; /* Slightly off-white background */
  padding: 60px 20px;
}

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.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-weight: bold;
  margin-bottom: 8px;
  color: #000000;
}

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px;
  border: 1px solid #CCCCCC;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  background-color: #FFFFFF;
}

.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; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-contact__cta-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding: 80px 20px;
  overflow: hidden;
}

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

.page-contact__cta-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__cta-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  padding: 40px;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-contact__cta-button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for contrast */
}

.page-contact__cta-button--secondary:hover {
  background-color: #f0f0f0;
}

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

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

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

  .page-contact__info-card {
    padding: 20px;
  }

  .page-contact__form-container {
    padding: 20px;
  }

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

  /* Ensure images in content area are responsive and not smaller than 200px */
  .page-contact__hero-image,
  .page-contact__info-icon,
  .page-contact__cta-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}