@charset "UTF-8";

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

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

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px; /* Add some padding at the bottom */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 400px; /* Ensure minimum height for hero image */
  max-height: 600px;
  z-index: 1;
}

.page-contact__hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Match min-height of image */
  max-height: 600px;
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
}

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

.page-contact__hero-button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
}

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

.page-contact__section-title {
  font-size: 2.2em;
  color: #000000; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

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

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

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

.page-contact__method-icon {
  width: 100%;
  max-width: 250px; /* Constrain icon size */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #000000; /* Main color */
  margin-bottom: 15px;
}

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

.page-contact__method-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Auxiliary color */
  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__faq-section {
  background-color: #f0f0f0;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 60px;
}

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

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

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

.page-contact__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
}

.page-contact__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

.page-contact__cta-button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Main color */
}

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

.page-contact__cta-button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
}

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

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

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

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

  .page-contact__section-description {
    font-size: 0.95em;
  }

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

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

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

  .page-contact__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Ensure all content area images are responsive and not too small */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }

  /* Specific override for any img within page-contact to ensure min-width */
  .page-contact__method-icon,
  .page-contact__hero-image {
    min-width: 200px;
    min-height: 200px;
  }
}