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

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

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__hero-image {
  min-width: 100%;
  min-height: 100%;
  width: auto; /* HTML width/height attributes handle aspect ratio */
  height: auto;
  object-fit: cover;
  opacity: 0.3;
}

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

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

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

.page-contact__method-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-contact__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__card-icon {
  width: 200px; /* Min size 200px */
  height: 150px; /* Min size 200px */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-contact__card-description {
  font-size: 1em;
  color: #333333;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-contact__card-button:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-contact__card-button--login {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-contact__card-button--login:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-contact__location-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-contact__location-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.page-contact__location-info {
  flex: 1;
  min-width: 300px;
  text-align: left;
  font-size: 1.1em;
  line-height: 2;
  color: #333333;
}

.page-contact__location-info strong {
  color: #000000;
}

.page-contact__location-map {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__location-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-contact__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-contact__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-contact__cta-button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-contact__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-contact__cta-button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

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

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

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

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

  .page-contact__location-content {
    flex-direction: column;
    align-items: center;
  }

  .page-contact__location-info {
    text-align: center;
  }

  .page-contact__cta-button-group {
    flex-direction: column;
    gap: 15px;
  }

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

  /* Ensure content images are not too small on mobile */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min- /* Enforce minimum size for content images */
  }

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

  .page-contact__location-image {
    min-width: 200px;
    min-height: 150px;
  }

  .page-contact__hero-image {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
  }
}