.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 not hidden by fixed header */
}

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

.page-contact__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly transparent to let text stand out */
  z-index: 1;
}

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

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

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-contact__register-button,
.page-contact__login-button,
.page-contact__card-button,
.page-contact__submit-button,
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  font-size: 1.1em;
  min-width: 180px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-contact__register-button,
.page-contact__cta-button.page-contact__register-button {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-contact__register-button:hover,
.page-contact__cta-button.page-contact__register-button:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-contact__login-button,
.page-contact__cta-button.page-contact__login-button {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-contact__login-button:hover,
.page-contact__cta-button.page-contact__login-button:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

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

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

.page-contact__methods-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

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

.page-contact__card-description {
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__email-address,
.page-contact__phone-number {
  font-weight: bold;
  color: #FCBC45;
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-contact__card-button {
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

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

.page-contact__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-contact__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-contact__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-contact__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-contact__faq-answer {
  color: #555555;
  display: none; /* Hidden by default */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

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

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

.page-contact__more-faq {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #555555;
}

.page-contact__more-faq a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__more-faq a:hover {
  text-decoration: underline;
}

.page-contact__resources-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

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

.page-contact__resource-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__resource-icon {
  width: 250px; /* Minimum size */
  height: 180px; /* Minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-contact__resource-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-contact__resource-description {
  color: #666666;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-contact__feedback-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-contact__feedback-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-contact__form-group {
  margin-bottom: 20px;
}

.page-contact__form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333333;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  background-color: #ffffff;
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__submit-button {
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  padding: 15px 0;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-contact__cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-contact__cta-content {
  max-width: 900px;
}

@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
  }
  .page-contact__main-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__register-button,
  .page-contact__login-button,
  .page-contact__card-button,
  .page-contact__submit-button,
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: unset;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-contact__method-grid,
  .page-contact__resource-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-intro {
    font-size: 1em;
  }
  .page-contact__method-icon,
  .page-contact__resource-icon {
    width: 200px; /* Ensure images are at least 200px */
    height: auto;
  }
  .page-contact__faq-question {
    font-size: 1.2em;
  }
  .page-contact__faq-answer {
    font-size: 0.95em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 24px); /* Adjust for padding */
  }
  .page-contact__container img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-section {
    padding: 40px 10px;
  }
  .page-contact__main-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__section-intro {
    font-size: 0.9em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 24px);
  }
}