/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-background-1); /* Inherited from shared, assuming dark */
  line-height: 1.6;
}

.page-support__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  overflow: hidden;
}

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

.page-support__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-support__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-support__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-support__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

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

.page-support__section-title--light::after {
  background-color: #FFFFFF;
}

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

.page-support__section-description--light {
  color: #e0e0e0;
}

.page-support__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #f0f0f0; /* Light text for general content on dark body */
}

.page-support__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 20px;
}

/* Buttons */
.page-support__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-support__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  border: 2px solid #26A9E0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-support__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Why Choose Section */
.page-support__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__feature-text {
  color: #f0f0f0;
}

.page-support__why-choose-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

.page-support__channel-card {
  background: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.page-support__channel-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__channel-text {
  color: #555555;
  margin-bottom: 25px;
}

/* Guide Section */
.page-support__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-support__step-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.page-support__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-support__step-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-support__step-text {
  color: #f0f0f0;
}

.page-support__guide-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

.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.15);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-question h3 {
  margin: 0;
  color: #FFFFFF;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px !important;
}

.page-support__faq-answer p {
  margin: 0;
}

.page-support__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Policy Section */
.page-support__policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__policy-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__policy-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-support__policy-text {
  color: #e0e0e0;
}

.page-support__policy-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Feedback Section */
.page-support__feedback-section {
  text-align: center;
}

/* CTA Section Bottom */
.page-support__cta-content {
  text-align: center;
}

/* Inline links */
.page-support__inline-link {
  color: #FFFFFF;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-support__inline-link:hover {
  color: #f0f0f0;
}

.page-support__channel-card .page-support__inline-link {
  color: #26A9E0;
}

.page-support__channel-card .page-support__inline-link:hover {
  color: #1a7fb3;
}

.page-support__inline-link--light {
  color: #e0e0e0;
}

.page-support__inline-link--light:hover {
  color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__hero-section {
    height: 500px;
  }

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

  .page-support__hero-description {
    font-size: 1em;
  }

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

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

  .page-support__content-area,
  .page-support__dark-section {
    padding: 40px 15px;
  }

  .page-support__features-grid,
  .page-support__channels-grid,
  .page-support__guide-steps,
  .page-support__policy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    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__hero-content .page-support__btn-primary {
    margin-bottom: 15px;
  }

  .page-support__channel-card .page-support__btn-secondary {
    margin-top: 15px;
  }

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }

  .page-support__hero-image,
  .page-support__why-choose-image,
  .page-support__guide-image,
  .page-support__faq-image,
  .page-support__policy-image {
    border-radius: 0;
  }

  .page-support__faq-question,
  .page-support__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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