/* Base styles for the page-support scope */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background: #ffffff; /* Default background for main content sections */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-support__hero-image-wrapper {
  margin-bottom: 30px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for desktop hero */
}

.page-support__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 700;
  color: #017439; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__intro-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555555;
}

/* CTA Buttons */
.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
  background: #ffffff;
  color: #017439; /* Brand color for secondary text */
  border: 2px solid #017439;
}

.page-support__btn-secondary:hover {
  background: #017439;
  color: #ffffff;
}

/* Content Area */
.page-support__content-area {
  padding: 60px 0;
}

.page-support__dark-section {
  background: #017439; /* Brand color as background */
  color: #ffffff; /* White text for dark background */
}

.page-support__dark-section .page-support__section-title,
.page-support__dark-section .page-support__text-block,
.page-support__dark-section .page-support__article-subtitle,
.page-support__dark-section p,
.page-support__dark-section li {
  color: #ffffff;
}

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

.page-support__section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-support__text-block {
  font-size: 16px;
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.page-support__article-body {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__article-subtitle {
  font-size: 22px;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-support__dark-section .page-support__article-subtitle {
  color: #ffffff;
}

.page-support__article-body p {
  margin-bottom: 15px;
}

.page-support__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-support__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 40px auto;
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: #f5f5f5;
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg); /* Optional: Animate plus to cross */
  color: #C30808;
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #555555;
}
.page-support__faq-answer p {
  margin: 0;
}

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