.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); /* Ensure content is below fixed header */
}

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f8f8; /* Light background for hero */
}

.page-contact__hero-container {
  max-width: 800px;
  margin-bottom: 40px;
}

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

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

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

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

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-contact__method-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
}

.page-contact__method-icon {
  width: 250px; /* Minimum 200px */
  height: 187px; /* Maintain aspect ratio for 800x600, scaled down */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 4px;
}

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

.page-contact__method-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #000000; /* Primary color */
  color: #FFFFFF; /* Register color for text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

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

.page-contact__info-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

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

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

.page-contact__info-cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 30px;
  min-width: 220px;
  text-align: center;
}

.page-contact__info-cta-button:hover {
  background-color: #e0a53a;
}

.page-contact__cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 60px;
}

.page-contact__cta-container {
  max-width: 800px;
  margin-bottom: 40px;
}

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

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

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

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

.page-contact__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

  .page-contact__methods-title,
  .page-contact__info-title,
  .page-contact__cta-title {
    font-size: 1.8em;
  }

  .page-contact__hero-section,
  .page-contact__cta-section {
    padding: 40px 15px;
  }

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

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

  /* Ensure images do not overflow on mobile */
  .page-contact__hero-image,
  .page-contact__method-card img,
  .page-contact__cta-image {
    max-width: 100%;
    height: auto;
  }

  .page-contact {
    overflow-x: hidden;
  }
}

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

  .page-contact__hero-button,
  .page-contact__info-cta-button,
  .page-contact__cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
    min-width: unset;
  }

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