.faq-section {
  padding: 120px 0;
}

.faq-section .container {
  margin: auto;
  display: flex;
  padding: 1rem 4rem;
  flex-direction: row;
  gap: 8rem;
}

.faq-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(18, 110, 245, 0.1);
  color: #126ef5;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.faq-left {
  width: 85%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-left h2 {
  margin: 0;
  font-size: 33px;
  line-height: 1.2;
  color: #08142f;
}

.faq-left p {
  margin: 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.5;
}

.faq-card {
  width: 70%;
  margin-top: 2rem;
  padding: 20px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #126ef5, #3388ff);
  color: #fff;
}

.faq-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0,
    rgba(255, 255, 255, 0.06) 2px,
    transparent 2px,
    transparent 6px
  );
}

.faq-card > * {
  position: relative;
  z-index: 2;
}

.faq-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.faq-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  opacity: 70%;
  margin-bottom: 15px;
}

.faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #fff;
  color: #126ef5;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
  font-size: 14px;
}

.faq-btn:hover {
  transform: translateY(-3px);
}

.faq-item {
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
}

.faq-right {
  width: 100%;
  background-color: white;
  height: fit-content;
  padding: 1rem 0rem;
  border: 1px solid #ededed;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: 16px;
  font-weight: 500;
  color: #08142f;
}

.icon {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #126ef5;
  font-size: 18px;
  border: 1px solid #ededed;
  transition: 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease;
  opacity: 0;
}

.faq-answer p {
  margin: 1rem 0;
  padding-left: 25px;
  border-left: 3px solid #126ef5;
  color: #667085;
  font-size: 16px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}

.faq-item.active .icon {
  background: #126ef5;
  color: #fff;
}

.faq-item {
  transition: 0.3s;
}

.faq-item:hover {
}

.faq-question span {
  transition: 0.3s;
}

.faq-item:hover .faq-question span {
  color: #126ef5;
}

.icon {
  transition:
    0.3s ease,
    transform 0.4s ease;
}

.faq-item.active .icon {
}

@media (max-width: 991px) {
  .faq-section .container {
    padding: 1rem;
    flex-direction: column;
    gap: 8rem;
  }

  .faq-left h2 {
    font-size: 30px;
  }

  .faq-left p {
    font-size: 14px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .faq-left h2 {
    font-size: 25px;
  }

  .faq-card {
    width: 100%;
  }
}
