.faq-main-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  background: linear-gradient(to top, #184158 30%, #37389a 100%);
}

.faq-content-wrapper {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
  /* LISA NEED KOLM RIDA 👇 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-section-title {
  font-size: 2rem;
  font-weight: bold;  
  text-align: center;
  margin-bottom: 0;
}

.faq-section-subtitle {
  font-size: 1.2rem; /* Fondi suurus, veidi väiksem kui pealkirjal */
  font-weight: 400; /* Tavaline fondi paksus (mitte 'bold') */
  line-height: 1.6; /* Rea kõrgus paremaks loetavuseks */
  text-align: center; /* Teksti joondamine keskele */
  max-width: 700px; /* Maksimaalne laius, et tekst ei veniks liiga laiaks */
  margin-left: auto; /* Tsentreerib elemendi horisontaalselt */
  margin-right: auto; /* Tsentreerib elemendi horisontaalselt */
  margin-top: 0.5rem; /* Väike tühimik pealkirja ja alapealkirja vahel */
  margin-bottom: 2.5rem; /* Suurem tühimik alapealkirja ja KKK ringide vahel */
}

.faq-circle-wrapper {
  position: relative;
  width: 780px;
  height: 400px;
  border-radius: 25px;
  overflow: hidden;
  z-index: 1;
  margin: 0 auto;
  margin-top: 1rem;
  margin-bottom: 5rem;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.5);
}

.faq-bouncing-circle {
  position: absolute;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  padding: 0.5rem;
  word-wrap: break-word;
  z-index: 2;
  background: 
  radial-gradient(circle at 60% 30%, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 40%, transparent 80%),
  linear-gradient(135deg, rgba(155,231,255,0.15) 10%, rgba(240,225,48,0.10) 40%, rgba(247,115,255,0.13) 75%, rgba(0,232,255,0.12) 100%);
  box-shadow: 0 0 10px 1px rgba(0,220,255,0.10);
  opacity: 0.7;    backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 0.1px transparent;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-circle-text {
  font-size: 1rem;
  color: #ffffff;
  pointer-events: none;
  line-height: 1.2;
}

.faq-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(48, 33, 33, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.faq-popup.hidden {
  display: none;
}

.faq-popup-inner {
  background: linear-gradient(to top, #173750 30%, #7176ed 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.faq-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

#faq-popup-content {
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  word-wrap: break-word;
  white-space: pre-wrap;
  text-align: justify;
}

#faq-popup-content h3 {
  font-size: 1.4rem;
  font-family: 'Georgia', serif;
  font-weight: normal;
  margin-bottom: 0.75rem;
  color: #fff;
  text-align: center;
}

.faq-popup-image-wrapper {
  text-align: center;
  margin: 1rem 0;
}

.faq-popup-image {
  max-width: 50%;
  height: auto;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .faq-circle-wrapper {
    width: 100%;
    height: 580px;
  }

  .faq-section-title {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .faq-popup-inner {
    width: 95%;
    padding: 1rem;
    max-height: 80vh;
    overflow-y: auto;
  }

  .faq-bouncing-circle {
    width: 120px !important;
    height: 120px !important;
  }

  .faq-circle-text {
    font-size: 0.95rem;
  }

  .faq-content-wrapper {
    width: 100%;
    padding: 0 0.2rem;
  }

  .faq-popup-image-wrapper {
    margin: 0.75rem 0;
  }

  .faq-popup-image {
    border-radius: 0.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .faq-section-title {
    margin-bottom: 0rem;
  }
}

@keyframes moveGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.faq-bouncing-circle {
  /* ...olemasolev stiil... */
  background-size: 300% 300%;
  animation: moveGradient 15s ease infinite;
}
