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

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

.page-faq__hero-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue for better contrast */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #0056b3; /* Darker primary for headings */
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.page-faq__faq-list-section {
  padding: 60px 0;
}

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

.page-faq__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item.active {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-faq__faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #f1f1f1;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: 600;
  color: #007bff;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 10px;
}

.page-faq__faq-question:hover {
  background-color: #e0e0e0;
}

.page-faq__faq-question h3 {
  margin: 0;
  flex-grow: 1;
  color: #007bff; /* Ensure heading color is consistent */
}

.page-faq__icon {
  font-size: 1.8em;
  font-weight: bold;
  color: #ffc107;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  color: #495057;
  font-size: 1.1em;
}

.page-faq__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.page-faq__btn--primary {
  background-color: #ffc107;
  color: #0056b3; /* Darker blue for contrast */
  border-color: #ffc107;
}

.page-faq__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #003e80;
  transform: translateY(-2px);
}

.page-faq__btn--secondary {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
  margin-top: 15px;
}

.page-faq__btn--secondary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-faq__cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-top: 40px;
}

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

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

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

.page-faq__cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-faq__faq-answer p {
    font-size: 1em;
  }
  .page-faq__cta-title {
    font-size: 2.2em;
  }
  .page-faq__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .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__hero-description {
    font-size: 1em;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-faq__icon {
    font-size: 1.5em;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 1em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-faq__btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}