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

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

.page-faq-intro {
  background-color: #f8f9fa;
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.page-faq-intro h1 {
  font-size: 2.8em;
  color: #007bff;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq-intro p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555;
}

.page-faq-intro-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.page-faq-cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq-cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-faq-cta-secondary {
  background-color: #6c757d;
}

.page-faq-cta-secondary:hover {
  background-color: #5a6268;
}

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

.page-faq-section-title {
  font-size: 2.2em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

/* FAQ Item Styles */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333;
  flex-grow: 1;
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #ffc107; /* Highlight toggle when active */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #f9f9f9;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid #eee;
}

.faq-answer p {
  margin: 0;
  color: #555;
  font-size: 1em;
}

.page-faq-need-help {
  background-color: #eaf6ff; /* Light blue background */
  padding: 80px 0;
  text-align: center;
}

.page-faq-need-help .page-faq-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-faq-support-image {
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.page-faq-need-help-content h2 {
  font-size: 2.5em;
  color: #0056b3;
  margin-bottom: 15px;
}

.page-faq-need-help-content p {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #444;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq-intro h1 {
    font-size: 2.2em;
  }
  .page-faq-section-title {
    font-size: 1.8em;
  }
  .page-faq-support-image {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-faq-intro {
    padding: 40px 0;
  }
  .page-faq-intro h1 {
    font-size: 1.8em;
  }
  .page-faq-intro p {
    font-size: 1em;
  }
  .page-faq-intro-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-faq-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq-list, .page-faq-need-help {
    padding: 40px 0;
  }
  .page-faq-section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-faq-need-help-content h2 {
    font-size: 2em;
  }
  .page-faq-need-help-content p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-faq-intro h1 {
    font-size: 1.5em;
  }
  .page-faq-section-title {
    font-size: 1.3em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .page-faq-support-image {
    max-width: 250px;
  }
}