/* ==========================================
   FAQ PAGE HERO STYLING
   ========================================== */
.faq-page-hero {
  background: linear-gradient(rgba(46, 56, 86, 0.7), rgba(46, 56, 86, 0.7)), url('assets/Odoo-ERP-System-Integration.webp') no-repeat center center/cover;
  padding: 100px 24px;
  width: 100%;
}

.faq-hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-page-badge {
  background: #FFFFFF;
  border: 1.5px solid #2E3856;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: #2E3856;
  display: inline-block;
  border-radius: 4px;
  margin-bottom: 16px;
  font-family: var(--font-main);
  letter-spacing: 0.5px;
}

.faq-hero-title {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
}

/* ==========================================
   FAQ ACCORDION CONTENT STYLING
   ========================================== */
.faq-page-content-section {
  background-color: #FFFFFF;
  padding: 80px 24px;
  width: 100%;
}

.faq-page-container {
  width: 100%;
  max-width: 1000px; /* Readability width */
  margin: 0 auto;
}

.faq-page-list {
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border: 1.5px solid rgba(122, 79, 122, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(122, 79, 122, 0.02);
}

.faq-page-item {
  border-bottom: 1.5px solid rgba(122, 79, 122, 0.12);
}

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

.faq-page-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-page-question-text {
  font-family: var(--font-main);
  font-size: 17.5px;
  font-weight: 600;
  color: #7A4F7A; /* Brand Purple */
  margin: 0;
  transition: color 0.25s ease;
}

.faq-page-chevron {
  font-size: 15px;
  color: #7A4F7A; /* Brand Purple plus icon */
  transition: color 0.25s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  margin-left: 20px;
  flex-shrink: 0;
}

.faq-page-question:hover .faq-page-question-text {
  color: var(--color-secondary); /* Brand Gold on hover */
}

.faq-page-question:hover .faq-page-chevron {
  color: var(--color-secondary);
}

.faq-page-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.faq-page-answer-content {
  font-family: var(--font-main);
  font-size: 15px;
  color: #556070;
  line-height: 1.7;
  padding: 0 24px 24px;
  margin: 0;
}

/* Active State Styles */
.faq-page-item.active .faq-page-question-text {
  color: var(--color-primary);
}

.faq-page-item.active .faq-page-chevron {
  transform: rotate(90deg); /* If plus icon, rotate 90 or toggle in JS */
}

/* Responsive Styles for FAQ Page */
@media (max-width: 767px) {
  .faq-page-hero {
    padding: 70px 16px;
  }
  
  .faq-hero-title {
    font-size: 30px;
  }
  
  .faq-page-question-text {
    font-size: 16px;
  }
  
  .faq-page-answer-content {
    font-size: 14px;
    padding: 0 10px 20px;
  }
}
