/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-faq__hero-section {
  background: linear-gradient(135deg, #004AAD 0%, #0028ff 100%); /* Adjusted gradient for better contrast */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  animation: page-faq-float 10s ease-in-out infinite alternate;
}

.page-faq__hero-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 215, 0, 0.15);
  border-radius: 50%;
  animation: page-faq-float 12s ease-in-out infinite alternate-reverse;
}

@keyframes page-faq-float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, 20px); }
}

.page-faq__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #FFD700; /* Gold for title */
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-faq__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #004AAD; /* Dark blue text */
}

.page-faq__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-faq__btn--secondary {
  background-color: #004AAD; /* Dark blue */
  color: #FFD700; /* Gold text */
  border: 1px solid #FFD700;
}

.page-faq__btn--secondary:hover {
  background-color: #003a8d;
  transform: translateY(-2px);
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #004AAD;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-faq__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-faq__faq-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #004AAD;
}

.page-faq__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-faq__faq-question {
  font-size: 1.3em;
  color: #004AAD;
  margin-bottom: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-question::after {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  font-size: 1em;
  color: #555;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 15px;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  display: block;
}

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

.page-faq__faq-answer .page-faq__btn {
  margin-top: 10px;
}

.page-faq__cta-section {
  background-color: #004AAD;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-faq__cta-content {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-faq__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-faq__cta-image-wrapper {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }

  .page-faq__hero-description,
  .page-faq__cta-description {
    font-size: 1em;
  }

  .page-faq__section-title {
    font-size: 2em;
  }

  .page-faq__cta-title {
    font-size: 2.2em;
  }

  .page-faq__faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section {
    padding: 40px 0;
  }

  .page-faq__hero-title {
    font-size: 2em;
  }

  .page-faq__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}