/* ========================================= */
/*                FAQ PAGE STYLES            */
/* ========================================= */

/* General Page Layout */
.faq-main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* FAQ Container Styling */
.faq-container {
  background-color: #ffffff;
  border: 1px solid #e1e1e1;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* No scroll on the container itself */
}

/* FAQ Title Styling */
.faq-title {
  text-align: center;
  font-size: 2rem;
  color: black;
  font-weight: bold;
  flex-shrink: 0; /* Keep the title visible */
  border-bottom: 3px solid #e4bc1c;
  padding-bottom: 10px;
  -khtml-user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

/* FAQ List Styling */
#faqList {
  overflow-y: auto; /* Scroll only inside the list */
  flex-grow: 1; /* Fill remaining space */
  padding: 60px;
}

/* FAQ Item Styling */
.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Hover Effect for FAQ Titles */
.faq-item h3:hover {
  color: #e4bc1c;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-container {
    padding: 30px 20px;
  }

  .faq-title {
    font-size: 1.75rem;
  }

  .faq-item h3 {
    font-size: 1.1rem;
  }

  .faq-item p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .faq-container {
    padding: 20px 15px;
  }

  .faq-title {
    font-size: 1.5rem;
  }

  .faq-item h3 {
    font-size: 1rem;
  }

  .faq-item p {
    font-size: 0.9rem;
  }
}

  @media (max-width: 1024px) {
    .faq-main {
      padding: 0;
    }

    .faq-container {
      border: none;
      box-shadow: none;
      border-radius: 0;
    }

    #faqList {
      padding: 10px;
    }
  }