.pg-faq-main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #f5fbf8;
  padding: 100px 0px;
}
.pg-faq-titlediv {
  max-width: 75%;
}
.pg-faq-titlediv p {
  text-align: center;
  line-height: 1.5;
  font-size: 18px;
  color: #233d63;
}
.pg-faq-titlediv p:first-child {
  font-size: 36px;
  color: #233d63;
}
.pg-faq-titlediv p:first-child b {
  font-size: 40px;
}

.pg-faq-questions-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin-top: 40px;
}

.pg-faq-question-div {
  border-bottom: 1px solid #ddd;
  padding: 15px 10px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  background-color: #fbfbfb;
}

.pg-faq-question-div p {
  max-width: 90%;
  font-size: 16px;
  margin: 0;
  display: inline;
  color: #233d63;
  font-weight: 500;
}
.pg-faq-question-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #17c7bd;
  height: 25px;
  width: 25px;
  border-radius: 50px;
}
.pg-faq-question-icon i {
  font-size: 15px;
  color: #fff;
  transition: transform 0.5s ease;
}

.pg-faq-question-div.active i {
  transform: rotate(180deg);
}

.pg-faq-answer {
  max-height: 0;
  overflow: hidden;
  /* transition: max-height 0.9s linear, padding 0.3s linear; */
  transition: all 0.3s linear;
  background-color: #fff;
}

.pg-faq-answer p {
  padding: 10px;
  font-size: 14px;
  color: gray;
}

.pg-faq-question-div.active + .pg-faq-answer {
  max-height: fit-content !important;
  /* Adjust based on content */
  padding: 0px;
}

@media only screen and (max-width: 768px) {
  .pg-faq-main-container {
    width: 100%;
    padding: 0;
    padding-top: 50px;
    overflow-x: hidden;
  }
  .pg-faq-titlediv {
    max-width: 90%;
  }
  .pg-faq-titlediv p {
    font-size: 16px;
  }
  .pg-faq-titlediv p:first-child {
    margin-top: 20px;
    font-size: 24px;
    color: #233d63;
    line-height: 1;
  }
  .pg-faq-titlediv p:first-child b {
    font-size: 30px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
}

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
}
