/*===========   Tests Home Page   =============*/
.home-page {
  font-family: "Poppins", sans-serif;
  position: relative;
}

.home-page * {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.toggleBanner {
  position: absolute;
  left: 50%;
  background: #2A2A2A;
  transform: translateX(-50%);
  cursor: pointer;
  border-radius: 0 0 20px 20px;
  width: 30px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0px;
  z-index: 1;
}

.toggleBanner.active {
  /*  left: 0px;
  top: 15px;
  transform: rotate(270deg);*/
  margin: 0 auto 14px;
  background: transparent;
  border: 1px solid black;
}

.toggleBanner.active:hover {
  background: black;
}

.toggleBanner svg {
  margin-top: -3px;
}

.toggleBanner.active svg {
  transform: rotate(180deg);
  margin-top: 0;
}

.toggleBanner.active svg path {
  fill: #2A2A2A;
}

.toggleBanner.active:hover svg path {
  fill: #D6D6D7;
}

.home-page .sub-header {
  position: absolute;
  right: 12px;
  top: 0;
  z-index: 9;
}

.home-page .sub-header.active {
  position: unset;
  margin-right: 12px;
}

.home-page-bg {
  position: relative;
  margin-bottom: 14px;
  border-radius: 20px;
  overflow: hidden;
}

.home-page-bg.hide {
  display: none;
}

.home-page-bg img {
  width: 100%;
  height: 400px;
}

.home-page-bg .info-section-btn {
  background-color: white;
}

.home-page-bg-title {
  font-size: 30px;
  position: absolute;
  color: white;
  left: 50%;
  transform: translateX(-50%);
  top: 85px;
  max-width: 550px;
  text-align: center;
}

.home-page-bg-subtitle {
  font-size: 30px;
  position: absolute;
  left: 50%;
  color: white;
  transform: translateX(-50%);
  bottom: 85px;
  max-width: 360px;
  text-align: center;
}

.home-page-bg .info-section-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  font-weight: 600;
  font-size: 20px;
  gap: 18px;
  margin-bottom: 14px;
}

.feature {
  border-radius: 12px;
  background-color: white;
  padding: 12px;
  box-shadow: 2px 4px 12px 0px #00000040;
  cursor: pointer;
}

.feature_btn {
  margin-left: auto;
  width: fit-content;
}

.feature_icon {
  margin-top: -26px;
  margin-bottom: 26px;
}

.feature_title {
  font-size: 20px;
  font-weight: 600;
}

.feature .green {
  color: #08C108;
}

.feature .blue {
  color: #007AFF;
}

.info-section {
  background-color: white;
  padding: 20px 24px 20px 24px;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 2px 4px 12px 0px #00000040;
}

.info-section .divider {
  border-bottom: 1px solid #828282;
  margin: 16px 0;
}

.info-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 600;
}

.info-section-row h2 {
  font-size: 20px;
  font-weight: 600;
}

.info-section-text {
  display: flex;
  align-items: center;
  gap: 24px;
}

.info-section-text .gray {
  color: #6E6E73;
}

.info-section-text h3 {
  display: inline;
  font: inherit;
}

.info-section-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  width: 192px;
  height: 40px;
  color: #010202;
  font-size: 16px;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  border: 1px solid #010202;
  cursor: pointer;
  transition: all 0.2s;
}

.info-section-btn:hover {
  color: white;
  background-color: #010202;
}

.info-section-btn.filled {
  color: white;
  background-color: #010202;
}

.info-section-btn.filled:hover {
  color: #010202;
  background-color: white;
}

.detail-popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  background: #1D1D1F7A;
  right: 0;
  bottom: 0;
  z-index: 9999999999;
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
}

.detail-popup {
  background: #FAFAFC;
  border-radius: 20px;
  width: 1162px;
  padding: 30px 30px 30px;
  font-size: 18px;
  max-height: 100vh;
  position: relative;
}

.detail-popup-close {
  width: fit-content;
  cursor: pointer;
  position: absolute;
  right: 28px;
  z-index: 100;
}

.detail-popup-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 64px;
}

.home-page .detail-popup-title {
    width: 100%;
    padding-right: 40px;
    position: sticky;
    top: 0;
    background: #FAFAFC;
}

.detail-popup-content {
  gap: 24px;
  display: flex;
  margin: 24px 0px 24px 0px;
}

