.container {
  max-width: 900px;
  margin: 8rem auto 2rem;
  padding: 40px 20px;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.section p {
  margin-bottom: 20px;
  text-align: justify;
}

.faq-section {
  margin-bottom: 30px;
}

.faq-item {
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-hover-color);
  box-shadow: 0 4px 15px rgba(209, 29, 35, 0.1);
}

.faq-header {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  transition: background 0.3s ease;
}

.faq-header:hover {
  background: #f5f5f5;
}

.faq-item.active .faq-header {
  background: var(--primary-color);
  color: var(--text-color-alt);
}

.faq-title {
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.faq-item.active .faq-icon {
  background: white;
  color: var(--primary-color);
}

.toggle-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
  color: var(--background);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-content-inner {
  padding: 25px;
  border-top: 2px solid #f0f0f0;
}

.faq-item.active .faq-content-inner {
  border-top-color: var(--primary-color);
}

.faq-content p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.faq-content ul,
.faq-content ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.faq-content li {
  line-height: 1.8;
  color: #555;
  margin-bottom: 8px;
}

.faq-note {
  background: #fff8f8;
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  margin-top: 15px;
  border-radius: 4px;
}

.faq-note strong {
  color: var(--primary-color);
}

@media (max-width: 768px) {
    .container {
        margin-top: 6rem;
    }
    .section h2 {
        font-size: 1.5rem;
    }
  .faq-title {
    font-size: 1.1rem;
  }

  .faq-icon {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .container {
    padding: 30px 15px;
  }
}
