.page-contact {
  color: #333333; /* Dark text for light body background */
}

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  color: #FFFFFF; /* Light text over hero image */
}

.page-contact__hero-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

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

.page-contact__hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 0;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly darker background for text readability */
  border-radius: 8px;
}

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

.page-contact__description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

.page-contact__options-section,
.page-contact__form-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
  text-align: center;
}

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

.page-contact__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-contact__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #333333;
}

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

.page-contact__option-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-contact__option-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-contact__option-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-contact__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  color: #555555;
}

.page-contact__contact-list li {
  margin-bottom: 10px;
}

.page-contact__contact-link {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__contact-link:hover {
  text-decoration: underline;
  color: #FCBC45; /* Login button color for hover */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  padding: 30px;
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-group {
  margin-bottom: 20px;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  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__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.page-contact__btn--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-contact__btn--primary:hover {
  background-color: #E0A83A;
}

.page-contact__btn--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register button color */
}

.page-contact__btn--secondary:hover {
  background-color: #333333;
}

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

  .page-contact__description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
  }

  .page-contact__main-title {
    font-size: 2.5em;
  }

  .page-contact__description {
    font-size: 1em;
  }

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

  .page-contact__btn {
    width: 100%;
  }

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

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

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

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

  .page-contact__option-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure all images within .page-contact are responsive and not smaller than 200px */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

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

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

  .page-contact__option-card {
    padding: 15px;
  }

  .page-contact__contact-form {
    padding: 20px;
  }
}