/* FAQ SECTION - CONSISTENT WITH DESIGN SYSTEM */
.faq-section { 
  background: var(--white); 
  border-radius: 6px; 
  padding: 30px; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
  margin-bottom: 40px; 
  border: 1px solid var(--border);
}

.faq-item { 
  border-bottom: 1px solid var(--border); 
  padding: 12px 0; 
  transition: opacity 0.3s ease; 
}

.faq-item:first-child { 
  border-top: 1px solid var(--border); 
}


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

.faq-question { 
  cursor: pointer; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  font-weight: 600;
  color: var(--text); 
  font-size: 16px; 
  padding: 8px 0; 
}

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

.faq-item.active .faq-answer { 
  max-height: 1000px; 
}

.faq-answer-content { 
  padding: 15px 0; 
  line-height: 1.6; 
  color: var(--text-light);
  font-size: 15px;
}

/* FAQ DROPDOWN FILTER STYLES */
.faq-filter-container {
  margin-bottom: 30px;
  position: relative;
  max-width: 300px;
}

.faq-filter-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px; 
}

.faq-filter-dropdown {
  position: relative;
  width: 100%;
}

.faq-filter-select {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  background-color: var(--white);
  cursor: pointer;
  appearance: none;
  transition: all 0.3s;
  color: var(--text);
  font-family: 'Arial', 'Helvetica', sans-serif;
}

.faq-filter-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(197, 160, 99, 0.2);
}

.faq-filter-dropdown::after {
  content: "expand_more";
  font-family: 'Material Symbols Outlined';
  font-size: 20px;
  color: var(--gold);
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.faq-items-container {
  transition: opacity 0.3s ease;
}

.faq-item.hidden {
  display: none;
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
}

/* FAQ Show More/Less Link */
.faq-show-more-container {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.faq-show-more-link {
  font-size: 14px;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
}

.faq-show-more-link:hover {
  border-color: var(--border);
  background: var(--white);
  transform: none;
  box-shadow: none;
}

.faq-show-more-link .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-show-more-link.expanded .material-symbols-outlined {
  transform: rotate(180deg);
}

/* FAQ Answer Content Styling */
.faq-answer-content ul {
  list-style-type: disc;
  margin: 15px 0;
  padding-left: 20px;
}

.faq-answer-content li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: var(--text-light);
}

.faq-answer-content p {
  margin-bottom: 15px;
}

.faq-answer-content strong {
  color: var(--text);
  font-weight: 600;
}

/* FAQ Loading and Error States */
.faq-loading {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
  font-style: italic;
}

.faq-error {
  text-align: center;
  padding: 40px;
  background: rgba(231, 76, 60, 0.05);
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: 8px;
  color: var(--text-light);
}

.faq-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
  font-style: italic;
}

/* FAQ Question Text for better spacing */
.faq-question-text {
  flex: 1;
  margin-right: 15px;
}

/* FAQ Icon Animation */
.faq-question .material-symbols-outlined {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  font-size: 18px;
}

.faq-item.active .faq-question .material-symbols-outlined {
  transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-section {
    padding: 25px 20px;
    margin-bottom: 30px;
  }
  
  .faq-filter-container {
    max-width: 100%;
  }
  
  .faq-question {
    padding: 10px 0;
    font-size: 16px; /* Maintain 16px on mobile */
  }
  
  .faq-answer-content {
    padding: 12px 0;
    font-size: 14px;
  }
  
  .faq-show-more-link {
    font-size: 13px;
    padding: 6px 12px;
  }
  
  .faq-answer-content ul {
    padding-left: 18px;
  }
  
  .faq-question .material-symbols-outlined {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 20px 15px;
    margin-bottom: 25px;
  }
  
  .faq-question {
    padding: 8px 0;
    font-size: 16px; 
  }
  
  .faq-answer-content {
    padding: 10px 0;
    font-size: 13px;
  }
  
  .faq-answer-content li {
    font-size: 13px;
  }
  
  .faq-show-more-link {
    width: 100%;
    justify-content: center;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .faq-item {
    border-color: #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-question,
  .faq-answer,
  .faq-show-more-link {
    transition: none;
  }
  
  .faq-question .material-symbols-outlined {
    transition: none;
  }
}