.page-contact {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text on light body background */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #FFFFFF;
}

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

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

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45;
}

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

.page-contact__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__hero-button:hover {
  background-color: #e0a53d;
}

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

.page-contact__methods-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

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

.page-contact__method-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__method-icon {
  width: 250px;
  height: 187px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact__method-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__method-button:hover {
  background-color: #333333;
}

.page-contact__form-section {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
}

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

.page-contact__contact-form {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #999999;
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 20px;
  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: #e0a53d;
}

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

.page-contact__location-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 40px;
}

.page-contact__map-placeholder {
  background-color: #E0E0E0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__map-image {
  width: 100%;
  height: auto;
  display: block;
}

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

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

.page-contact__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #F0F0F0;
}

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

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

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__location-section,
  .page-contact__cta-section {
    margin: 60px auto;
    padding: 0 15px;
  }
  .page-contact__contact-form {
    padding: 30px 20px;
  }
  .page-contact__method-icon,
  .page-contact__map-image {
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__cta-description {
    font-size: 1em;
  }
  .page-contact__hero-image img,
  .page-contact__method-card img,
  .page-contact__map-placeholder img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all content area images are not smaller than 200px and are responsive */
  .page-contact__hero-image,
  .page-contact__method-icon,
  .page-contact__map-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-button {
    padding: 12px 25px;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__method-title {
    font-size: 1.5em;
  }
  .page-contact__cta-title {
    font-size: 1.5em;
  }
}