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

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

.page-contact__container--center {
  text-align: center;
}

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

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

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

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

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

.page-contact__hero-button--register {
  background-color: #FCBC45; /* Login color for prominence */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-contact__hero-button--register:hover {
  background-color: #e0a73d;
  border-color: #e0a73d;
}

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

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

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__info-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

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

.page-contact__card-icon {
  width: 200px; /* Minimum size */
  height: 150px; /* Adjust height to maintain aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact__card-text {
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-contact__form-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: #fdfdfd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.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: #000000;
  background-color: #FFFFFF;
}

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

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

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

.page-contact__location-section {
  padding: 60px 0;
  background-color: #f0f0f0;
  text-align: center;
}

.page-contact__address-block {
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #333333;
}

.page-contact__address-line {
  margin: 5px 0;
}

.page-contact__location-map-image {
  max-width: 800px; /* Constrain image width */
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-contact__promo-cta {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

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

.page-contact__promo-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #E0E0E0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__promo-button {
  display: inline-block;
  padding: 18px 40px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__promo-button:hover {
  background-color: #e0a73d;
  transform: translateY(-3px);
}

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

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

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

  .page-contact__section-intro {
    font-size: 1em;
  }

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

  .page-contact__card-icon {
    width: 150px;
    height: 112px;
  }

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

  .page-contact__promo-text {
    font-size: 1em;
  }

  .page-contact__promo-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  .page-contact__card-button,
  .page-contact__form-submit-button {
    width: 100%;
  }

  .page-contact__hero-image,
  .page-contact__card-icon,
  .page-contact__location-map-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content area images are responsive and don't overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__location-section,
  .page-contact__promo-cta {
    padding: 40px 15px;
  }

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

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

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