:root {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #0a0a0a;
  --background-light: #f8f9fa;
  --card-background-dark-opacity: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-support {
  background-color: var(--background-dark); /* Body background is dark */
  color: var(--text-light); /* Default text color for dark background */
  padding-top: 120px; /* Adjust for fixed header on desktop */
  min-height: 100vh;
}

.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;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-light);
  padding-top: 180px; /* Desktop: Ensure content is not hidden by fixed nav */
}

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

.page-support__hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-support__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-support__cta-button:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-support__content-section {
  padding: 80px 20px;
  background: var(--background-light);
  color: var(--text-dark);
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-support__section-title--white {
  color: var(--text-light);
}

.page-support__text-block {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--text-dark);
}

.page-support__text-block--white {
  color: var(--text-light);
}

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

.page-support__grid-item.page-support__card {
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__grid-item.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

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

.page-support__card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-support__card-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  color: var(--text-dark);
}

.page-support__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-support__card-button:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.page-support__faq-section {
  padding: 80px 20px;
  background: var(--background-dark);
  color: var(--text-light);
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-background-dark-opacity);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.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 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-support__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  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__faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

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

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

.page-support__contact-section {
  padding: 80px 20px;
  background: var(--background-light);
  text-align: center;
  color: var(--text-dark);
}

.page-support__contact-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin: 15px 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-support__contact-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-support__contact-button--primary {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-support__contact-button--primary:hover {
  background: #e0a800;
  color: var(--text-dark);
}

.page-support__policy-section {
  padding: 80px 20px;
  background: var(--background-dark);
  color: var(--text-light);
  text-align: center;
}

.page-support__policy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 600px;
}

.page-support__policy-list li {
  margin-bottom: 15px;
}

.page-support__policy-list a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.highlight {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 36px;
  }
  .page-support__hero-description {
    font-size: 16px;
  }
  .page-support__section-title {
    font-size: 30px;
  }
  .page-support__text-block {
    font-size: 16px;
  }
  .page-support__card-title {
    font-size: 22px;
  }
  .page-support__card-description {
    font-size: 15px;
  }
  .page-support__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-support {
    padding-top: 100px; /* Mobile: Adjust for fixed header */
  }
  .page-support__hero-section {
    padding-top: 140px !important; /* Mobile: Ensure content is not hidden by fixed nav */
    padding-bottom: 40px;
  }
  .page-support__hero-title {
    font-size: 28px;
  }
  .page-support__hero-description {
    font-size: 15px;
  }
  .page-support__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-support__content-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__policy-section {
    padding: 40px 15px;
  }
  .page-support__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-support__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-support__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__grid-item.page-support__card {
    padding: 20px;
  }
  .page-support__card-image {
    margin-bottom: 20px;
  }
  .page-support__card-title {
    font-size: 20px;
  }
  .page-support__card-description {
    font-size: 14px;
  }
  .page-support__card-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  .page-support__faq-question {
    padding: 15px;
  }
  .page-support__faq-question h3 {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }
  .page-support__faq-answer p {
    font-size: 15px;
  }
  .page-support__contact-button {
    width: 100%;
    margin: 10px 0;
  }
  .page-support__policy-list {
    margin-top: 30px;
  }
  .page-support__policy-list a {
    font-size: 16px;
  }
}

/* Global image responsive styles to prevent overflow */
.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-section,
  .page-support__content-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__policy-section,
  .page-support__container,
  .page-support__grid-container,
  .page-support__grid-item.page-support__card,
  .page-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}