/* style/support.css */
/* body đã có padding-top: var(--header-offset); nên các section đầu tiên trong main không cần thêm padding-top lớn */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Mặc định màu chữ tối cho nền sáng */
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn để body xử lý khoảng cách header */
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background: #017439;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Sử dụng clamp để điều chỉnh kích thước chữ H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: clamp(1em, 2vw, 1.2em);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
}

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

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

.page-support__faq-section {
  padding: 60px 20px;
  background: #ffffff;
  color: #333333;
}

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

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-support__faq-item[open] {
  background: #f0f0f0;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-support__faq-item[open] .page-support__faq-question {
  border-bottom: 1px solid #d0d0d0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(0deg);
}

.page-support__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

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

.page-support__contact-section {
  padding: 80px 20px;
  background: #017439;
  color: #ffffff;
  text-align: center;
}

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

.page-support__contact-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-support__contact-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__cta-section {
  padding: 60px 20px;
  background: #f8f8f8;
  text-align: center;
  color: #333333;
}

.page-support__cta-section .page-support__section-title {
  color: #017439;
}

.page-support__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-support__btn-primary {
  display: inline-block;
  background: #C30808; /* Màu đỏ cho nút chính */
  color: #FFFF00; /* Màu vàng cho chữ */
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

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

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-support__hero-description {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }

  .page-support__section-title {
    font-size: clamp(1.6em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__cta-section {
    padding: 40px 15px;
  }

  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-support__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-support__container,
  .page-support__faq-item,
  .page-support__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hình ảnh, video, nút phải full width */
  .page-support img,
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .page-support__btn-primary,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-support__btn-primary {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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