.faq {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 20px;
}

.stack {
  width: 500px;
  height: 500px;
  position: relative;
}

.faq-card {
  margin-top: 5vh;
  width: 45vw;
  height: 50vh;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
}

#purple-tr {
  position: absolute;
  transform: scale(0.7);
  bottom: -10%;
  right: -5%;
}

.faq-card:nth-last-child(3) {
  --y: calc(-50% + 30px);
  transform: translate(-50%, var(--y)) scale(0.95);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 10px 0 #00000003, 0 15px 20px 0#00000003;
}
.faq-card:nth-last-child(2) {
  --y: calc(-50%);
  transform: translate(-50%, var(--y)) scale(1);
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 5px 10px 0 #00000005, 0 15px 20px 0#00000005;
}

.faq-card:nth-last-child(1) {
  --y: calc(-50% + -30px);
  background-color: #fff;
  transform: translate(-50%, var(--y)) scale(1.05);
  box-shadow: 0 5px 10px 0 #00000010, 0 15px 20px 0#00000010;
  opacity: 1;
}
.faq-card:nth-last-child(1) #triangles {
  opacity: 1;
}
.shadow-triangle {
  display: none;
  height: 250px;
  width: 250px;
  background: linear-gradient(180deg, #0075ff 0%, rgba(0, 163, 255, 0) 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  position: absolute;
  left: 10%;
}
@keyframes swap {
  50% {
    transform: translate(50%, var(--y));
    animation-timing-function: ease-in;
    opacity: 0.8;
  }
  100% {
    transform: translate(100%, var(--y));
    opacity: 0;
  }
}
@keyframes unswap {
  50% {
    transform: translate(100%, var(--y));
    animation-timing-function: ease-out;
    opacity: 0;
  }
  100% {
    transform: translate(-50%, var(--y));
    opacity: 1;
  }
}
.faq-card:nth-last-child(1) #triangles img {
  opacity: 1;
}
.shadow-triangle {
  display: none;
  height: 250px;
  width: 250px;
  background: linear-gradient(180deg, #0075ff 0%, rgba(0, 163, 255, 0) 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  position: absolute;
  left: 10%;
}
.navs {
  z-index: 1;
  position: absolute;
  bottom: 7%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navs .breaker {
  width: 1vh;
}
.faq-card .mySwiper3 .swiper-pagination {
  display: none;
}

.mySwiper3 {
  height: 40vh;
  width: 40vw;
  overflow: visible;
}
.faq-card-content {
  height: 30vh;
  width: 100%;
  position: relative;
  text-align: center;
}
.faq-card-content h3 {
  margin-top: 3vh;
  margin-bottom: 2vh;
  font-size: 1.8rem;
  color: var(--blue1);
  font-family: CircularBold;
}
.faq-card p {
  font-family: CircularMedium;
  color: #4c6c92;
  font-size: 1.3rem;
}
#triangles img {
  height: 120px;
  position: absolute;
  top: -18%;
  left: -10%;
  opacity: 0;
}
#question-mark img {
  height: 60%;
  top: 10%;
  left: 10%;
  position: absolute;
}

.right-dots img {
  position: absolute;
  top: -30%;
  right: -18%;
}
.left-dots img {
  position: absolute;
  bottom: 0%;
  left: -25%;
}

@media screen and (max-width: 1024px) {
  .right-dots img {
    top: -52%;
    right: -48%;
    transform: scale(0.5);
  }
  .left-dots img {
    bottom: -15%;
    left: -55%;
    transform: scale(0.5);
  }
  #triangles img {
    height: 100px;
    top: -15%;
    left: -10%;
  }
  .faq-card p {
    font-size: 1.2rem;
  }

  .faq-card-content h3 {
    margin-top: 4vh;
    font-size: 1.8rem;
    color: var(--blue1);
  }
  #purple-tr {
    transform: scale(0.5);
  }
}

.faq-cards-container {
  height: 70%;
  width: 100%;
  position: relative;
}
.right-dots-resp,
.left-dots-resp {
  display: none;
}
@media screen and (max-width: 768px) {
  .right-dots,
  .left-dots {
    display: none;
  }
  .right-dots-resp,
  .left-dots-resp {
    display: block;
  }
  .right-dots-resp {
    position: absolute;
    top: -15%;
    right: -5%;
    height: 30%;
    width: 60%;
  }
  .left-dots-resp {
    height: 30%;
    width: 60%;
    position: absolute;
    bottom: 7%;
    left: -8%;
  }
  #question-mark img {
    height: 50%;
  }
  #triangles img {
    height: 70px;
    top: -15%;
    left: -10%;
  }
  .mySwiper3 {
    width: 60vw;
    margin-top: 10vh;
    height: 50vh !important;
  }
  .faq-card-content p {
    font-size: 15px;
  }
  .faq-card-content h3 {
    font-size: 23px;
  }
  .navs {
    display: none;
  }
  .faq-card {
    margin: 0;
    height: 40vh;
    width: 70vw;
  }
  .faq-card .mySwiper3 .swiper-pagination {
    display: block;
  }

  #purple-tr {
    display: none;
  }
}
.circle-s {
  height: 200px;
  width: 200px;
  position: absolute;
  top: -35%;
  left: -20%;
  background-color: #0075ff;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.4;
}
@media screen and (max-width: 320px) {
  .faq-card {
    height: 65vh;
    width: 70vw;
  }
  .mySwiper3 {
    width: 60vw;
    margin-top: 15vh;
    height: 75vh !important;
  }
}
