/* FAQ Page Styles */

/* Hero Banner Section */
.faq-hero {
  position: relative;
  background: linear-gradient(135deg, #546743 0%, #3d4d31 100%);
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 100px 20px 80px;
  overflow: hidden;
}

.faq-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.faq-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: normal;
  margin: 0;
  position: relative;
  display: inline-block;
}

/* White Underline */
.faq-hero h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: white;
  border-radius: 1px;
}

/* FAQ Content Section */
.faq-section {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Accordion Styles */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: transparent;
  color: #546743;
}

.faq-question.active {
  background: #546743;
  color: white;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: #546743;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: white;
  padding: 0 24px;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.active {
  max-height: 500px; /* Adjust based on content */
}

.faq-answer-content {
  color: #6b7280;
  line-height: 1.6;
  font-size: 1rem;
  padding: 24px 0;
}

.faq-answer-content p {
  margin: 0 0 16px 0;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.faq-answer-content li {
  margin: 8px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .faq-hero {
    min-height: 40vh;
    padding: 80px 20px 60px;
  }
  
  .faq-section {
    padding: 60px 20px;
  }
  
  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 20px;
  }
  
  .faq-answer-content {
    font-size: 0.9rem;
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .faq-hero h1::after {
    width: 60px;
    height: 2px;
  }
  
  .faq-question {
    padding: 16px;
  }
  
  .faq-answer {
    padding: 0 16px;
  }
  
  .faq-answer-content {
    padding: 16px 0;
  }
}
