/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
}

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

.page-support__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-support__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-support__hero-section > .page-support__container {
  position: relative;
  z-index: 2;
}

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

.page-support__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-support__btn-primary, .page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

.page-support__btn-secondary:hover {
  background: #005a2d;
  border-color: #005a2d;
}

.page-support__channels-section, .page-support__guide-section, .page-support__contact-cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-support__faq-section, .page-support__commitment-section, .page-support__safety-section {
  padding: 60px 0;
  text-align: center;
}

.page-support__dark-bg {
  background: var(--dark-bg-1, #0d0d0d);
  color: #ffffff;
}

.page-support__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-support__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit;
}

.page-support__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

.page-support__channel-card, .page-support__guide-card, .page-support__commitment-item, .page-support__safety-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-support__light-bg .page-support__channel-card, .page-support__light-bg .page-support__guide-card {
  background: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__channel-icon, .page-support__guide-image, .page-support__safety-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-support__guide-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-support__channel-title, .page-support__guide-title, .page-support__commitment-title, .page-support__safety-item h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-support__light-bg .page-support__channel-title, .page-support__light-bg .page-support__guide-title {
  color: #017439;
}

.page-support__guide-title a {
  color: #017439;
  text-decoration: none;
}

.page-support__guide-title a:hover {
  text-decoration: underline;
}

.page-support__channel-text, .page-support__guide-text, .page-support__commitment-text, .page-support__safety-item p {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: inherit;
}

.page-support__contact-button {
  margin-top: 30px;
}

/* FAQ Section */
.page-support__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background: #017439;
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background: #005a2d;
}

.page-support__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: inherit;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

/* Safety Section */
.page-support__safety-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__safety-item h3 {
  color: #FFFF00;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }

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

  .page-support__intro-text {
    font-size: 1em;
  }

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

  .page-support__section-description {
    font-size: 0.95em;
  }

  .page-support__channels-grid, .page-support__guide-grid, .page-support__commitment-grid, .page-support__safety-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__btn-primary, .page-support__btn-secondary,
  .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: 15px;
    padding-right: 15px;
  }

  .page-support__channels-grid .page-support__btn-secondary,
  .page-support__guide-grid .page-support__guide-title a {
    margin-top: 15px;
  }

  .page-support__channel-card, .page-support__guide-card,
  .page-support__commitment-item, .page-support__safety-item,
  .page-support__section, .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__channel-icon, .page-support__safety-icon {
    max-width: 150px;
    min-width: 150px;
    min-height: 150px;
  }

  .page-support__guide-image {
    height: 150px;
  }

  .page-support__faq-question {
    padding: 15px 20px;
  }

  .page-support__faq-question h3 {
    font-size: 1em;
  }

  .page-support__faq-answer {
    padding: 0 20px;
  }

  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
}