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

.faq-page {
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
}

.faq-section {
  padding: 80px 0;
}

.faq-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: left;
}

/* FAQ Grid Layout */
.faq-grid {
  background: rgba(43, 41, 54, 0.4);
  /* Subtle container background as per image */
  border-radius: 30px;
  padding: 50px;
}

/* FAQ Card */
.faq-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.faq-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(126, 203, 211, 0.3);
}

.faq-card.active {
  background: rgba(126, 203, 211, 0.05);
  border-color: #7ECBD3;
}

.faq-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.faq-topic-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.faq-card.active .faq-topic-icon {
  background: #7ECBD3;
  color: #1D1B26;
}

.faq-question-box {
  flex: 1;
  padding-right: 40px;
}

.faq-question-box h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-card.active h3 {
  color: #7ECBD3;
  margin-bottom: 15px;
}

/* Answer Content */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  /*padding-left: 64px; /* Align with text after icon */
}

.faq-card.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

/* Toggle Icon (+ / -) */
.faq-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #1D1B26;
  transition: all 0.3s ease;
}

.faq-card.active .faq-toggle {
  background: #7ECBD3;
}

/* Responsive */
@media (max-width: 991px) {
  .faq-grid {
    padding: 30px 20px;
  }

  .faq-title {
    font-size: 36px;
    margin-bottom: 40px;
  }
}