/* style/support.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */

.page-support {
  background-color: #08160F; /* Nền tối, theo tùy chỉnh màu sắc */
  color: #F2FFF6; /* Văn bản chính màu 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;
}

.page-support__section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #F2C14E; /* Màu Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một khoảng cách nhỏ, không phải --header-offset */
  background-color: #0A4B2C; /* Deep Green */
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-support__hero-content {
  max-width: 900px;
  text-align: center;
  color: #F2FFF6;
}

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Sử dụng clamp cho kích thước linh hoạt */
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Màu Gold */
  line-height: 1.2;
}

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

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

.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-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Màu nút tùy chỉnh */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-support__btn-secondary {
  background: #11271B; /* Màu Card BG */
  color: #57E38D; /* Màu Glow */
  border: 2px solid #2E7A4E; /* Màu Border */
}

.page-support__btn-secondary:hover {
  background: #2E7A4E; /* Màu Border */
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Why Us Section */
.page-support__why-us-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

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

.page-support__feature-card {
  background-color: #11271B; /* Màu Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Màu Border */
}

.page-support__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-support__feature-title {
  font-size: 1.8rem;
  color: #57E38D; /* Màu Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__feature-description {
  font-size: 1rem;
  color: #A7D9B8;
}

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

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

.page-support__method-card {
  background-color: #11271B; /* Màu Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Màu Border */
}

.page-support__method-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Màu Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__method-description {
  font-size: 1rem;
  color: #A7D9B8;
  margin-bottom: 25px;
}

.page-support__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.page-support__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #2E7A4E; /* Màu Border */
  color: #F2FFF6;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-support__social-icon:hover {
  background-color: #57E38D; /* Màu Glow */
  color: #11271B;
}

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

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-support__faq-item {
  background-color: #11271B; /* Màu Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Màu Border */
  overflow: hidden;
}

.page-support__faq-item summary {
  list-style: none;
  outline: none;
}

.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.25rem;
  font-weight: bold;
  color: #57E38D; /* Màu Glow */
  cursor: pointer;
  background-color: #11271B; /* Màu Card BG */
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #1E3A2A; /* Màu Divider */
}

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

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-support__faq-item[open] .page-support__faq-answer {
  max-height: 500px; /* Đủ lớn để chứa nội dung */
  padding-top: 15px;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 500px !important;
  padding-top: 15px;
}

.page-support__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background-color: #08160F; /* Màu 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; /* Màu Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Màu Border */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-support__guide-image {
  width: 100%;
  height: 220px; /* Chiều cao cố định cho hình ảnh */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-support__guide-card h3 {
  flex-grow: 1;
  padding: 20px 25px 10px;
}

.page-support__guide-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Màu Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__guide-title a {
  color: inherit;
  text-decoration: none;
}

.page-support__guide-title a:hover {
  text-decoration: underline;
  color: #57E38D;
}

.page-support__guide-description {
  font-size: 0.95rem;
  color: #A7D9B8;
  padding: 0 25px 20px;
}

.page-support__read-more {
  display: inline-block;
  padding: 10px 25px 20px;
  color: #57E38D; /* Màu Glow */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__read-more:hover {
  color: #F2C14E; /* Màu Gold */
  text-decoration: underline;
}

/* Feedback Section */
.page-support__feedback-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  text-align: center;
}

/* Common Card Styles */
.page-support__card {
  background-color: #11271B;
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: clamp(2rem, 4.5vw, 4rem);
  }
  .page-support__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
}

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

  .page-support__hero-section,
  .page-support__why-us-section,
  .page-support__contact-methods-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__feedback-section {
    padding: 40px 0;
  }

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

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

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

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

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

  .page-support__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__feature-card,
  .page-support__method-card,
  .page-support__guide-card,
  .page-support__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__feature-icon,
  .page-support__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-support__hero-image-wrapper,
  .page-support__feature-card,
  .page-support__method-card,
  .page-support__guide-card,
  .page-support__faq-item,
  .page-support__faq-list,
  .page-support__cta-buttons,
  .page-support__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-support__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }

  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

@media (max-width: 480px) {
  .page-support__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-support__main-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
}