.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for dark background */
  background-color: #08160F; /* Custom background color */
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  color: #F2FFF6;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-contact__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-contact__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #F2FFF6;
}

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

.page-contact__dark-bg {
  background-color: #08160F;
  padding: 60px 20px;
  color: #F2FFF6;
}

.page-contact__light-bg {
  background-color: #ffffff;
  padding: 60px 20px;
  color: #333333; /* Dark text for light background */
}

.page-contact__text-contrast-fix {
  color: #333333 !important;
}

.page-contact__dark-bg .page-contact__text-contrast-fix {
  color: #F2FFF6 !important;
}

/* Contact Channels Section */
.page-contact__contact-channels {
  background-color: #08160F;
}

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

.page-contact__channel-card {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

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

.page-contact__channel-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter changes original image color */
}

.page-contact__channel-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-contact__channel-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #A7D9B8;
}

.page-contact__email-address,
.page-contact__phone-number {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-contact__channel-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__channel-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Support Topics Section */
.page-contact__support-topics {
  background-color: #ffffff;
}

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

.page-contact__topic-card {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  color: #333333;
}

.page-contact__topic-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-contact__topic-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #11A84E; /* Brand color for titles */
}

.page-contact__topic-text {
  font-size: 0.9rem;
  color: #555555;
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: #08160F;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #F2FFF6;
  background-color: #11271B;
  border-bottom: 1px solid #2E7A4E;
  list-style: none; /* For details tag */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* For details tag */
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #57E38D;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-contact__faq-answer {
  padding: 15px 25px 25px;
  font-size: 0.95rem;
  color: #A7D9B8;
}

/* Contact Form Section */
.page-contact__contact-form-section {
  background-color: #ffffff;
}

.page-contact__form-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.page-contact__form {
  flex: 1;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
  color: #333333;
  background-color: #ffffff;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #999;
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__form-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter changes original image color */
}

/* Social Media Section */
.page-contact__social-media-section {
  background-color: #08160F;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #F2FFF6;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.page-contact__social-link:hover {
  transform: translateY(-5px);
  color: #57E38D;
}

.page-contact__social-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: none; /* Ensure no CSS filter changes original image color */
}

/* Commitment Section */
.page-contact__commitment-section {
  background-color: #ffffff;
}

.page-contact__commitment-list {
  max-width: 900px;
  margin: 0 auto 40px auto;
  list-style: none;
  padding: 0;
}

.page-contact__commitment-item {
  background-color: #f8f8f8;
  border-left: 5px solid #11A84E;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1rem;
  color: #333333;
}

.page-contact__commitment-item strong {
  color: #11A84E;
}

.page-contact__final-cta {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 40px;
  color: #333333;
}

.page-contact__cta-button--bottom {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 300px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    padding: 15px;
  }
  .page-contact__channels-grid,
  .page-contact__topics-grid,
  .page-contact__form-container {
    gap: 25px;
  }
  .page-contact__form-container {
    flex-direction: column;
  }
  .page-contact__form-image-wrapper {
    order: -1; /* Image above form on smaller screens */
  }
  .page-contact__form-image {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-contact__hero-content {
    padding: 15px;
  }
  .page-contact__main-title {
    font-size: 2.2rem;
  }
  .page-contact__description {
    font-size: 1rem;
  }
  .page-contact__section-title {
    font-size: 2rem;
  }
  .page-contact__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-contact__dark-bg,
  .page-contact__light-bg {
    padding: 40px 15px;
  }
  .page-contact__channels-grid,
  .page-contact__topics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__channel-card,
  .page-contact__topic-card,
  .page-contact__faq-item {
    padding: 25px;
  }
  .page-contact__channel-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact__channel-title {
    font-size: 1.3rem;
  }
  .page-contact__email-address,
  .page-contact__phone-number {
    font-size: 1rem;
  }
  .page-contact__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-contact__form-container {
    flex-direction: column;
    gap: 20px;
  }
  .page-contact__form,
  .page-contact__form-image-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-contact__form-image {
    max-height: 300px;
  }
  .page-contact__form-submit-button {
    font-size: 1rem;
    padding: 12px;
  }
  .page-contact__social-links {
    gap: 20px;
  }
  .page-contact__social-icon {
    width: 60px;
    height: 60px;
  }
  .page-contact__commitment-item {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  /* Mobile image, video, button responsive requirements */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__form-container,
  .page-contact__form,
  .page-contact__form-image-wrapper,
  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .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,
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
  }
}