/* faq.css */

@font-face {
  font-family: 'Fjalla One';
  src: url('../assets/FjallaOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fjalla One', sans-serif;
  background-color: transparent; /* Background handled by .liquid-background */
  color: #333;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Scrollbar styling */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: #fff0f5;
}
body::-webkit-scrollbar-thumb {
  background-color: #ff66b2;
  border-radius: 5px;
}

/* Remove old nav styles to let styles.css handle the pill navbar */

/* FAQ Container */
.faq-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Title */
.titleh.effect {
  text-align: center;
  font-size: 2.5em;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
  text-shadow: none;
  font-family: 'Fjalla One', sans-serif;
}

/* FAQ Card */
.faq {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  margin-bottom: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 20px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq:hover {
  border-color: rgba(255, 102, 178, 0.5);
  box-shadow: 0 4px 25px rgba(255, 102, 178, 0.15);
}

.faq.open {
  background: rgba(255, 255, 255, 0.4);
  border-color: #ff66b2;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Question */
.faq-question {
  width: 100%;
  font-weight: 600;
  color: #333; /* Dark grey as primary, or #FF007f */
  font-size: 1.1em;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: none; /* No uppercase */
}

/* Icon (Arrow) */
.faq-icon {
  color: #ff66b2;
  transition: transform 0.3s ease;
  font-size: 0.9em;
}

.faq.open .faq-icon {
  transform: rotate(180deg);
}

/* Answer */
.faq-answer {
  display: none; /* Hidden by default */
  margin-top: 15px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #333;
  padding-right: 10px;
}

/* Hearts Animation - Subtler */
.heart {
  position: fixed; /* Fixed so they stay in background */
  bottom: -50px;
  width: 15px;
  height: 15px;
  background-color: #ff66b2;
  animation: float 10s infinite ease-in-out;
  opacity: 0.5; /* Reduced opacity */
  filter: blur(2px); /* Added blur */
  z-index: -1;
  pointer-events: none;
}

.heart::before,
.heart::after {
  content: '';
  position: absolute;
  background-color: #ff66b2;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.heart::before {
  top: -7.5px;
  left: 0;
}
.heart::after {
  top: 0;
  left: 7.5px;
}

@keyframes float {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 0.5;
  }
  100% {
    transform: translateX(-200px) translateY(-1000px) rotate(360deg);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .faq-container {
    margin: 20px;
    padding: 0;
  }
  .titleh.effect {
    font-size: 2em;
  }
}
