/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding as body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #f0f0f0;
}

.page-support__image-wrapper {
  width: 100%;
  position: relative;
  max-height: 500px; /* Limit hero image height */
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  min-height: 200px; /* Minimum size for images */
}

.page-support__hero-content {
  position: relative; /* Ensure content is above image wrapper if needed, but here it's below */
  padding: 40px 20px;
  max-width: 800px;
  z-index: 1;
  background-color: #ffffff; /* Explicitly white background for text for contrast */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap with image slightly for visual effect */
  margin-bottom: 40px;
}

.page-support__main-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #017439;
  margin-bottom: 20px;
}

.page-support__description {
  font-size: 18px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
}

.page-support__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-support__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn--primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-support__btn--primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-support__btn--secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-support__btn--secondary:hover {
  background-color: #f0f0f0;
  color: #017439;
}

.page-support__btn--small {
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 6px;
}

.page-support__btn--inline {
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 5px;
  background-color: #017439;
  color: #ffffff;
  border: 1px solid #017439;
  margin-top: 10px;
}

.page-support__btn--inline:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

/* Info Section */
.page-support__info-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-support__section-title {
  font-size: 34px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
}

.page-support__text-block {
  font-size: 17px;
  line-height: 1.6;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-support__channel-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 350px;
}

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

.page-support__channel-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin-bottom: 25px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Minimum size for images */
}

.page-support__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-support__card-description {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
}

.page-support__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-support__section-title--light {
  color: #ffffff;
}

.page-support__text-block--light {
  color: #f0f0f0;
}

.page-support__faq-list {
  margin-top: 40px;
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark section */
}

details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}

details.page-support__faq-item summary.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-support__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #ffffff; /* White text for dark FAQ section */
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff; /* White toggle for dark FAQ section */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

details.page-support__faq-item .page-support__faq-answer p {
  color: #f0f0f0; /* Light grey text for answers in dark section */
  font-size: 15px;
  line-height: 1.6;
}

/* Contact Form Section */
.page-support__contact-form-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-support__contact-form {
  max-width: 600px;
  margin: 40px auto 0 auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

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

.page-support__form-input,
.page-support__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  font-size: 16px;
  color: #333333;
  background-color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
  border-color: #017439;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
  outline: none;
}

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

.page-support__btn--submit {
  background-color: #017439;
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn--submit:hover {
  background-color: #005f2e;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px;
  }

  /* Hero Section */
  .page-support__hero-section {
    padding-top: 10px !important;
  }

  .page-support__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
    margin-bottom: 30px;
  }

  .page-support__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-support__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-support__btn,
  .page-support__btn--primary,
  .page-support__btn--secondary,
  .page-support__btn--submit,
  .page-support a[class*="button"],
  .page-support 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: 0;
    padding-right: 0;
  }

  .page-support__info-section {
    padding: 40px 0;
  }

  .page-support__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .page-support__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }

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

  .page-support__channel-card {
    padding: 25px;
    min-height: auto;
  }

  .page-support__channel-icon {
    max-width: 200px;
    margin-bottom: 20px;
  }

  .page-support__card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-support__card-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* FAQ Section */
  .page-support__faq-section {
    padding: 40px 0;
  }

  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px;
  }

  .page-support__faq-qtext {
    font-size: 15px;
  }

  .page-support__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
  }

  details.page-support__faq-item .page-support__faq-answer p {
    font-size: 14px;
  }

  /* Contact Form Section */
  .page-support__contact-form-section {
    padding: 40px 0;
  }

  .page-support__contact-form {
    padding: 25px;
    margin-top: 30px;
  }

  .page-support__form-group {
    margin-bottom: 15px;
  }

  .page-support__form-label {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .page-support__form-input,
  .page-support__form-textarea {
    font-size: 15px;
    padding: 10px;
    width: 100%; /* Ensure form inputs take full width */
  }

  .page-support__btn--submit {
    padding: 12px 25px;
    font-size: 16px;
    width: 100%;
  }

  /* Global image responsive rules for content area */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__hero-image {
    min-height: 150px; /* Adjust min-height for hero image on mobile */
  }

  .page-support__channel-icon {
    min-height: 180px; /* Adjust min-height for channel icons on mobile */
  }

  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Additional mobile button specific styles */
@media (max-width: 768px) {
  .page-support__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .page-support__btn--small {
    width: 100%;
  }
  .page-support__btn--inline {
    width: auto; /* Allow inline buttons to be smaller if text is short */
    display: block;
    text-align: center;
  }
  .page-support__form-input, .page-support__form-textarea {
    width: 100%; /* Ensure form inputs take full width */
  }
  .page-support__btn--submit {
    width: 100%;
  }
}