/* style/support.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-support {
  background-color: #08160F; /* Nền tối */
  color: #F2FFF6; /* Chữ sáng */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn so với --header-offset */
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

.page-support__hero-content {
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Sử dụng clamp cho kích thước linh hoạt */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* General Section Styling */
.page-support__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 25px;
}

.page-support__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Button Styling */
.page-support__cta-button,
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

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

.page-support__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Text Main */
  border-color: #2AD16F;
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-support__contact-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-support__card-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-support__card-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
}

.page-support__cta-group {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
}

.page-support__cta-text {
  font-size: 1.2rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-support__faq-item {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  list-style: none; /* Hide default marker for details */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-support__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details */
}

.page-support__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

.page-support__faq-answer p {
  margin-bottom: 10px;
}

.page-support__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-support__dark-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

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

.page-support__guide-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  text-align: left;
  padding-bottom: 20px; /* Add padding for content below image */
}

.page-support__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-support__guide-card .page-support__card-title {
  font-size: 1.35rem;
  margin: 0 20px 10px;
  text-align: left;
}

.page-support__guide-card .page-support__card-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
}

.page-support__guide-card .page-support__card-title a:hover {
  color: #2AD16F; /* Hover color */
}

.page-support__guide-card .page-support__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin: 0 20px 20px;
  text-align: left;
}

.page-support__guide-card .page-support__btn-secondary {
  margin: 0 20px;
  width: calc(100% - 40px); /* Adjust button width within card */
}

/* Final CTA Section */
.page-support__cta-final {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

.page-support__cta-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-support__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-support__description {
    font-size: 1.1rem;
  }
  .page-support__section-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-support__hero-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__cta-final {
    padding: 40px 0;
  }

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

  .page-support__hero-content {
    padding: 0 15px;
  }

  .page-support__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
  }

  .page-support__description,
  .page-support__section-description,
  .page-support__card-text {
    font-size: 1rem !important;
  }

  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

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

  .page-support__container,
  .page-support__contact-card,
  .page-support__cta-group,
  .page-support__guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-support__hero-section .page-support__container {
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-support__card-image {
    height: 180px; /* Adjust height for smaller screens */
  }

  .page-support__faq-question {
    font-size: 1.1rem !important;
    padding: 15px 20px;
  }

  .page-support__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem !important;
  }

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Content area image size lower limit check */
  .page-support__hero-image, .page-support__card-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem) !important;
  }
  .page-support__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }
  .page-support__card-title {
    font-size: 1.3rem !important;
  }
}