.page-support {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color, #FFFFFF);
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Minimal top padding, assuming body has header offset */
  padding-bottom: 40px;
  overflow: hidden;
  color: #ffffff;
  background-color: #26A9E0;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover; /* Cover for desktop */
  display: block;
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: 20px; /* Space between image and content */
}

.page-support__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-support__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

/* General Section Styling */
.page-support__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #26A9E0;
}

.page-support__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

/* Channels Section */
.page-support__channels-section {
  padding: 60px 0;
}

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

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

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

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

.page-support__channel-description {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-support__channel-button {
  width: 100%;
}

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

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  color: #333333;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

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

.page-support__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

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

.page-support__faq-item[open] .page-support__faq-toggle {
  content: "−";
}

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-support__faq-link {
  display: inline-block;
  margin-top: 10px;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

/* Guides Section */
.page-support__guides-section {
  padding: 60px 0;
}

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

.page-support__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  padding-bottom: 20px;
}

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

.page-support__guide-card h3,
.page-support__guide-card p,
.page-support__guide-card a {
  padding-left: 20px;
  padding-right: 20px;
}

.page-support__guide-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-support__guide-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 20px;
}

/* Security Section */
.page-support__security-section {
  padding: 60px 0;
  text-align: center;
}

.page-support__security-section p {
  max-width: 900px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
  font-size: 1.1em;
}

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

.page-support__feedback-section p {
  max-width: 900px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
  font-size: 1.1em;
}

/* Download CTA Section */
.page-support__download-cta-section {
  padding: 60px 0;
}

.page-support__download-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

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

.page-support__download-content .page-support__section-title,
.page-support__download-content .page-support__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-support__download-image-wrapper {
  flex: 0 0 400px;
  text-align: center;
}

.page-support__download-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Card Styling */
.page-support__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__container {
    padding: 20px 30px;
  }
  .page-support__download-image-wrapper {
    flex: 0 0 300px;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 20px 15px !important;
  }

  /* Hero Section */
  .page-support__hero-section {
    padding-bottom: 30px;
  }
  .page-support__hero-image {
    object-fit: contain; /* Contain for mobile to prevent cropping */
    max-height: 300px; /* Limit height on mobile */
  }
  .page-support__hero-content {
    margin-top: 15px;
    padding: 0 15px;
  }
  .page-support__main-title {
    font-size: 2em;
  }
  .page-support__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }

  /* General Section Styling */
  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-support__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* Channels Section */
  .page-support__channels-section {
    padding: 40px 0;
  }
  .page-support__channels-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  .page-support__channel-item {
    padding: 20px;
  }
  .page-support__channel-icon {
    width: 80px;
    height: 80px;
  }

  /* FAQ Section */
  .page-support__faq-section {
    padding: 40px 0;
  }
  .page-support__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-support__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  /* Guides Section */
  .page-support__guides-section {
    padding: 40px 0;
  }
  .page-support__guides-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  .page-support__guide-image {
    height: 180px;
  }
  .page-support__guide-title {
    font-size: 1.2em;
  }

  /* Security & Feedback Sections */
  .page-support__security-section,
  .page-support__feedback-section {
    padding: 40px 0;
  }
  .page-support__security-section p,
  .page-support__feedback-section p {
    font-size: 1em;
    padding: 0 10px;
  }

  /* Download CTA Section */
  .page-support__download-cta-section {
    padding: 40px 0;
  }
  .page-support__download-flex {
    flex-direction: column; /* Stack vertically */
    gap: 20px;
    text-align: center;
  }
  .page-support__download-content .page-support__section-title,
  .page-support__download-content .page-support__section-intro {
    text-align: center;
  }
  .page-support__download-image-wrapper {
    flex: 0 0 auto;
    width: 100%;
  }

  /* Universal Image and Container Responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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