/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Main section padding */
.section-padding {
  padding: 50px 20px;
}

/* Layout for the FAQ section */
.faq-section {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}

/* Styling for the sidebar */
.faq-sidebar {
  width: 20%; /* 25% width for the sidebar */
  /* position: sticky; */
  top: 20px; /* Sticks to the top when scrolling */
  padding-right: 20px;
}

/* Sidebar list styling */
.faq-sidebar ul {
  list-style: none;
  padding: 0;
}

.faq-sidebar li {
  margin-bottom: 15px;
}

.faq-sidebar a {
  font-size: 18px;
  color: #6d6d6d;
  width: 100%;
  border-bottom: 1px solid #6d6d6d;
  padding: 8px 0px;
  font-weight: 300;
  display: block;
  transition: background-color 0.3s ease;
}

/* Hover and active styles for sidebar links */
.faq-sidebar a:hover, 
.faq-sidebar a.active {
  color: #000;
  border-color: #000;
}

/* Styling for the FAQ content */
.faq-content {
  width: 100%; /* 75% width for the content area */
  padding-left: 40px;
}

/* General styling for FAQ categories */
.faq-category {
  margin-bottom: 15px;
}

.faq-category h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #222;
}

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

.faq-question {
  background: none;
  border: none;
  font-size: 22px;
  font-weight: 400;
  text-align: left;
  display: flex;
  align-items: end;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 25px;
  cursor: pointer;
  font-family: 'Poppins';
  padding: 6px 0px;
  color: #040404;
  border-bottom: 1px solid #000000;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.active .faq-question{
  margin-bottom: 0px !important;

}

/* FAQ answer hidden by default */
.faq-answer {
  display: none;
  padding: 10px 0px;
  font-weight: 300;
  margin-top: 11px;
  font-size: 18px;
  color: #000000;
}
.faq-answer span {
  font-weight: 300 !important;

}
.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
/* Style for showing active FAQ answer */
.faq-item.active .faq-answer {
  display: block;
}
.title_faq{
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid #000;
  margin-block: 30px;
}
.container-title-faq{
  display: flex;
  justify-content: center;
  margin-bottom: 70px;
}
/* Make it look nice on smaller screens */
@media (max-width: 768px) {
  .faq-section {
    flex-direction: column;
  }
  .faq-sidebar li {
    margin-bottom: 15px;
    width: max-content;
    margin-right: 21px;
  }
  .faq-sidebar {
    width: 100%;
    padding: 0;
    border-right: none;
    margin-bottom: 30px;
  }
  .faq-sidebar ul {
    display: flex;
  }
  .container-title-faq {
  margin-bottom: 30px !important;
  }
  .faq-sidebar  {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* For Firefox */
  }
  .faq-sidebar ul::-webkit-scrollbar {
    display: none; /* Hides the scrollbar */
  }
  .faq-question {
    font-size: 19px;
  }
  .faq-answer {
font-size: 16px;

  }
  .faq-content {
    width: 100%;
    padding-left: 0;
  }
}
