.faq-container {
  max-width: 1400px;
  padding: 100px;
  margin-bottom: 100px;
}

.faq-title-wrapper span {
  font-family: var(--secondary-font);
  font-size: 1rem;
  color: var(--primary-blue);
  font-weight: 600;
}

.faq-title-wrapper h1 {
  /* text-align: center; */
  color: #333;
  font-size: 2.5em;
  margin-bottom: 40px;
  font-family: var(--primary-font);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  align-items: center;
  gap: 20px;
}

.faq-box {
  border-radius: var(--button-border);
  padding: 25px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
  background-color: var(--primary-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--secondary-font);
  cursor: pointer;
}

.faq-box:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); */
}

.faq-question {
  font-size: 1rem;
  color: #333;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-icon {
  font-size: 1.5em;
  color: #fff;
  transition: transform 0.3s ease;
}

.faq-box.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  color: #ebebeb;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-box.active .faq-answer {
  max-height: 500px;
}

@media (max-width: 768px) {
  .faq-container {
    padding: 20px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .faq-title-wrapper h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
}
