.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color); /* Assuming shared.css sets a light secondary-color for body */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF; /* White text for dark hero overlay */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

.page-contact__hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  padding: 40px 20px;
  max-width: 800px;
  border-radius: 10px;
}

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

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

.page-contact__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-contact__button--primary {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Main color */
}

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

.page-contact__button--secondary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
}

.page-contact__button--secondary:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

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

.page-contact__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: #000000; /* Main color */
}

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

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

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

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

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

.page-contact__button--card {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text */
  padding: 10px 20px;
}

.page-contact__button--card:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-contact__social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.page-contact__social-link {
  color: #FCBC45; /* Login color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: #000000; /* Main color */
}

.page-contact__faq-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px 20px;
}

.page-contact__faq-accordion {
  margin-top: 30px;
}

.page-contact__accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__accordion-header {
  background-color: #f9f9f9;
  color: #000000; /* Main color */
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__accordion-header:hover {
  background-color: #e9e9e9;
}

.page-contact__accordion-content {
  padding: 0 25px;
  background-color: #FFFFFF;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-contact__accordion-content p {
  margin: 15px 0;
  color: #666666;
}

.page-contact__accordion-header.active + .page-contact__accordion-content {
  max-height: 200px; /* Adjust as needed */
}

.page-contact__cta-banner {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text */
  padding: 60px 20px;
  text-align: center;
  margin: 40px 0;
}

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

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

.page-contact__button--large {
  padding: 15px 35px;
  font-size: 1.2em;
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Main color */
}

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

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

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

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-contact__card-icon {
    width: 100%; /* Ensure images don't overflow, but still >200px display width */
    height: auto;
  }

  .page-contact__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-contact__button--large {
    font-size: 1.1em;
    padding: 12px 25px;
  }

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

  /* Specific override for card icons if needed to ensure min size on small screens, if not covered by general img rule */
  .page-contact__card-icon {
    min-width: 200px; /* Enforce minimum display size even if max-width: 100% makes it smaller in some layouts */
    min- /* Example, adjust to maintain aspect ratio with min-width */
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-overlay {
    padding: 30px 15px;
  }

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

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

  .page-contact__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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

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

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

  .page-contact__button--large {
    font-size: 1em;
  }
}