.detail-popup-container {
  overflow-y: auto;
  max-height: calc(100vh - 60px);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.detail-popup-container::-webkit-scrollbar { 
    display: none;
}

.detail-popup-content #player {
  width: 100%;
  border-radius: 6px;
}

.detail-popup-content img {
  border-radius: 6px;
}

.detail-popup-content-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
}

.detail-popup-content-features {
  margin-bottom: 0px;
}

.testimonials {
  margin-top: 24px;
  overflow-y: auto;
  max-height: calc(100vh - 70px);
}

.testimonial {
  border-bottom: 1px solid #B2B2B2;
  padding-bottom: 18px;
  font-size: 18px;
  display: block;
  color: #2A2a2a;
  text-decoration: none;
  margin-bottom: 12px;
}

.testimonial>a {
  text-decoration: none;
  color: #2A2a2a;
}

.testimonial:hover {
  color: #2A2a2a;
}

.testimonial-top {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 8px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background: white;
}

.testimonial-username {
  color: #2062B3;
  font-weight: 600;
}

.testimonial-username:hover {
  color: #2062B3;
  font-weight: 600;
  text-decoration: underline;
}

.testimonial-score span {
  color: #8D8D8D;
  display: inline-block;
  margin-left: 14px;
  font-weight: 600;
}

.testimonial-text {
  text-underline: none;
}

.testimonial-text span {
  color: #2062B3;
  font-weight: 500;
  margin: 0 auto;
  cursor: pointer;
  text-decoration: none;
}

.testimonial-text span:hover {
  text-decoration: underline;
}

.read-more {
  color: #2062B3;
  font-weight: 500;
  margin: 0 auto;
  width: fit-content;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.faqs {
  overflow-y: auto;
  max-height: 554px;
  padding-right: 5px;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid #B2B2B2;
}

.faq-question {
  padding: 8px 0;
  display: flex;
  font-size: 24px;
  font-weight: 600;
  align-items: center;
  justify-content: space-between;
}

.faq-question-active svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin-bottom: 8px;
  padding-right: 25px;
}

.faq-question-link {
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 20px;
  font-size: 20px;
}

.detail-popup-image img {
  max-width: 384px;
  max-height: 384px;
  margin: 0 auto;
}

@media all and (max-width: 1600px) {
  .home-page-bg img {
    height: 370px;
  }
}

@media all and (max-width: 1023px) {

  .home-page-bg,
  .toggleBanner {
    display: none;
  }

  .info-section-text .gray {
    display: block;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-popup {
    padding: 24px;
    margin: 0 5px;
    font-size: 18px;
  }

  .detail-popup-container {
    max-height: calc(100vh - 48px);
  }

  .detail-popup-content {
    flex-direction: column;
  }

  .detail-popup-title {
    font-size: 28px;
    line-height: 1.5;
  }

  .detail-popup-content {
    margin: 24px 0px 0px 0px;
  }

  .detail-popup-content-features {
    margin-bottom: 12px;
  }

  .faq-question {
    font-size: 20px;
  }
}

@media all and (max-width: 720px) {
  .detail-popup-title {
    font-size: 24px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-section-row {
    flex-direction: column;
  }

  .info-section-text {
    margin-bottom: 10px;
  }

  .faq-question {
    font-size: 18px;
    padding: 12px 0;
  }

  .detail-popup {
    font-size: 16px;
    padding: 12px;
  }

  .detail-popup-container {
    max-height: calc(100vh - 24px);
  }

  .detail-popup-close {
    right: 12px;
  }

  .testimonial {
    font-size: 18px;
  }

  .detail-popup-image img {
    height: 100%;
    width: auto;
    margin: 0 auto;
    display: block;
  }

  .detail-popup-image {
    width: 100%;
    height: 170px;
    text-align: center;
  }
}

@media all and (max-width: 520px) {
  .detail-popup-content {
    gap: 16px;
    margin: 16px 0px 0px 0px;
  }

  .detail-popup-title {
    font-size: 22px;
  }

  .features {
    grid-template-columns: repeat(1, 1fr);
  }

  .info-section-row {
    font-size: 16px;
  }

  .info-section {
    padding: 16px 12px;
  }

  .info-section-text {
    gap: 12px;
  }

  .faq-question {
    padding: 8px 0;
  }

  .testimonials {
    margin-top: 12px;
  }

  .testimonial {
    font-size: 16px;
  }
}