﻿.faq-section {
  width: 100%;
  background-color: var(--background-color-first);
  padding: 2.5rem 0 10rem;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-header {
  color: var(--primary-color);
  font-size: 2.5rem;
  line-height:1.5;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.faq-subtitle {
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 0.5rem;
}

.faq-question {
  color: var(--text-color);
  font-size: 1.5rem;
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  font-weight: 400;
  transition: opacity 0.2s;
}

.faq-question:hover {
  opacity: 0.8;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  color: var(--text-color);
  font-size: 1.125rem;
  margin: 0;
  padding: 0 0 1rem 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

@media (max-width: 768px) {
  .faq-header {
    font-size: 2rem;
  }
  
  .faq-subtitle {
    font-size: 1.125rem;
  }
  
  .faq-question {
    font-size: 1.25rem;
  }
}