.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); /* Ensures content is not hidden by fixed header */
}

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Main color as background for hero section */
  color: #ffffff;
  padding: 0;
  text-align: center;
}

.page-contact__hero-container {
  position: relative;
  max-width: 100%; /* Ensures no overflow */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability, not color change */
  max-height: 500px; /* Limit height for hero image */
}

.page-contact__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  text-align: center;
}

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

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

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

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

.page-contact__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-contact__button--primary:hover {
  background-color: #e0a53c;
  border-color: #e0a53c;
}

.page-contact__button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register color */
  border: 2px solid #FFFFFF;
}

.page-contact__button--secondary:hover {
  background-color: #333333;
  border-color: #f0f0f0;
}

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

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

.page-contact__button--submit {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  cursor: pointer;
  padding: 15px 30px;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

.page-contact__info-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

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

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

.page-contact__info-icon {
  width: 200px; /* Min size 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-contact__info-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #555555;
}

.page-contact__form-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

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

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

.page-contact__form-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  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 #ddd;
  border-radius: 5px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

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

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

.page-contact__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 80px);
  }

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

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

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 100%;
    padding: 12px 20px;
  }

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

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

  .page-contact__info-icon {
    width: 200px;
  }

  .page-contact__info-title {
    font-size: 1.5em;
  }

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

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

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

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

  /* Ensure all images within .page-contact are responsive */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area does not cause horizontal scroll */
  .page-contact {
    overflow-x: hidden;
  }
}