/* style/support.css */

/* Base styles for the support page */
.page-support {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-support__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
  line-height: 1.2;
}

.page-support__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-support__description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: center;
  color: #f0f0f0;
}

/* Color contrast classes */
.page-support__dark-bg {
  background-color: #000000; /* Body background is dark */
  color: #ffffff;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #26A9E0;
}

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

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

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

.page-support__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-support__btn-link {
  background-color: #26A9E0;
  color: #ffffff;
  border: 1px solid #26A9E0;
  padding: 10px 20px;
  font-size: 16px;
}

.page-support__btn-link:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-support__btn-text {
  color: #26A9E0;
  text-decoration: underline;
  font-size: 16px;
  padding: 0;
  background: none;
  border: none;
  display: inline-block;
  margin-top: 10px;
}

.page-support__btn-text:hover {
  color: #1e87c0;
}

/* Channels Section */
.page-support__channels-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background */
}

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background on dark body */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 380px;
}

.page-support__channel-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-support__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__card-text {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-support__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

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

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

.page-support__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  color: #ffffff;
}

.page-support__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsibility Section */
.page-support__responsibility-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-support__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-support__text-content {
  flex: 1;
}

.page-support__image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__image-responsive {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Commitment Section */
.page-support__commitment-section {
  padding: 60px 0;
  background-color: #000000;
}

.page-support__commitment-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-support__list-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background on dark background */
  border-left: 5px solid #26A9E0;
  padding: 20px;
  border-radius: 8px;
  font-size: 17px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-support__list-item strong {
  color: #26A9E0;
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

/* Contact CTA Section */
.page-support__contact-cta {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-support__contact-content {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 30px 0;
  border-radius: 8px;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-support__channel-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-support__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-support__image-content {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__responsibility-section,
  .page-support__commitment-section,
  .page-support__contact-cta {
    padding: 40px 0;
  }
  
  .page-support__hero-section {
    padding-top: 10px !important;
  }

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

  /* Images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Buttons responsive */
  .page-support__cta-buttons,
  .page-support__btn-container {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-link,
  .page-support__btn-text,
  .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__channel-grid {
    grid-template-columns: 1fr;
  }

  .page-support__commitment-list {
    grid-template-columns: 1fr;
  }

  .page-support__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 20px;
  }

  .page-support__main-title {
    font-size: clamp(30px, 8vw, 48px);
  }
  
  .page-support__channel-card {
    min-height: auto;
  }
}