/* style/faq.css */
.page-faq {
  background-color: #08160F; /* Nền chính theo màu tùy chỉnh */
  color: #F2FFF6; /* Màu chữ chính theo màu tùy chỉnh */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for hero section */
  padding-bottom: 60px;
  background-color: #0A4B2C; /* Deep Green */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-faq__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
  color: #F2FFF6;
}

.page-faq__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
  font-size: clamp(1.8em, 4vw, 3em); /* Responsive font size */
}

.page-faq__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-faq__section-title {
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.6em, 3.5vw, 2.2em);
  font-weight: bold;
}

.page-faq__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-faq__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6;
  position: relative;
  list-style: none; /* For details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

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

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: '−';
}

.page-faq__faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-faq__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
}

.page-faq__cta-section {
  background: linear-gradient(180deg, #13994A 0%, #0A4B2C 100%); /* Green Gold gradient */
  padding: 80px 20px;
  text-align: center;
  color: #F2FFF6;
}

.page-faq__cta-title {
  color: #F2C14E; /* Gold */
  font-size: clamp(1.8em, 4vw, 2.5em);
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-faq__btn-secondary:hover {
  background-color: #F2C14E;
  color: #08160F; /* Background color for contrast */
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-faq__inline-btn {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  margin-left: 10px;
  border: none;
}

.page-faq__inline-btn:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }
  .page-faq__section-title {
    font-size: clamp(1.4em, 3vw, 2em);
  }
  .page-faq__cta-title {
    font-size: clamp(1.6em, 3.5vw, 2em);
  }
}

@media (max-width: 768px) {
  .page-faq__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-faq__intro-text {
    font-size: 1em;
  }
  .page-faq__section-title {
    font-size: clamp(1.4em, 5vw, 1.8em);
  }
  .page-faq__faq-question {
    font-size: 1em;
  }
  .page-faq__faq-answer {
    font-size: 0.9em;
  }
  .page-faq__cta-title {
    font-size: clamp(1.5em, 6vw, 1.8em);
  }
  .page-faq__cta-description {
    font-size: 1em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100%;
    max-width: 300px; /* Limit width for column layout */
    margin: 0 auto;
  }
  .page-faq__hero-section,
  .page-faq__faq-section,
  .page-faq__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__container {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* Mobile image/video/button rules */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__section, .page-faq__card, .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__hero-section {
    padding-top: 10px !important;
  }
  .page-faq__cta-button,
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq 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-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
  }
}