.page-support {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Custom main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 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: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

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

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 size */
  font-weight: 700;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.15rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 40px;
}

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal; /* Allow button text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Main text color for button */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Green from gradient */
  border: 2px solid #2AD16F; /* Border with green from gradient */
}

.page-support__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Dark background color for hover */
  transform: translateY(-2px);
}

/* General Section Styling */
.page-support__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Main text color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.page-support__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2AD16F; /* Green from gradient */
  border-radius: 2px;
}

.page-support__text-block {
  font-size: 1.05rem;
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-support__dark-section {
  background-color: #0A4B2C; /* Deep Green custom color */
  padding: 60px 0;
}

.page-support__card {
  background-color: #11271B; /* Custom card background color */
  border: 1px solid #2E7A4E; /* Custom border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Main text color for card */
}

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

/* Why Us Section */
.page-support__why-us-section {
  padding: 60px 0;
}

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

.page-support__feature-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
  text-align: center;
}

.page-support__feature-description {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
}

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

.page-support__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-support__faq-item {
  overflow: hidden;
  transition: all 0.3s ease-out;
  color: #F2FFF6; /* Main text color for FAQ item */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  padding-bottom: 15px;
  border-bottom: 1px solid #1E3A2A; /* Custom divider color */
  color: #F2FFF6; /* Main text color for FAQ question */
  transition: color 0.3s ease;
}

.page-support__faq-question:hover {
  color: #2AD16F; /* Green from gradient on hover */
}

.page-support__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  margin-left: 20px;
  width: 25px;
  text-align: center;
  color: #2AD16F; /* Green from gradient */
}

.page-support__faq-answer {
  padding-top: 15px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color for FAQ answer */
  text-align: left;
}

.page-support__faq-answer p {
  margin-bottom: 10px;
  color: #A7D9B8; /* Secondary text color */
}

.page-support__faq-answer a {
  color: #57E38D; /* Glow custom color for links */
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: #F2C14E; /* Gold custom color on hover */
}

/* Details element specific styling */
.page-support__faq-item[open] .page-support__faq-question {
  border-bottom-color: transparent;
}
.page-support__faq-item details > summary {
  list-style: none; /* Remove default marker */
}
.page-support__faq-item details > summary::-webkit-details-marker {
  display: none; /* For Webkit browsers */
}

.page-support__cta-block {
  text-align: center;
  margin-top: 50px;
}

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

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

.page-support__contact-item {
  text-align: center;
}

.page-support__contact-icon {
  width: 100%;
  max-width: 250px; /* Adjusted to be larger, still meeting >200px requirement */
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-support__contact-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 10px;
}

.page-support__contact-description {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
}

.page-support__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Resources Section */
.page-support__resources-section {
  padding: 60px 0;
}

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

.page-support__resource-item {
  text-align: center;
}

.page-support__resource-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-support__resource-title a {
  color: #F2FFF6; /* Main text color for resource title links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__resource-title a:hover {
  color: #2AD16F; /* Green from gradient on hover */
}

.page-support__resource-description {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__container {
    padding: 0 15px !important;
  }

  .page-support__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
  }

  .page-support__main-title {
    font-size: 2.2rem;
  }

  .page-support__description {
    font-size: 1rem;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-support__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-support__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-support__features-grid,
  .page-support__contact-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card {
    padding: 20px;
  }

  .page-support__faq-question {
    font-size: 1.1rem;
    padding-bottom: 10px;
  }

  .page-support__faq-answer {
    font-size: 0.95rem;
    padding-top: 10px;
  }

  .page-support__contact-icon {
    max-width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  
  .page-support__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset, không dùng ở đây */
  }

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

/* Ensure no filter on images */
.page-support img {
  filter: none !important;
}

/* Ensure content area images are not too small */
.page-support__hero-image,
.page-support__contact-icon {
  min-width: 200px;
  min-height: 200px;
}