.page-support {
  color: #f0f0f0; /* Default light text for dark body background */
}

.page-support__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.page-support__hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-support__hero-cta {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-support__hero-cta:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-support__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-support__section-intro {
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #333333; /* Dark text for light background */
}

.page-support__common-issues {
  padding: 60px 0;
  background: #f1f3ff; /* Light background for content cards */
}

.page-support__card {
  background: #ffffff; /* White background for cards */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 40px;
  color: #333333; /* Dark text for white background */
}

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

.page-support__issue-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-support__issue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-support__issue-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support__issue-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-support__issue-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: auto; /* Push image to bottom if content varies */
  object-fit: cover;
  min-height: 200px;
}

.page-support__contact-channels {
  padding: 60px 0;
  background: var(--dark-bg-1); /* Dark background */
  color: #ffffff; /* Light text */
}

.page-support__contact-channels .page-support__section-title {
  color: #ffffff;
}

.page-support__contact-channels .page-support__section-intro {
  color: #f0f0f0;
}

.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: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-support__channel-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-support__channel-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-support__channel-description {
  font-size: 15px;
  line-height: 1.6;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  margin-top: auto; /* Push buttons to bottom */
  width: 100%;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.3);
}

.page-support__btn-primary:hover {
  background: var(--secondary-color);
  box-shadow: 0 6px 15px rgba(var(--secondary-color-rgb), 0.4);
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-support__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.page-support__contact-tip {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 50px;
  color: #f0f0f0;
}

.page-support__faq-section {
  padding: 60px 0;
  background: #f1f3ff; /* Light background */
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #333333;
}

.page-support__faq-answer p {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-support__faq-question:active {
  background: #eeeeee;
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-support__useful-resources {
  padding: 60px 0;
  background: var(--dark-bg-1); /* Dark background */
  color: #ffffff; /* Light text */
}

.page-support__useful-resources .page-support__section-title {
  color: #ffffff;
}

.page-support__useful-resources .page-support__section-intro {
  color: #f0f0f0;
}

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

.page-support__resource-list li {
  margin-bottom: 10px;
}

.page-support__resource-link {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 17px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.page-support__resource-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.page-support__final-note {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 50px;
  color: #e0e0e0;
}

.page-support__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-support__link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 36px;
  }
  .page-support__section-title {
    font-size: 32px;
  }
  .page-support__issue-title {
    font-size: 22px;
  }
  .page-support__channel-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-banner {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__hero-title {
    font-size: 28px;
  }
  .page-support__hero-description {
    font-size: 16px;
  }
  .page-support__hero-cta {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-support__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-support__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-support__common-issues,
  .page-support__contact-channels,
  .page-support__faq-section,
  .page-support__useful-resources {
    padding: 40px 0;
  }
  .page-support__card {
    padding: 25px;
    border-radius: 8px;
  }
  .page-support__issue-grid,
  .page-support__channel-grid,
  .page-support__resource-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__issue-card,
  .page-support__channel-card {
    padding: 20px;
  }
  .page-support__issue-title {
    font-size: 20px;
  }
  .page-support__issue-text {
    font-size: 15px;
  }
  .page-support__channel-title {
    font-size: 18px;
  }
  .page-support__channel-description {
    font-size: 14px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-support__contact-tip,
  .page-support__final-note {
    font-size: 15px;
    margin-top: 30px;
  }
  .page-support__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-support__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-support__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-support__faq-answer {
    padding: 0 15px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }
  .page-support__resource-link {
    font-size: 16px;
    padding: 12px 20px;
  }
}

/* All images responsive */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile forced image and container adaptation */
@media (max-width: 768px) {
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__hero-banner,
  .page-support__common-issues .page-support__container,
  .page-support__contact-channels .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__useful-resources .page-support__container,
  .page-support__card,
  .page-support__issue-card,
  .page-support__channel-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-banner {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }
}