.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f4f7f6;
}

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

.page-faq .hero-section {
  background: linear-gradient(135deg, #0A2463, #2a4a90);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq .hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.page-faq .hero-image {
  width: 100%;
  max-width: 800px;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-faq .hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-faq .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #0A2463;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #FFD700;
}

.page-faq .cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq .small-button {
  padding: 10px 25px;
  font-size: 0.9em;
}

.page-faq .faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-faq .faq-section h2 {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 15px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.page-faq .faq-section h3 {
  font-size: 1.8em;
  color: #0A2463;
  margin-top: 40px;
  margin-bottom: 25px;
  padding-left: 10px;
  border-left: 5px solid #FFD700;
}

.page-faq .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq .faq-question:hover {
  background: #fffbe6;
  color: #0A2463;
}

.page-faq .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: #0A2463;
  flex-grow: 1;
  text-align: left;
  border-left: none;
  padding-left: 0;
}

.page-faq .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.page-faq .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #0A2463;
}

.page-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #ffffff;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-faq .faq-item.active .faq-answer {
  max-height: 800px; /* Đủ lớn để chứa nội dung */
  padding: 25px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.page-faq .faq-answer p {
  margin-bottom: 15px;
  color: #555555;
  font-size: 1em;
}

.page-faq .faq-answer .content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq .final-cta-text {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: #0A2463;
  font-weight: bold;
}

.page-faq .text-link {
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq .text-link:hover {
  color: #FFD700;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq .hero-content h1 {
    font-size: 2.5em;
  }
  .page-faq .hero-content p {
    font-size: 1.1em;
  }
  .page-faq .faq-section h2 {
    font-size: 2em;
  }
  .page-faq .faq-section h3 {
    font-size: 1.6em;
  }
  .page-faq .faq-question h3 {
    font-size: 1.05em;
  }
}

@media (max-width: 768px) {
  .page-faq .hero-section {
    padding: 60px 0;
  }
  .page-faq .hero-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .page-faq .hero-content h1 {
    font-size: 2em;
  }
  .page-faq .hero-content p {
    font-size: 1em;
  }
  .page-faq .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-faq .faq-section {
    padding: 40px 0;
  }
  .page-faq .faq-section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq .faq-section h3 {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-faq .faq-question {
    padding: 15px 20px;
  }
  .page-faq .faq-question h3 {
    font-size: 1em;
  }
  .page-faq .faq-toggle {
    font-size: 1.5em;
  }
  .page-faq .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-faq .hero-content h1 {
    font-size: 1.8em;
  }
  .page-faq .hero-content p {
    font-size: 0.9em;
  }
  .page-faq .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-faq .faq-section h2 {
    font-size: 1.5em;
  }
  .page-faq .faq-section h3 {
    font-size: 1.2em;
  }
  .page-faq .faq-question h3 {
    font-size: 0.9em;
  }
  .page-faq .faq-toggle {
    font-size: 1.3em;
  }
  .page-faq .faq-answer {
    padding: 10px 15px;
  }
}