/* FAQs CSS */

.vo-section-02 .title,
.common-section-wrapper .title,
.vo-section-04 .title {
  font-size: 40px;
  font-weight: 700;
  margin-top: 15px;
  position: relative;
  display: inline-block; /* Keeps line tight to text width */
  padding-bottom: 10px; /* spacing between text and line */
}

.ba-faqs-container {
  margin: 0 auto;
  position: relative;
}

.ba-faqs-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
      circle,
      rgba(3, 109, 188, 0.03) 0%,
      transparent 70%
    ),
    conic-gradient(
      from 45deg,
      rgba(3, 109, 188, 0.02),
      rgba(9, 42, 73, 0.02),
      rgba(3, 109, 188, 0.02)
    );
  border-radius: 50%;
  z-index: -1;
  animation: ba-faqs-float 20s ease-in-out infinite;
}

.ba-faqs-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(9, 42, 73, 0.08);
  overflow: hidden;
  border: 1px solid rgba(3, 109, 188, 0.1);
  position: relative;
}

.ba-faqs-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      45deg,
      rgba(3, 109, 188, 0.01) 0%,
      transparent 30%
    ),
    linear-gradient(-45deg, rgba(9, 42, 73, 0.01) 0%, transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.ba-faqs-item {
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.ba-faqs-item:last-child {
  border-bottom: none;
}

.ba-faqs-item.ba-faqs-hidden {
  display: none;
}

.ba-faqs-question {
  background: rgba(255, 255, 255, 0.8);
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.ba-faqs-question:not(.ba-faqs-active):hover {
  background: linear-gradient(
    135deg,
    rgba(241, 249, 255, 0.9) 0%,
    rgba(224, 242, 254, 0.9) 100%
  );
}

.ba-faqs-question.ba-faqs-active {
  background-color: var(--dark-blue-color);
  color: white;
}

.ba-faqs-question h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  padding-right: 20px;
  flex: 1;
}
.ba-faqs-question.ba-faqs-active h4 {
  color: #fff;
}

.ba-faqs-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dark-blue-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.ba-faqs-question.ba-faqs-active .ba-faqs-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
}

.ba-faqs-icon::after {
  content: "+";
  color: white;
  font-size: 20px;
  font-weight: 300;
  transition: all 0.3s ease;
}

.ba-faqs-answer {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(250, 251, 252, 0.9);
}

.ba-faqs-answer.ba-faqs-active {
  padding: 24px 28px;
  max-height: 1200px;
}

.ba-faqs-answer p {
  /* font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  margin-bottom: 20px; */
}

.ba-faqs-answer p:not(:last-child) {
  margin-bottom: 20px;
}

.ba-faqs-answer ul li {
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  position: relative;
  padding: 10px 0 15px 35px;
}

.ba-faqs-answer ul li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--dark-blue-color);
}

.ba-faqs-read-more-container {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
}

.ba-faqs-read-more-btn {
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-color: var(--dark-blue-color);
}

.ba-faqs-read-more-btn:hover {
  transform: translateY(-2px);
  background-color: var(--dark-blue-color);
}

.ba-faqs-read-more-btn:active {
  transform: translateY(0);
}

.ba-faqs-read-more-btn.ba-faqs-hidden {
  display: none;
}
.ba-faqs-terms {
  text-align: center;
  margin: 20px 0;
}

@media (max-width: 992px) {
  .vo-section-02 .title,
  .vo-section-04 .title,
  .common-section-wrapper .title {
    font-size: 30px;
    line-height: 45px;
  }
  .vo-section-04 .ba-faqs-question h4 {
    font-size: 16px;
    line-height: 25px;
  }
}

@media (max-width: 768px) {
  .ba-faqs-question {
    padding: 20px;
  }

  .ba-faqs-answer.ba-faqs-active {
    padding: 20px;
  }

  .ba-faqs-question h3 {
    font-size: 1rem;
  }

  .ba-faqs-container::before {
    width: 400px;
    height: 400px;
  }
}

/* Smooth reveal animation */
.ba-faqs-item.ba-faqs-reveal {
  animation: ba-faqs-slideInFade 0.5s ease-out forwards;
}

@keyframes ba-faqs-slideInFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ba-faqs-float {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -45%) scale(1.05);
  }
}

/* FAQs Ends */
