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

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Thẻ ảnh trên, nội dung dưới */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Nhỏ gọn, không sử dụng var(--header-offset) */
  padding-bottom: 60px;
  overflow: hidden; /* Ngăn tràn ảnh */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Khoảng cách giữa ảnh và nội dung */
}

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

.page-support__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Sử dụng clamp để hạn chế kích thước quá lớn trên mobile */
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Dark text for light button background */
  border: none;
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color as border */
}

.page-support__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A; /* Dark text for light button background */
  transform: translateY(-2px);
}

.page-support__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-support__btn-large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-support__btn-inline {
  margin-top: 15px;
}

/* Section Titles */
.page-support__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Contact Section */
.page-support__contact-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

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

.page-support__contact-card {
  background-color: #0A0A0A; /* Background color for card content */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B; /* Glow */
}

.page-support__contact-icon {
  width: 100%; /* Responsive width */
  max-width: 250px; /* Max size for these content icons */
  height: auto;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
  object-fit: contain; /* Or cover, depending on desired look */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__card-description {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
}

.page-support__phone-number {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
  font-weight: bold;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
}

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

.page-support__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6; /* Text Main */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Main color */
}

.page-support__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  /* display: none;  Controlled by JS for custom accordion, but <details> handles this natively */
}

.page-support__text-center {
  text-align: center;
}

/* Guide Section */
.page-support__guide-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

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

.page-support__guide-card {
  background-color: #0A0A0A; /* Background color for card content */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B; /* Glow */
}

.page-support__guide-icon {
  width: 100%; /* Make sure it's responsive */
  height: auto;
  max-width: 250px; /* Example max-width for guide icons */
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

/* Commitment Section */
.page-support__commitment-section {
  padding: 80px 0;
}

.page-support__commitment-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
}

.page-support__commitment-content p {
  margin-bottom: 20px;
}

.page-support__commitment-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-support__commitment-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #FFF6D6; /* Text Main */
}

.page-support__commitment-list li strong {
  color: #F2C14E; /* Main color */
}

.page-support__commitment-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FFD36B; /* Glow */
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__contact-card,
  .page-support__guide-card {
    padding: 25px;
  }
}

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

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

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

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

  .page-support__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust clamp for smaller screens */
  }

  .page-support__cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Limit button group width */
    margin: 0 auto;
  }
  
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-support__contact-section,
  .page-support__faq-section,
  .page-support__guide-section,
  .page-support__commitment-section {
    padding: 50px 0;
  }

  .page-support__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .page-support__contact-grid,
  .page-support__guide-grid {
    grid-template-columns: 1fr;
  }

  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__faq-item {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

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

  /* Ensure all images are responsive */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all image containers are responsive */
  .page-support__hero-section,
  .page-support__contact-section,
  .page-support__contact-grid,
  .page-support__contact-card,
  .page-support__faq-section,
  .page-support__faq-list,
  .page-support__faq-item,
  .page-support__faq-answer,
  .page-support__guide-section,
  .page-support__guide-grid,
  .page-support__guide-card,
  .page-support__commitment-section,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

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

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

  .page-support__commitment-content {
    font-size: 1em;
  }

  .page-support__commitment-list li {
    padding-left: 25px;
  }
}