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

html,
body {
  height: 100%;
  width: 100%;
}
body {
  font-family: "Poppins", serif, sans-serif;
}
a {
  color: white;
  text-decoration: none;
}
li {
  list-style: none;
}
main {
  width: 100%;
  height: 100%;
  background-color: black;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
nav {
  /* background-color: orangered; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 5%;
  margin-bottom: 40px;
}
.nav-left-container {
  display: flex;
  align-items: center;
}
.nav-left {
  font-size: 28px;
  margin-right: 8vw;
}
.nav-center {
  display: flex;
  justify-content: center;
  gap: 45px;
  font-size: 18px;
}
.nav-center li :hover {
  color: orangered;
}
.nav-center a:active,
.nav-center a:focus {
  border-bottom: 2px solid orangered;
}

.pmyBtn {
  color: Black;
  background-color: orangered;
  font-size: 16px;
  padding: 12px;
  margin: 4px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-family: "poppins", serif;
}
.pmyBtn:hover {
  color: white;
}
.scndBtn {
  color: white;
  margin: 4px;
  font-size: 16px;
}
.scndBtn:hover {
  color: orangered;
}

.heading {
  padding: 32px;
  /* background-color: red; */
}
.heading h1 {
  font-size: 5vw;
  font-weight: 500;
}
section.faqs-container {
  flex: 1;
  /* background-color: red; */
  display: flex;
  gap: 10px;
  padding: 16px 32px;
  overflow: hidden;
  transition: all 0.6s ease;

  /* justify-content: space-between; */
}
.faqs-catagory {
  width: 15%;
  /* background-color: pink; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  height: fit-content;
}
.faqs-catagory .category {
  font-weight: 400;
  font-size: 16px;
  width: 100%;
  color: #eee;
  cursor: pointer;
  text-transform: capitalize;
  transition: all 0.6s ease;

  &:hover {
    color: orangered;
  }
}

.category.active {
  color: orangered;
}
.category.active::before {
  content: "-";
  font-weight: 800;
  margin-right: 5px;
}

.faqs-questions {
  /* background-color: orange; */
  width: 85%;
  overflow-y: auto;
  transition: all 0.6s ease;
}
.faqs-questions::-webkit-scrollbar {
  background: transparent;
  width: 6px;
}
.faqs-questions::-webkit-scrollbar-thumb {
  background-color: rgba(255, 68, 0, 0.767);
  border-radius: 8px;
  cursor: pointer;
}

.faqs-questions::-webkit-scrollbar-thumb:hover {
  background-color: orangered;
}

.faqs-questions .faqs-title {
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 60px;
}

.faqs-questions .questionItem {
  border-top: 1px solid #eeeeee52;
  padding: 18px 0;
  padding-right: 30px;
  position: relative;
  transition: all 0.6s ease;
}
.questionItem .question {
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}
.questionItem .answer {
  font-size: 15px;
  padding-right: 30px;
  color: #eeeeeeab;
  display: none;
  margin-top: 20px;
  height: 0;
  overflow: hidden;
  transition: all 0.6s ease;
}
.questionItem.active .answer {
  font-size: 15px;
  color: #eeeeeeab;
  display: block;
  margin-top: 20px;
  height: fit-content;
}
.questionItem .faq-toggle {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 12px;
  color: white;
  background: transparent;
  /* padding: 15px; */
  width: 24px;
  height: 24px;
  /* padding: 4px; */
  border-radius: 50%;
  border: 2px solid #eeeeeeb4;
  cursor: pointer;
  &:hover {
    color: black;
    background-color: #eee;
  }
}
.faq-toggle i{
  pointer-events: none;
}
.faq-toggle .fa-x {
  display: none;
}
.questionItem.active .faq-toggle {
  background-color: #eee;
  color: black;
  &:hover {
    color: white;
    background-color: transparent;
  }
}
.questionItem.active .faq-toggle .fa-x {
  display: block;
  font-size: 10px;
}
.questionItem.active .faq-toggle .fa-plus {
  display: none;
}
