/*--------------------------------------------------------------
  FAQ Page Styles
--------------------------------------------------------------*/

.faq-area {
  background: #0a0a0a;
}

.faq-accordion {
  margin-top: 50px;
}

.faq-item {
  background: #000;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 2px 12px rgba(255,255,255,0.03);
  transform: translateY(-1px);
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: rgba(255,255,255,0.03);
}

.faq-item.active .faq-question {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-question h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #f0f0f0;
  line-height: 1.5;
  padding-right: 30px;
  flex: 1;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question h4 {
  color: #e0e0e0;
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: #d32f2f;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.show {
  max-height: 2000px;
}

.faq-answer-content {
  padding: 0 30px 25px 30px;
}

.faq-answer-content p {
  margin: 0 0 10px 0;
  color: #ccc;
  font-size: 15px;
  line-height: 1.8;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content p:empty {
  margin: 0;
  padding: 5px 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .faq-question {
    padding: 20px 25px;
  }
  
  .faq-question h4 {
    font-size: 16px;
  }
  
  .faq-answer-content {
    padding: 0 25px 20px 25px;
  }
}

@media (max-width: 767px) {
  .faq-question {
    padding: 18px 20px;
  }
  
  .faq-question h4 {
    font-size: 15px;
    padding-right: 20px;
  }
  
  .faq-icon {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  
  .faq-answer-content {
    padding: 0 20px 18px 20px;
  }
  
  .faq-answer-content p {
    font-size: 14px;
  }
}

/* Light Theme Support */
body.light-theme .faq-area {
  background: #f9f9f9;
}

body.light-theme .faq-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
}

body.light-theme .faq-item:hover {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

body.light-theme .faq-question {
  background: transparent;
}

body.light-theme .faq-question:hover {
  background: rgba(0,0,0,0.02);
}

body.light-theme .faq-item.active .faq-question {
  background: rgba(0,0,0,0.02);
  border-bottom-color: rgba(0,0,0,0.06);
}

body.light-theme .faq-question h4 {
  color: #333;
}

body.light-theme .faq-item.active .faq-question h4 {
  color: #d32f2f;
}

body.light-theme .faq-answer-content p {
  color: #666;
}
