/* ================================================
   FAQ SECTION STYLES
   ================================================ */

.faq-section {
  padding: 80px 0;
  background: transparent;
  position: relative;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(var(--secondary-rgb), 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(var(--theme-rgb), 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.faq-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
  color: var(--dark-text);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  position: relative;
}

.faq-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
  border-radius: 2px;
}

.faq-subtitle {
  font-size: 1.3rem;
  color: var(--dark-text-muted);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.faq-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--theme-color));
  border-radius: 15px 15px 0 0;
}

.faq-question {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-text);
  margin: 0;
  line-height: 1.4;
  flex: 1;
  padding-right: 1rem;
}

.faq-toggle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary-color), var(--theme-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.faq-toggle i {
  color: var(--bg-white);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle {
  background: linear-gradient(135deg, var(--theme-color), var(--secondary-color));
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 2rem 2rem;
}

.faq-answer p {
  color: var(--dark-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 2rem 0 0 0;
  text-align: justify;
}

/* Enhanced Animation Effects */
.faq-item:nth-child(even) {
  transform: translateX(-10px);
}

.faq-item:nth-child(odd) {
  transform: translateX(10px);
}

.faq-item:hover,
.faq-item.active {
  transform: translateX(0) translateY(-3px);
}

/* Responsive Design */
@media (max-width: 991px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-title {
    font-size: 2.4rem;
  }

  .faq-subtitle {
    font-size: 1.2rem;
  }

  .faq-header {
    margin-bottom: 3rem;
  }
}

@media (max-width: 767px) {
  .faq-title {
    font-size: 2rem;
  }

  .faq-subtitle {
    font-size: 1.1rem;
  }

  .faq-question {
    padding: 1.5rem;
  }

  .faq-question h3 {
    font-size: 1.1rem;
  }

  .faq-toggle {
    width: 35px;
    height: 35px;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
  }

  .faq-answer p {
    font-size: 1rem;
    text-align: left;
  }
}

@media (max-width: 575px) {
  .faq-section {
    padding: 50px 0;
  }

  .faq-question {
    padding: 1.25rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-toggle {
    width: 30px;
    height: 30px;
  }

  .faq-toggle i {
    font-size: 0.9rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }
}
