/* style/faq.css */

/* General FAQ page styling */
.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;
}

/* Hero Section */
.page-faq__hero {
  background: linear-gradient(135deg, #007bff, #4da3ff);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-faq__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff; /* Ensure high contrast */
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0f2ff; /* Slightly lighter for readability */
}

/* Section Titles */
.page-faq__section-title,
.page-faq__cta-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

/* Accordion Section */
.page-faq__accordion-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-faq__accordion-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.2em;
  color: #333;
  transition: background-color 0.3s ease;
}

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

.page-faq__accordion-header h3 {
  margin: 0;
  font-size: 1.2em;
  color: #007bff;
}

.page-faq__accordion-icon {
  font-size: 1.5em;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header[aria-expanded="true"] .page-faq__accordion-icon {
  transform: rotate(45deg);
}

.page-faq__accordion-content {
  padding: 0 25px 20px;
  background-color: #fcfcfc;
  border-top: 1px solid #eee;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

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

.page-faq__accordion-content a {
  color: #007bff;
  text-decoration: none;
}

.page-faq__accordion-content a:hover {
  text-decoration: underline;
}

.page-faq__accordion-content .page-faq__image {
  max-width: 100%;
  height: auto;
  margin-top: 15px;
  border-radius: 5px;
}

/* Buttons */
.page-faq__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 1em;
}

.page-faq__btn--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

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

.page-faq__btn--secondary {
  background-color: #ffc107;
  color: #333;
  border: 2px solid #ffc107;
}

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

.page-faq__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 25px;
  margin-top: 10px;
}

/* Call to Action Section */
.page-faq__cta-section {
  background-color: #e7f3ff;
  padding: 60px 0;
  text-align: center;
}

.page-faq__cta-title {
  color: #007bff;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
}

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

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

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

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

  .page-faq__accordion-header {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-faq__accordion-header h3 {
    font-size: 1.1em;
  }

  .page-faq__accordion-content {
    padding: 0 20px 15px;
  }

  .page-faq__cta-buttons .page-faq__btn {
    display: block;
    margin: 15px auto;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 2em;
  }

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.8em;
  }

  .page-faq__accordion-header {
    font-size: 1em;
  }

  .page-faq__accordion-header h3 {
    font-size: 1em;
  }

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