.uxfaq-container {
  max-width: 800px;
  margin-top: 40px;
  margin-bottom: 50px;
  /* margin: 0 auto; */
}

.uxfaq-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.uxfaq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.uxfaq-question {
  background: #452c2f;
  border: none;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  transition: background 0.3s ease;
}

.uxfaq-question:hover {
  background: #452c2f;
}

.uxfaq-answer {
  max-height: 0;
  overflow: hidden;
  background: #BDB76B;
  transition: all 0.4s ease;
  padding: 0 20px;
  line-height: 1.6;
  color: black;
}

.uxfaq-item.active .uxfaq-answer {
  max-height: 300px;
  padding: 15px 20px;
}

.uxfaq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.uxfaq-item.active .uxfaq-icon {
  transform: rotate(45deg);
}

/* ===== LOTTIE RESPONSIVE CSS ===== */

.lottie-container {
  width: 100%;
  max-width: 600px;   /* desktop limit */
  margin: 0 auto;     /* center horizontally */
}

/* Lottie player */
.lottie-container lottie-player {
  width: 100%;
  height: 650px;
  display: block;
}

/* ===== Tablet ===== */
@media (max-width: 768px) {
  .lottie-container {
    max-width: 100%;
  }

  .lottie-container lottie-player {
    height: 300px;   /* controlled height */
  }
}

/* ===== Mobile ===== */
@media (max-width: 480px) {
  .lottie-container lottie-player {
    height: 250px;
  }
}

/* ===== Extra Small Devices ===== */
@media (max-width: 360px) {
  .lottie-container lottie-player {
    height: 220px;
  }
}

#faq{
  background-image: url('../images/background/main-bg-2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



/* --- ALIGNMENT FIX FOR FAQ --- */
.uxfaq-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the badge and heading horizontally */
}

.uxfaq-container .uxfaq-item {
    width: 100%; /* Ensures the actual FAQ bars stay full width */
}

/* Ensure the heading remains centered even if global styles shift */
h2.unique-dream-heading {
    text-align: center !important;
    width: 100%;
}