.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from body via shared.css */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  overflow: hidden;
  background-color: #017439; /* Brand color for hero background */
  color: #ffffff; /* White text on brand color background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-support__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFF00; /* Special color for main title */
  line-height: 1.2;
}

.page-support__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-support__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
}

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

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

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

.page-support__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.2; /* Subtle background image */
}

/* General Section Styling */
.page-support__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFFF00; /* Highlighted titles */
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-support__channels-section,
.page-support__guides-section,
.page-support__commitment-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background from body */
  color: #ffffff; /* Light text */
}

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

.page-support__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Ensure text is white on card background */
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Channel Grid */
.page-support__channel-grid,
.page-support__guide-grid,
.page-support__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__channel-item,
.page-support__guide-item,
.page-support__commitment-item {
  text-align: center;
}

.page-support__channel-icon,
.page-support__guide-image,
.page-support__commitment-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Constrain image width within card */
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
  display: block; /* Ensure block display for margin auto */
}

.page-support__channel-title,
.page-support__guide-title,
.page-support__commitment-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Highlighted titles */
}

.page-support__channel-text,
.page-support__guide-text,
.page-support__commitment-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-support__channel-btn {
  margin-top: auto; /* Push button to bottom */
}

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

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

.page-support__faq-item {
  margin-bottom: 20px;
  text-align: left;
  overflow: hidden; /* For max-height transition */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFFF00; /* FAQ question text */
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFF00; /* Toggle icon color */
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg); /* For '-' icon */
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px !important; /* Expanded padding */
}

.page-support__faq-answer p {
  margin: 0;
}

/* Video Section */
.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.5); /* Placeholder background */
}

.page-support__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block; /* Ensure video takes full width */
}

/* Final CTA Section */
.page-support__cta-final-section {
  padding: 60px 0;
  text-align: center;
}

.page-support__cta-final-section .page-support__container {
  background-color: #017439; /* Brand color for final CTA background */
  padding: 40px 20px;
  border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 2.2em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-support__intro-text {
    font-size: 1em;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container of buttons */
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-support__section-title {
    font-size: 1.6em;
  }

  .page-support__section-description {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-support__channel-grid,
  .page-support__guide-grid,
  .page-support__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card {
    padding: 20px;
    margin: 0 15px; /* Add margin for cards */
  }

  .page-support__channel-icon,
  .page-support__guide-image,
  .page-support__commitment-icon,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video container responsive */
  .page-support__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Specific section padding for mobile */
  .page-support__channels-section .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__guides-section .page-support__container,
  .page-support__commitment-section .page-support__container,
  .page-support__cta-final-section .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-support__faq-question {
    padding: 15px;
  }
  
  .page-support__faq-question h3 {
    font-size: 1.1em;
  }

  .page-support__faq-answer {
    padding: 0 15px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }
}

/* Content area images CSS dimensions lower bound */
.page-support img {
  min-width: 200px;
  min-height: 200px;
}