/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main for dark background */
  background-color: var(--deep-navy); /* Body background is dark */
}

.page-support__section {
  padding: 60px 0;
  text-align: center;
}

.page-support__dark-bg {
  background-color: var(--deep-navy);
  color: #F3F8FF;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-support__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  height: auto;
}

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

.page-support__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__intro-text {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-support__cta-image {
  max-width: 100%;
  height: auto;
  margin-top: 30px;
}

/* Section Titles and Descriptions */
.page-support__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.05em;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Channels Grid */
.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-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
}

.page-support__channel-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__card-title {
  font-size: 1.5em;
  color: #F3F8FF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__card-text {
  color: #AFC4E8;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-support__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-support__card-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

/* FAQ Section */
.page-support__faq-section .page-support__section-description,
.page-support__faq-section .page-support__section-title {
  color: #333333;
}

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

.page-support__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #113B7A; /* Primary brand color */
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #f0f0f0;
}

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

.page-support__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

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

.page-support__faq-answer a {
  color: #1D5FD1;
  text-decoration: underline;
}

/* For <details> tag, hide default marker */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

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

.page-support__guide-card {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
}

.page-support__guide-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-support__guide-card .page-support__card-title {
  padding: 20px 20px 0;
  font-size: 1.3em;
  color: #F3F8FF;
}

.page-support__guide-card .page-support__card-title a {
  color: #F3F8FF;
  text-decoration: none;
}

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

.page-support__guide-card .page-support__card-text {
  padding: 0 20px 20px;
  font-size: 0.9em;
  color: #AFC4E8;
}

.page-support__guide-card .page-support__card-button {
  margin: 0 20px 20px;
}

.page-support__button-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Commitment Section */
.page-support__commitment-section .page-support__section-description,
.page-support__commitment-section .page-support__section-title {
  color: #333333;
}

.page-support__commitment-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-support__commitment-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-support__commitment-heading {
  font-size: 1.4em;
  color: #113B7A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__commitment-text {
  color: #555555;
  font-size: 0.95em;
}

.page-support__commitment-image {
  max-width: 100%;
  height: auto;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Contact CTA Section */
.page-support__contact-cta {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 30px 20px;
  }
  .page-support__main-title {
    font-size: 3em;
  }
}

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

  .page-support__section {
    padding: 40px 0;
  }

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

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

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

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

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

  .page-support__channels-grid,
  .page-support__guides-grid,
  .page-support__commitment-points {
    grid-template-columns: 1fr;
  }

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

  .page-support__card-title {
    font-size: 1.3em;
  }

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

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

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

  .page-support__guide-card .page-support__card-title {
    font-size: 1.2em;
  }

  /* Mobile image adaptation */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-image-wrapper,
  .page-support__hero-content,
  .page-support__channels-grid,
  .page-support__guides-grid,
  .page-support__commitment-points,
  .page-support__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-support__cta-button,
  .page-support__card-button,
  .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__button-group {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 2em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__cta-button {
    padding: 12px 20px;
  }
  .page-support__card-button {
    padding: 8px 15px;
  }
}