/* style/support.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Nhỏ gọn, không dùng var(--header-offset) */
  padding-bottom: 60px;
  background-color: #F4F7FB; /* Background */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -80px; /* Kéo lên một chút để tạo sự liền mạch với ảnh */
  position: relative;
  z-index: 1;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Sử dụng clamp cho kích thước tiêu đề */
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

.page-support__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-support__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-support__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-support__section-description {
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-support__faq-item[open] {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #2F6BFF; /* Primary Color */
  cursor: pointer;
  background-color: #F8F9FA;
  border-bottom: 1px solid #D6E2FF;
  transition: background-color 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-question {
  background-color: #E6F0FF;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  text-align: center;
}

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  line-height: 1.7;
}

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

.page-support__image-wrapper {
  text-align: center;
}

.page-support__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-support__cta-section {
  background-color: #2F6BFF; /* Primary Color */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-support__cta-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-support__cta-description {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__btn-lg {
  padding: 18px 35px;
  font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-support__hero-content {
    margin-top: -40px;
    padding: 30px 15px;
  }
  .page-support__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }
  .page-support__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.2em);
  }
  .page-support__faq-question {
    font-size: 1.05em;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-support__container,
  .page-support__hero-section,
  .page-support__faq-section,
  .page-support__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  /* Tất cả các container chứa hình ảnh, video, nút */
  .page-support__hero-image-wrapper,
  .page-support__image-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;
    overflow: hidden !important;
  }

  .page-support__hero-content {
    margin-top: -20px;
    padding: 25px 15px;
  }

  .page-support__main-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }

  .page-support__description,
  .page-support__section-description,
  .page-support__cta-description {
    font-size: 1em;
  }

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

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

  .page-support__btn-primary,
  .page-support__btn-lg {
    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: 1em !important;
  }

  .page-support__hero-section {
    padding-bottom: 40px;
  }

  .page-support__faq-section,
  .page-support__cta-section {
    padding: 50px 0;
  }
}