/* style/support.css */

/* Base styles for page-support */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  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, 48px);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-support__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-support__text-link:hover {
  text-decoration: none;
  color: #FFFFFF;
}

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0d0d0d; /* Slightly lighter dark for this section */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-support__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  color: #ffffff;
}

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

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

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Dark background for contrast */
  color: #ffffff;
}

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

.page-support__faq-section .page-support__section-description {
  color: #f0f0f0;
}

.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.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

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

.page-support__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: #26A9E0;
}

.page-support__faq-answer {
  padding: 20px;
  font-size: 16px;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-support__faq-answer p {
  margin-bottom: 10px;
}

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

.page-support__image-wrapper {
  text-align: center;
  margin-top: 50px;
}

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

/* Guide Section */
.page-support__guide-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-support__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-support__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-support__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  padding: 20px;
  margin-bottom: 0;
}

.page-support__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

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

.page-support__card .page-support__btn-primary,
.page-support__card .page-support__btn-secondary {
  margin: 0 20px 20px;
}

/* Policy Section */
.page-support__policy-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-support__policy-section .page-support__section-description {
  color: #f0f0f0;
}

.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-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-support__policy-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__policy-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

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

/* Contact Section */
.page-support__contact-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-support__contact-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

/* News and Blog Section */
.page-support__news-blog-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
}

.page-support__news-blog-section .page-support__section-title {
  color: #FFFFFF;
}

.page-support__news-blog-section .page-support__section-description {
  color: #f0f0f0;
}

.page-support__news-blog-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

  .page-support__container {
    padding: 0 15px;
  }

  .page-support__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-support__hero-content {
    padding: 30px 15px;
  }

  .page-support__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-support__hero-description {
    font-size: 16px;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__faq-section,
  .page-support__guide-section,
  .page-support__policy-section,
  .page-support__contact-section,
  .page-support__news-blog-section {
    padding: 50px 0;
  }

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

  .page-support__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-support__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }

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

  .page-support__card-image {
    height: 200px;
  }

  .page-support__card-title {
    font-size: 20px;
    padding: 15px;
  }

  .page-support__card-text {
    font-size: 15px;
    padding: 0 15px;
  }

  .page-support__policy-title,
  .page-support__contact-title {
    font-size: 20px;
  }

  .page-support__policy-text,
  .page-support__contact-text {
    font-size: 15px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__image-wrapper,
  .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;
    overflow: hidden !important; /* Prevent content overflow */
  }

  /* Specific adjustments for hero content to prevent overflow */
  .page-support__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Desktop specific video width for flex container */
.page-support__video-container {
  width: 100%; /* Ensure it takes full width of its parent */
  max-width: 1200px; /* Limit max width for desktop */
}

/* Color Contrast Fixes (if needed) */
.page-support__dark-bg {
  color: #ffffff; /* Deep dark background requires light text */
}

.page-support__light-bg {
  color: #333333; /* Light background requires dark text */
}

.page-support__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body */
  color: #ffffff;
}

.page-support__policy-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body */
  color: #ffffff;
}

.page-support__contact-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body */
  color: #ffffff;
}

.page-support p, .page-support li {
  color: #f0f0f0; /* Ensure paragraph text is light on dark body */
}