/* style/support.css */
/* body đã padding-top: var(--header-offset)；tránh trùng lặp */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Mặc định cho nền sáng */
}

.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một khoảng đệm nhỏ, body đã xử lý offset header */
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Sử dụng clamp để đảm bảo responsive */
}

.page-support__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__section {
  padding: 60px 20px;
  text-align: center;
}

.page-support__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-support__light-bg {
  background: #FFFFFF;
  color: #333333;
}

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

.page-support__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: bold;
  margin-bottom: 40px;
  color: inherit; /* Kế thừa màu từ section cha */
}

.page-support__text-block {
  font-size: 1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

.page-support__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-support__dark-section .page-support__text-block a {
  color: #ffffff;
}

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

.page-support__cta-buttons--centered {
  margin-top: 40px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: #EA7C07; /* Màu cam cho nút chính */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-support__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a7bbd;
  border-color: #1a7bbd;
}

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

.page-support__card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #333333;
}

.page-support__card-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__card p {
  font-size: 0.95em;
  line-height: 1.6;
}

.page-support__card p a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-support__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 30px;
  min-width: 200px;
  min-height: 200px;
}

.page-support__image--centered {
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__content-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  color: #ffffff;
}

.page-support__content-card .page-support__card-title {
  color: #ffffff;
}

.page-support__content-card p a {
  color: #ffffff;
  text-decoration: underline;
}

.page-support__bullet-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-support__bullet-list li {
  background: #f8f8f8;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-support__bullet-list li .page-support__list-item-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-support__bullet-list li p {
  font-size: 0.95em;
  line-height: 1.6;
}

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

.page-support__icon-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  color: #ffffff;
  height: 100%;
}

.page-support__icon-card .page-support__card-title {
  color: #ffffff;
}

.page-support__icon-card p a {
  color: #ffffff;
  text-decoration: underline;
}

.page-support__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-support__faq-item {
  background: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-support__faq-item summary {
  list-style: none; /* Ẩn marker mặc định của details */
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background: #e9f6ff;
  border-bottom: 1px solid #d0e8f7;
}

.page-support__faq-question:hover {
  background: #d0e8f7;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg); /* Biến dấu + thành x hoặc - */
}

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

.page-support__faq-answer p a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-support__contact-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-support__contact-info {
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-info p {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-support__contact-info p strong {
  color: #ffffff;
}

.page-support__contact-info a {
  color: #ffffff;
  text-decoration: underline;
}

.page-support__cta-final {
  background: #f0f8ff; /* Nền màu xanh nhạt */
  color: #333333;
  padding: 80px 20px;
}

.page-support__cta-final .page-support__section-title {
  color: #26A9E0;
}

.page-support__cta-final .page-support__text-block {
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .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: 1em;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Giới hạn chiều rộng nút trên mobile */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-support__section {
    padding: 40px 15px;
  }

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

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

  .page-support__text-block {
    font-size: 0.95em;
  }

  .page-support__card-grid,
  .page-support__content-grid,
  .page-support__icon-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card,
  .page-support__content-card,
  .page-support__icon-card {
    padding: 20px;
    text-align: center;
  }

  .page-support__card-title {
    font-size: 1.15em;
  }

  .page-support__bullet-list {
    margin-left: 0;
    margin-right: 0;
  }

  .page-support__bullet-list li {
    padding: 15px;
  }

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

  .page-support__faq-answer {
    padding: 10px 20px 20px 20px;
    font-size: 0.95em;
  }

  .page-support__contact-info {
    padding-left: 0;
    padding-right: 0;
  }

  .page-support__contact-info p {
    font-size: 1em;
  }

  /* Force responsive image behavior */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__cta-buttons,
  .page-support__contact-info,
  .page-support__faq-list,
  .page-support__bullet-list,
  .page-support__card-grid,
  .page-support__content-grid,
  .page-support__icon-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  
  .page-support__video-section {
    padding-top: 10px !important; 
  }
}

/* Ensure video responsive */
.page-support video,
.page-support__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-support__video-section,
.page-support__video-container,
.page-support__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .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 {
    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;
  }
  
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}