.page-contact {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly setting for clarity, though shared.css defines body */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
  color: #FFFFFF;
  background-color: #000000; /* Dark background for hero text */
}

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

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

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

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.page-contact__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-contact__button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

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

.page-contact__methods-section {
  padding: 80px 20px;
  background-color: #F8F8F8;
}

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

.page-contact__method-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

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

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

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

.page-contact__faq-accordion {
  border-top: 1px solid #EEEEEE;
}

.page-contact__faq-item {
  border-bottom: 1px solid #EEEEEE;
  padding: 20px 0;
}

.page-contact__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-contact__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-question::after {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  font-size: 1.1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-left: 10px;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 200px; /* Adjust as needed */
  margin-top: 10px;
}

.page-contact__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-contact__faq-answer a:hover {
  text-decoration: underline;
}

.page-contact__cta-section {
  background-color: #000000;
  padding: 100px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-contact__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.page-contact__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

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

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

  .page-contact__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

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

  .page-contact__method-icon {
    width: 200px; /* Enforce min size even on mobile */
    height: auto;
  }

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

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

  /* Ensure content area images are responsive and don't overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
    /* Enforce minimum size for content images if they are not specifically icons */
    min-width: 200px; 
    min-height: 200px;
  }

  /* Specific override for method icons if they are smaller than 200px naturally and need to be forced */
  .page-contact__method-icon {
    width: 200px; 
    height: auto;
    object-fit: contain;
  }
}

/* Ensure images within cards are large enough */
.page-contact__method-card img {
  min-width: 200px;
  min-height: 200px;
  width: 100%; /* Occupy card space */
  height: auto;
  object-fit: cover;
}