.page-contact {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
  line-height: 1.6;
}

.page-contact__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 80px;
  text-align: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-contact__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Main color for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FCBC45;
}

.page-contact__hero-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

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

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

.page-contact__methods-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000; /* Main color */
}

.page-contact__methods-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #666666;
}

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

.page-contact__method-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  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.2);
}

.page-contact__method-icon {
  width: 200px; /* Minimum size requirement */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

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

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

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

.page-contact__faq-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-contact__faq-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #FFFFFF;
}

.page-contact__faq-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Main color for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFFFFF;
}

.page-contact__faq-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

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

.page-contact__social-container {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-contact__social-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #666666;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-contact__social-link:hover {
  background-color: #333333;
}

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

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

  .page-contact__methods-title,
  .page-contact__faq-title,
  .page-contact__social-title {
    font-size: 2em;
  }

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

  .page-contact__method-icon {
    width: 200px; /* Ensure minimum size is maintained */
    height: auto;
  }

  /* Mobile content area images must be responsive and not overflow */
  .page-contact__hero-image,
  .page-contact__method-card img,
  .page-contact__faq-image {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-contact__hero-button,
  .page-contact__faq-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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

  .page-contact__method-heading {
    font-size: 1.5em;
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 10px;
  }
}