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

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

.page-faq__hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue for better contrast */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,subtle_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-faq__hero .page-faq__container {
  position: relative;
  z-index: 1;
}

.page-faq__title {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffc107; /* Auxiliary color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-faq__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
}

.page-faq__btn--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #000000; /* Black for high contrast */
}

.page-faq__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__btn--secondary {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  border: 1px solid #007bff;
}

.page-faq__btn--secondary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__section {
  padding: 60px 0;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
}

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

.page-faq__accordion {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-faq__accordion-item {
  border-bottom: 1px solid #eee;
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

.page-faq__accordion-header {
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fefefe;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #f0f0f0;
  color: #007bff;
}

.page-faq__accordion-header.active {
  background-color: #e9f5ff; /* Lighter primary color for active state */
  color: #007bff;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__accordion-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #ffffff;
  color: #555;
}

.page-faq__accordion-content.active {
  max-height: 500px; /* Adjust as needed based on content */
  padding: 20px 30px;
}

.page-faq__accordion-content p {
  margin-bottom: 15px;
}

.page-faq__link-inline {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.page-faq__link-inline:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-faq__cta-banner {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-faq__cta-banner .page-faq__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-faq__cta-content {
  max-width: 700px;
}

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffc107; /* Auxiliary color for highlight */
}

.page-faq__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

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

@media (min-width: 768px) {
  .page-faq__cta-banner .page-faq__container {
    flex-direction: row;
    text-align: left;
  }
  .page-faq__cta-content {
    flex: 1;
    padding-right: 40px;
  }
  .page-faq__cta-image {
    flex: 1;
    max-width: 400px;
  }
}

@media (max-width: 767px) {
  .page-faq__title {
    font-size: 2.5em;
  }
  .page-faq__subtitle {
    font-size: 1.1em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-faq__accordion-content.active {
    padding: 15px 20px;
  }
  .page-faq__cta-title {
    font-size: 2em;
  }
  .page-faq__cta-text {
    font-size: 1em;
  }
  .page-faq__cta-banner .page-faq__container {
    padding: 0 15px;
  }
}