.gp-faq-container {
  background-color: #f7f7f7;
  text-align: center;
}
.gp-faq-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.faq-heading {
  padding-top: 80px;
  font-family: Heebo-bold;
  font-size: 54px;
  font-weight: bold;
  color: #404040;
  line-height: 42px;
}
.faq-sub-heading {
  font-family: Heebo-Regular;
  margin-top: 25px;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 500;
  color: #717171;
}
.faq-grad {
  background-image: linear-gradient(to top, #8fb741, #8fb741 50%);
  background-position: 0px 22px;
  background-repeat: no-repeat;
  background-size: 100% 8px;
}
.faq-list {
  position: relative;
  margin: 20px auto;
  text-align: left;
  display: inline-block;
  width: 100%;
}
.faq-item {
  padding-bottom: 15px;
  border-bottom: solid 1px #dbdddb;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
}
.faq-question {
  font-family: Heebo-SemiBold;
  font-size: 22px;
  line-height: 24PX;
  color: #404040;
  padding: 18px 15px 10px 0;
  cursor: pointer;
  font-weight: bold;
  position: relative;
}
.faq-answer {
  width: 90%;
  opacity: 0.9;
  font-size: 17px;
  line-height: 22px;
  color: #404040;
  padding: 0px 15px 15px 0px;
}
.hidden-faqs-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.expand-faq .hidden-faqs-container {
  max-height: 999px;
}
.arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: rotate(45deg);
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 4px;
  transition: transform 0.3s ease;
}
.faq-toggle-checkbox:not(:checked) ~ .hidden-faqs-container {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-toggle-checkbox:checked ~ .hidden-faqs-container {
  max-height: 1000px;
  opacity: 1;
}

.faq-toggle-checkbox:not(:checked) ~ .see-all-faq .toggle-text::after {
  content: "See all FAQs";
  left: 0;
}
.faq-toggle-checkbox:checked ~ .see-all-faq .toggle-text::after {
  content: "See less FAQs";
  left: -6px;
}

.toggle-text {
  visibility: hidden;
  position: relative;
  width: max-content;
}
.toggle-text::after {
  visibility: visible;
  position: absolute;
  width: max-content;
}

.see-all-faq {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  background-image: linear-gradient(to bottom, rgba(247, 247, 247, 0.82) 9%, rgba(247, 247, 247, 0.99) 83%, #f7f7f7 83%);
  transition: bottom 0.4s;
}
.faq-toggle-checkbox:checked ~ .see-all-faq {
  position: relative;
  top: 0;
  padding: 0;
  margin-bottom: 30px;
}
.see-all-faq-btn {
  height: 64px;
  width: 167px;
  border-radius: 32px;
  border: solid 1px #f80;
  display: block;
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #ff8800;
  background-color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
details[open] .faq-question .arrow {
  transform: rotate(-135deg);
}
.arrow-faq {
  padding-left: 10px;
  position: relative;
  transition: 0.5s;
}
.see-all-faq .see-all-faq-btn:hover {
  background: #fff2f2f7;
}
.see-all-faq .see-all-faq-btn:hover .arrow-faq {
  padding-left: 15px;
  transition: padding-left 0.5s;
}

@media screen and (max-width: 1365px) {
  .gp-faq-inner {
    max-width: 1090px;
  }
  .faq-heading {
    font-size: 50px;
  }
  .faq-sub-heading {
    font-size: 23px;
  }
  .see-all-faq-btn {
    height: 60px;
    width: 157px;
  }
}

@media screen and (max-width: 1279px) {
  .gp-faq-inner {
    max-width: 936px;
  }
  .faq-heading {
    padding-top: 40px;
    font-size: 44px;
  }
  .faq-sub-heading {
    margin-top: 3px;
    font-size: 20px;
  }
  .faq-list {
    margin-top: 15px;
  }
  .faq-item {
    padding-bottom: 12px;
  }
  .see-all-faq-btn {
    height: 48px;
    width: 134px;
    font-size: 16px;
  }
  .faq-grad {
    background-position: 0px 16px;
  }
}

@media screen and (max-width: 1099px) {
  .gp-faq-inner {
    max-width: 870px;
  }
  .faq-heading {
    padding-top: 38px;
    font-size: 42px;
  }
  .faq-sub-heading {
    font-size: 20px;
  }
  .faq-item {
    padding-bottom: 6px;
  }
  .faq-question {
    font-size: 18px;
  }
  .faq-answer {
    font-size: 14px;
  }
  .see-all-faq-btn {
    height: 45px;
    width: 125px;
  }
}

@media screen and (max-width: 1023px) {
  .gp-faq-inner {
    max-width: 660px;
  }
  .faq-heading {
    padding-top: 27px;
    font-size: 32px;
  }
  .faq-sub-heading {
    font-size: 14px;
  }
  .faq-grad {
    background-position: 0px 14px;
    background-size: 100% 7px;
  }
  .faq-list {
    margin-top: 6px;
  }
  .faq-item {
    padding-bottom: 2px;
  }
  .faq-question {
    font-size: 15px;
  }
  .faq-answer {
    font-size: 12px;
  }
  .see-all-faq-btn {
    height: 38px;
    width: 120px;
    font-size: 12px;
  }
  .arrow-faq {
    padding-left: 4px;
    height: 10px;
  }
}

@media screen and (max-width: 767px) {
  .gp-faq-inner {
    max-width: 670px;
  }
  .faq-heading {
    padding-top: 52px;
    font-size: 40px;
    max-width: 350px;
    margin: 0 auto;
    line-height: 46px;
  }
  .faq-sub-heading {
    margin-top: 16px;
    font-size: 22px;
    line-height: 32px;
  }
  .faq-grad {
    background-position: 0px 18px;
    background-size: 100% 6px;
  }
  .faq-list {
    margin: 14px auto 44px auto;
  }
  .faq-item {
    padding-bottom: 20px;
    margin-bottom: 10px;
  }
  .faq-question {
    font-size: 25px;
    padding: 20px 110px 14px 0;
    line-height: 34px;
  }
  .arrow {
    right: 8px;
    top: 26px;
    padding: 6px;
  }
  .faq-answer {
    font-size: 23px;
    line-height: 34px;
  }
  .see-all-faq {
    padding: 190px 0 30px 0;
  }
  .see-all-faq-btn {
    height: 62px;
    width: 356px;
    font-family: Heebo-SemiBold;
    font-size: 23px;
    line-height: 24px;
  }
  .see-all-faq-expanded {
    padding: 0 !important;
    margin-bottom: 0;
  }
  .arrow-faq {
    height: 15px;
    top: auto;
  }
}

@media screen and (max-width: 719px) {
  .gp-faq-inner {
    max-width: 500px;
  }
  .faq-heading {
    padding-top: 50px;
    font-size: 38px;
    max-width: 320px;
    line-height: 44px;
  }
}

@media screen and (max-width: 539px) {
  .gp-faq-inner {
    max-width: 390px;
  }
  .faq-heading {
    padding-top: 46px;
    font-size: 36px;
    max-width: 300px;
    line-height: 42px;
  }
  .faq-sub-heading {
    margin-top: 12px;
    font-size: 22px;
    line-height: 32px;
  }
  .faq-list {
    margin: 10px auto 42px auto;
  }
  .faq-item {
    padding-bottom: 18px;
    margin-bottom: 8px;
  }
  .faq-question {
    font-size: 24px;
    padding: 20px 100px 12px 0;
    line-height: 32px;
  }
  .arrow {
    right: 6px;
    top: 34px;
    padding: 5px;
  }
  .faq-answer {
    font-size: 22px;
    line-height: 32px;
  }
  .see-all-faq {
    padding: 190px 0 30px 0;
  }
  .see-all-faq-btn {
    width: 356px;
  }
}

@media screen and (max-width: 429px) {

}

@media screen and (max-width: 427px) {
  .gp-faq-inner {
    max-width: 370px;
  }
  .faq-heading {
    padding-top: 44px;
    font-size: 35px;
    max-width: 260px;
    line-height: 41px;
  }
  .faq-sub-heading {
    margin-top: 11px;
    font-size: 21px;
    line-height: 32px;
  }
  .faq-question {
    font-size: 23px;
    padding: 20px 95px 12px 0;
  }
  .faq-answer {
    font-size: 21px;
    line-height: 31px;
  }
}

@media screen and (max-width: 409px) {
  .gp-faq-inner {
    max-width: 362px;
  }
}

@media screen and (max-width: 399px) {
  .gp-faq-inner {
    max-width: 350px;
  }
  .faq-heading {
    padding-top: 40px;
    font-size: 34px;
    max-width: 260px;
    line-height: 40px;
  }
  .faq-sub-heading {
    margin-top: 10px;
    font-size: 20px;
    line-height: 30px;
  }
  .faq-grad {
    background-position: 0px 18px;
    background-size: 100% 6px;
  }
  .faq-list {
    margin: 10px auto 42px auto;
  }
  .faq-item {
    padding-bottom: 17px;
    margin-bottom: 7px;
  }
  .faq-question {
    font-size: 22px;
    padding: 18px 95px 10px 0;
    line-height: 32px;
  }
  .arrow {
    right: 5px;
    top: 28px;
    padding: 5px;
  }
  .faq-answer {
    font-size: 20px;
    line-height: 30px;
  }
  .see-all-faq {
    padding: 185px 0 30px 0;
  }
  .see-all-faq-btn {
    height: 60px;
    width: 350px;
    font-size: 22px;
  }
}

@media screen and (max-width: 389px) {
  .gp-faq-inner {
    max-width: 338px;
  }
  .faq-heading {
    font-size: 34px;
  }
  .faq-sub-heading {
    font-size: 21px;
  }
  .faq-list {
    margin: 7px auto 40px auto;
  }
  .arrow {
    top: 30px;
  }
  .faq-question {
    font-size: 23px;
    padding: 16px 95px 10px 0;
  }
  .faq-answer {
    font-size: 21px;
  }
  .see-all-faq {
    padding: 185px 0 28px 0;
  }
  .see-all-faq-btn {
    height: 58px;
    width: 336px;
  }
  .arrow-faq {
    top: 2px;
    height: 13px;
    padding-left: 6px;
  }
}

@media screen and (max-width: 374px) {
  .gp-faq-inner {
    max-width: 328px;
  }
  .faq-heading {
    font-size: 33px;
    line-height: 38px;
  }
  .faq-sub-heading {
    line-height: 28px;
    font-size: 20px;
  }
  .faq-list {
    margin: 10px auto 38px auto;
  }
  .faq-answer {
    font-size: 20px;
  }
  .faq-question {
    font-size: 22px;
  }
  .see-all-faq-btn {
    height: 54px;
    width: 326px;
  }
  .arrow-faq {
    top: 1px;
    padding-left: 5px;
  }
  .see-all-faq {
    padding: 190px 0 28px 0;
  }
  .see-all-faq-btn {
    font-size: 20px;
  }
}

@media screen and (max-width: 364px) {
  .gp-faq-inner {
    max-width: 288px;
  }
  .faq-heading {
    font-size: 30px;
    padding-top: 34px;
  }
  .faq-sub-heading {
    font-size: 18px;
    line-height: 25px;
  }
  .faq-list {
    margin: 5px auto 26px auto;
  }
  .faq-question {
    font-size: 19px;
    padding: 16px 86px 8px 0;
  }
  .faq-answer {
    font-size: 18px;
    width: 92%;
    line-height: 1.3;
  }
  .arrow {
    top: 28px;
    padding: 4px;
  }
  .see-all-faq-btn {
    font-size: 18px;
    height: 48px;
    width: 286px;
  }
  .arrow-faq {
    top: auto;
    padding-left: 4px;
    height: 12px;
  }
}
