.page-contact {
  color: #ffffff; /* Body background is dark, so text is light */
}

.page-contact__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  background: linear-gradient(135deg, #017439, #004d2a);
}

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

.page-contact__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00; /* Use specified font color for prominent titles */
}

.page-contact__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.6;
  color: #ffffff;
}

.page-contact__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

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

.page-contact__main-content {
  padding: 60px 20px;
  background-color: #000000; /* Ensure dark background for main content */
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-contact__section-title {
  font-size: 2.8rem;
  color: #FFFF00; /* Prominent titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-contact__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
  color: #f0f0f0;
}

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

.page-contact__card {
  background: rgba(255, 255, 255, 0.1); /* Light background for card on dark body */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__card-title {
  font-size: 1.8rem;
  color: #FFFF00;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-contact__btn-secondary {
  background: #017439;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  border: 2px solid #017439;
}

.page-contact__btn-secondary:hover {
  background-color: #004d2a;
  transform: translateY(-2px);
}

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

.page-contact__social-icon {
  color: #ffffff;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 8px 15px;
  border: 1px solid #017439;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-contact__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin: 60px auto;
  border-radius: 12px;
  background-color: #000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-contact__promo-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.page-contact__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 12px;
}

.page-contact__video-title {
  font-size: 2.5rem;
  color: #FFFF00;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__video-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  line-height: 1.6;
}

.page-contact__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-contact__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-contact__faq-q-text {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0;
  font-weight: bold;
  flex-grow: 1;
  text-align: left;
}

.page-contact__faq-toggle {
  font-size: 2rem;
  font-weight: bold;
  color: #FFFF00;
  margin-left: 20px;
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(0deg); /* Reset rotation, or keep as - for minus sign */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  line-height: 1.7;
  font-size: 1rem;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to reveal content */
  padding: 20px 25px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3rem;
  }
  .page-contact__section-title {
    font-size: 2.2rem;
  }
  .page-contact__video-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
  }
  .page-contact__hero-title {
    font-size: 2.5rem;
  }
  .page-contact__hero-description {
    font-size: 1.1rem;
  }
  .page-contact__section-title {
    font-size: 2rem;
  }
  .page-contact__section-intro {
    font-size: 1rem;
  }
  .page-contact__card-title {
    font-size: 1.5rem;
  }
  .page-contact__card-text {
    font-size: 0.95rem;
  }
  .page-contact__faq-q-text {
    font-size: 1.1rem;
  }
  .page-contact__faq-toggle {
    font-size: 1.8rem;
  }
  .page-contact__video-title {
    font-size: 1.8rem;
  }
  .page-contact__video-description {
    font-size: 1rem;
  }

  /* Mobile responsive for images, video, buttons */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper,
  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
  
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2rem;
  }
  .page-contact__section-title {
    font-size: 1.8rem;
  }
  .page-contact__video-title {
    font-size: 1.5rem;
  }
  .page-contact__btn-primary {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-contact__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}