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

.page-faq__container {
  max-width: 1200px;
  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,gradient_pattern,blue_theme]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

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

.page-faq__title {
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff;
}

.page-faq__subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-faq__highlight {
  color: #ffc107;
}

.page-faq__button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-faq__button--primary {
  background-color: #ffc107;
  color: #0056b3; /* Darker blue for text on yellow */
  border-color: #ffc107;
}

.page-faq__button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #003e8e;
}

.page-faq__button--secondary {
  background-color: transparent;
  color: #007bff;
  border-color: #007bff;
}

.page-faq__button--secondary:hover {
  background-color: #007bff;
  color: #ffffff;
}

.page-faq__inline-button {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #007bff;
  background-color: #007bff;
  color: #ffffff;
  font-size: 0.9em;
  margin-left: 10px;
}

.page-faq__inline-button:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

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

.page-faq__section-heading {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-faq__accordion {
  margin-top: 30px;
}

.page-faq__accordion-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 30px;
  background-color: #007bff; /* Primary blue for header */
  color: #ffffff; /* White text on blue */
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.4em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #0056b3;
}

.page-faq__accordion-header h3 {
  margin: 0;
  color: inherit; /* Inherit color from parent button */
}

.page-faq__accordion-icon {
  font-size: 1.8em;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.page-faq__accordion-item.active .page-faq__accordion-icon {
  transform: rotate(45deg);
}

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

.page-faq__accordion-item.active .page-faq__accordion-content {
  max-height: 1000px; /* Adjust as needed */
  padding: 25px 30px;
}

.page-faq__accordion-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-faq__accordion-content h4 {
  font-size: 1.25em;
  color: #0056b3;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-faq__accordion-content ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-faq__accordion-content li {
  margin-bottom: 8px;
}

.page-faq__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
}

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-faq__cta-buttons .page-faq__button {
  margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq__title {
    font-size: 2.8em;
  }
  .page-faq__subtitle {
    font-size: 1.1em;
  }
  .page-faq__section-heading {
    font-size: 2em;
  }
  .page-faq__accordion-header {
    font-size: 1.2em;
    padding: 18px 25px;
  }
  .page-faq__accordion-content {
    padding: 20px 25px;
  }
  .page-faq__cta-title {
    font-size: 2.2em;
  }
  .page-faq__cta-text {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero {
    padding: 60px 0;
  }
  .page-faq__title {
    font-size: 2.2em;
  }
  .page-faq__subtitle {
    font-size: 1em;
  }
  .page-faq__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-faq__section {
    padding: 40px 0;
  }
  .page-faq__section-heading {
    font-size: 1.8em;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-faq__accordion-content {
    padding: 15px 20px;
  }
  .page-faq__accordion-content h4 {
    font-size: 1.1em;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-text {
    font-size: 0.9em;
  }
  .page-faq__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .page-faq__cta-buttons .page-faq__button {
    width: 80%;
    margin: 0;
  }
  .page-faq__inline-button {
    display: block;
    margin: 15px auto 0;
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .page-faq__title {
    font-size: 1.8em;
  }
  .page-faq__subtitle {
    font-size: 0.9em;
  }
  .page-faq__section-heading {
    font-size: 1.5em;
  }
  .page-faq__accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-faq__accordion-content {
    padding: 12px 15px;
  }
  .page-faq__accordion-content p {
    font-size: 0.95em;
  }
  .page-faq__cta-title {
    font-size: 1.5em;
  }
  .page-faq__cta-buttons .page-faq__button {
    width: 90%;
  }
}