/* FAQ Section Animations */

.faq-animation-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Cards */
.faq-float-card {
  position: absolute;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.faq-float-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 86, 179, 0.5);
}

.faq-float-card p {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.card-icon {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Positions with Animations */
.card-1 {
  top: 0;
  left: 0;
  animation: float-card-1 4s ease-in-out infinite;
}

.card-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation: float-card-2 4.5s ease-in-out infinite;
}

.card-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: float-card-3 5s ease-in-out infinite;
}

/* Float Animations */
@keyframes float-card-1 {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-20px) rotate(0deg);
  }
}

@keyframes float-card-2 {
  0%, 100% {
    transform: translateY(-50%) translateX(0) rotate(5deg);
  }
  50% {
    transform: translateY(-50%) translateX(-15px) rotate(0deg);
  }
}

@keyframes float-card-3 {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(3deg);
  }
  50% {
    transform: translateX(-50%) translateY(-15px) rotate(-2deg);
  }
}

/* Background Shapes */
.faq-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  pointer-events: none;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: #0056b3;
  top: -50px;
  left: -50px;
  animation: shape-drift-1 8s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: #0056b3;
  bottom: -30px;
  right: -30px;
  animation: shape-drift-2 10s ease-in-out infinite;
}

.shape-3 {
  width: 120px;
  height: 120px;
  background: #0056b3;
  top: 50%;
  right: -60px;
  animation: shape-drift-3 12s ease-in-out infinite;
}

@keyframes shape-drift-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

@keyframes shape-drift-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-40px, 40px) scale(1.15);
  }
}

@keyframes shape-drift-3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, 20px) scale(1.08);
  }
}

/* Responsive */
@media (max-width: 991px) {
  .faq-animation-container {
    height: 350px;
    max-width: 100%;
  }

  .faq-float-card {
    width: 120px;
    height: 120px;
    gap: 10px;
  }

  .card-icon {
    font-size: 2rem;
  }

  .faq-float-card p {
    font-size: 0.8rem;
  }
}

@media (max-width: 575px) {
  .faq-animation-container {
    height: 300px;
  }

  .faq-float-card {
    width: 100px;
    height: 100px;
    gap: 8px;
  }

  .card-icon {
    font-size: 1.6rem;
  }

  .faq-float-card p {
    font-size: 0.7rem;
  }

  .shape-1, .shape-2, .shape-3 {
    opacity: 0.08;
  }
}
