.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Sử dụng màu chữ chính */
  background-color: var(--deep-navy-color); /* Body background từ shared.css là #08162B */
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-faq__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--gold-color); /* Sử dụng màu vàng cho tiêu đề nổi bật */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-faq__subtitle {
  font-size: 18px;
  color: var(--text-secondary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn để tránh trùng với padding-top của body */
  background: linear-gradient(180deg, var(--deep-navy-color) 0%, var(--primary-color) 100%);
  border-bottom: 5px solid var(--border-color);
}

.page-faq__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-faq__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-faq__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-faq__main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__hero-description {
  font-size: 20px;
  color: var(--text-secondary-color);
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-faq__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__introduction-section,
.page-faq__conclusion-section {
  padding: 60px 0;
  background-color: var(--deep-navy-color);
}

.page-faq__dark-section {
  background-color: var(--deep-navy-color);
  color: var(--text-main-color);
}

.page-faq__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-faq__text-block {
  flex: 1;
  max-width: 600px;
}

.page-faq__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--text-secondary-color);
}

.page-faq__text-block strong {
  color: var(--text-main-color);
}

.page-faq__image-block {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.page-faq__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  margin-top: 10px;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-list-section {
  padding: 60px 0;
  background-color: var(--card-bg-color);
}

.page-faq__faq-items {
  margin-top: 40px;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background-color: var(--card-bg-color);
}

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

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--glow-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary-color);
  font-size: 16px;
}

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

.page-faq__btn-small {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  margin-right: 10px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page-faq__btn-small:hover {
  background-color: var(--secondary-color);
}

.page-faq__cta-block {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-title {
  font-size: 28px;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-faq__cta-description {
  font-size: 17px;
  color: var(--text-secondary-color);
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Custom Colors */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg-color: #10233F;
  --text-main-color: #F3F8FF;
  --text-secondary-color: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-faq__text-block,
  .page-faq__image-block {
    max-width: 100%;
  }

  .page-faq__image-block img {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__main-title {
    font-size: 36px;
  }

  .page-faq__hero-description {
    font-size: 18px;
  }

  .page-faq__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-faq__subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-faq__introduction-section,
  .page-faq__faq-list-section,
  .page-faq__conclusion-section {
    padding: 40px 0;
  }

  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px;
  }

  .page-faq__faq-qtext {
    font-size: 16px;
  }

  .page-faq__faq-toggle {
    font-size: 24px;
    width: 24px;
  }

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  .page-faq__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0;
    margin-bottom: 10px;
  }

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

  .page-faq__cta-title {
    font-size: 24px;
  }

  .page-faq__cta-description {
    font-size: 16px;
  }

  /* Image responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }

  /* Button responsiveness */
  .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 {
    display: flex;
    flex-direction: column;
  }
}