/* style/faq.css */
.page-faq {
  background-color: #08160F; /* Nền chính của body */
  color: #F2FFF6; /* Màu chữ chính cho nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body đã có padding-top, chỉ cần 10px ở đây */
  text-align: center;
  overflow: hidden;
}

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

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

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #57E38D; /* Glow color for main title */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-faq__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-faq__cta-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  font-weight: 700;
  margin-bottom: 20px;
}

.page-faq__section-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__faq-list {
  text-align: left;
  margin-top: 40px;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green when open */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

.page-faq__faq-question:hover {
  color: #57E38D; /* Glow color on hover */
}

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

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

.page-faq__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

.page-faq__faq-answer p {
  margin-bottom: 1em;
}

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

.page-faq__cta-block {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 40px 30px;
  margin-top: 60px;
  text-align: center;
}

.page-faq__cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #F2FFF6; /* Text Main */
  font-weight: 700;
  margin-bottom: 15px;
}

.page-faq__cta-description {
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-faq__cta-button--contact {
  margin-right: 15px;
  background: #22C768; /* Auxiliary color */
  color: #08160F; /* Dark text for light button */
}

.page-faq__cta-button--contact:hover {
  background: #11A84E; /* Main color on hover */
  color: #F2FFF6;
}

.page-faq__cta-button--register {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    padding: 0 30px;
  }

  .page-faq__content-area {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-faq__hero-description {
    font-size: 1rem;
  }

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .page-faq__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .page-faq__section-description {
    font-size: 0.95rem;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

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

  .page-faq__cta-block {
    padding: 30px 20px;
  }

  .page-faq__cta-title {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  }

  .page-faq__cta-description {
    font-size: 0.9rem;
  }

  .page-faq__cta-button--contact {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-faq__cta-button, .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;
    display: flex;
    flex-direction: column;
  }

  .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,
  .page-faq__hero-image-wrapper {
    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__video-section {
    padding-top: 10px !important;
  }
}