.faq-section { max-width: 800px; margin: auto; margin-bottom: 60px; }
.faq-title { text-align: center; font-size: 28px; margin-bottom: 20px; margin-top: 60px; }

.faq-tabs { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; border-bottom: 2px solid #ddd; }
.faq-tab { background: none; border: none; font-size: 16px; padding: 10px; cursor: pointer; position: relative; }
.faq-tab.active { color: #ff7f00; font-weight: bold; }
.faq-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: #32cd32; }

.faq-content { display: none; }
.faq-content.active { display: block; }

.faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  border-radius: 8px;
}

.faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  border-radius: 5px;
  transition: background-color 0.3s, padding 0.3s;
}

.faq-item.active .faq-question {
  background-color: #ff7f00; /* Only question background color on active */
}

.faq-answer {
  display: none;
  padding: 10px 15px;
  color: #444;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-question .icon {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.2s;
}

/* ✅ Responsive Tabs in One Line */
@media (max-width: 768px) {
  .faq-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px 10px;
    scrollbar-width: none;
  }

  .faq-tabs::-webkit-scrollbar {
    display: none;
  }

  .faq-tab {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 8px 14px;
  }
}
 
