.faq-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.faq-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  height: fit-content;
  width: 48%;
  box-sizing: border-box;
  padding: 15px;
  gap: 15px;
  z-index: 1;
  overflow: hidden;
  background: transparent;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background: linear-gradient(154deg, #f23d4c 16.07%, #f99f38 83.87%);
  z-index: -1;
  border-radius: 15px;
}

.faq-item::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background: #fff; /* Or #0e1821 if you want a dark background */
  z-index: -1;
  border-radius: 13px;
}

.faq-question-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  margin-right: 10px;
}

.faq-question {
  color: #1d2d50;
  margin: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: #4a4a4a;
}

.faq-toggle {
  font-size: 20px;
  color: #1d2d50;
  transition: transform 0.3s ease;
  min-width: 20px;
}

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

@media screen and (max-width: 1024px) {
  .faq-item {
    width: 100%;
  }
}
