/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-support__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  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: #1e87b0;
  border-color: #1e87b0;
}

.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--large {
  padding: 15px 30px;
  font-size: 1.15em;
}

.page-support__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.page-support__dark-section .page-support__section-title,
.page-support__dark-section .page-support__section-description {
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333; /* Light background, so text is dark */
}

.page-support__light-bg .page-support__section-title,
.page-support__light-bg .page-support__section-description,
.page-support__light-bg p,
.page-support__light-bg h3,
.page-support__light-bg a {
  color: #333333;
}

.page-support__light-bg a {
  color: #26A9E0;
}

.page-support__light-bg a:hover {
  text-decoration: underline;
}

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

.page-support__channels-section,
.page-support__faq-section,
.page-support__guides-section,
.page-support__commitment-section,
.page-support__tips-section,
.page-support__conclusion-section {
  padding: 80px 0;
}

.page-support__channels-grid,
.page-support__guides-grid,
.page-support__commitment-grid,
.page-support__tips-grid {
  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__tip-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-support__light-bg .page-support__channel-card,
.page-support__light-bg .page-support__guide-card,
.page-support__light-bg .page-support__commitment-item,
.page-support__light-bg .page-support__tip-item {
  background-color: #f8f8f8; /* Lighter background for cards on light background */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-support__channel-card:hover,
.page-support__guide-card:hover,
.page-support__commitment-item:hover,
.page-support__tip-item:hover {
  transform: translateY(-5px);
}

.page-support__channel-image,
.page-support__guide-image,
.page-support__commitment-image,
.page-support__tip-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  width: 100%;
  min-height: 200px; /* Minimum size requirement */
}

.page-support__channel-title,
.page-support__guide-title,
.page-support__commitment-title,
.page-support__tip-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

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

.page-support__channel-text,
.page-support__guide-text,
.page-support__commitment-text,
.page-support__tip-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__light-bg .page-support__channel-text,
.page-support__light-bg .page-support__guide-text,
.page-support__light-bg .page-support__commitment-text,
.page-support__light-bg .page-support__tip-text {
  color: #555555;
}

.page-support__channel-link {
  display: inline-block;
  color: #EA7C07; /* Login color for action links */
  text-decoration: none;
  font-weight: 600;
  margin-top: auto; /* Push to bottom */
}

.page-support__channel-link:hover {
  text-decoration: underline;
}

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

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

.page-support__light-bg .page-support__faq-item {
  background-color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-support__light-bg .page-support__faq-question {
  color: #333333;
  background-color: #e8e8e8;
}

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

.page-support__light-bg .page-support__faq-question:hover {
  background-color: #dddddd;
}

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

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

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

.page-support__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-support__faq-item[open] .page-support__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  transition: max-height 0.5s ease-in;
}

.page-support__light-bg .page-support__faq-answer {
  color: #555555;
}

.page-support__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  display: block;
  object-fit: cover;
  width: 100%;
  min-height: 200px; /* Minimum size requirement */
}

.page-support__cta-contact {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-support__cta-contact a {
  margin-left: 10px;
}

.page-support__light-bg .page-support__cta-contact p {
  color: #333333;
}

.page-support__light-bg .page-support__cta-contact a {
  color: #26A9E0;
}

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

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-support__main-title {
    font-size: 2em; /* Adjust H1 for mobile */
  }

  .page-support__description {
    font-size: 1em;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .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-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__commitment-section,
  .page-support__tips-section,
  .page-support__conclusion-section {
    padding: 60px 0;
  }

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

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

  .page-support__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-support__channel-card,
  .page-support__guide-card,
  .page-support__commitment-item,
  .page-support__tip-item {
    padding: 20px;
  }

  .page-support__channel-image,
  .page-support__guide-image,
  .page-support__commitment-image,
  .page-support__tip-image,
  .page-support__faq-image,
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Enforce min size on mobile */
  }

  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-support__cta-contact {
    font-size: 1em;
  }

  .page-support__cta-contact a {
    display: block;
    margin-top: 15px;
    margin-left: 0;
  }
}