/* hero section  */

.heroSectionWrapper {
  padding: 13rem 20px 9.875rem 20px;
  background-image: url("../images/dialiq_resources_videos/heroSectionImgBg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.heroSection {
  max-width: 1192px;
  width: 100%;
  gap: 1.875rem;
}

.heroSectioLeft {
  width: 40%;
}

.heroSectionTitle {
  color: #504ee4;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 0px;
}

.heroSectionHeading {
  color: #0e0d59;
  font-family: "Red Hat Text";
  font-size: 2.94rem;
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: capitalize;
  margin-bottom: 12px;
}

.heroSectionDesc {
  color: #3b3a76;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.heroSectionBtn {
  padding: 14px 24px;
  border-radius: 4.667px;
  background: #504ee4;
  color: #fff;
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.75rem;
  letter-spacing: 0.327px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
}

.heroSectioRight {
  width: 60%;
  position: relative;
  cursor: pointer;
}

.heroSectioImg {
  width: 100%;
  height: auto;
}

.heroSectioImgPlayBtn {
  width: 120px;
}

/* video section  */

.videoSection {
  padding: 2.69rem 20px 6.25rem 20px;
}

.videoSectionTabList {
  margin-bottom: 1.875rem;
  gap: 1.5rem;
  max-width: 1192px;
  width: 100%;
}

.videoSectionTab {
  padding: 6px 12px;
  border-radius: 6.539px;
  background: #f7f4fc;
  cursor: pointer;
}

.videoSectionTab.active {
  background: #f1e9ff;
}

.videoSectionTabText {
  color: #676682;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0px;
}

.videoSectionTab.active .videoSectionTabText {
  color: #5348e8;
  font-weight: 600;
}

.videoSectionLine {
  max-width: 1192px;
  width: 100%;
  height: 1px;
  background-color: #decbff;
  margin-bottom: 2.5rem;
}

.videoSectionVideoList {
  gap: 2.5rem 2rem;
  flex-wrap: wrap;
  max-width: 1192px;
  width: 100%;
}

.videoSectionVideoCard {
  width: calc(33.33% - (4rem / 3));
  cursor: pointer;
}

.videoSectionVideoCardImg {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.videoSectionVideoCardHeading {
  color: #0e0d59;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.36px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

.videoSectionVideoCardDesc {
  overflow: hidden;
  color: #5f5f7e;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0px;
}

.videoPopupWrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #dbdbfbe1;
  backdrop-filter: blur(4px);
  z-index: 1000;
}

.videoPopup {
  position: relative;
  width: 100%;
  height: 100%;
}

.videoPopupClose {
  position: absolute;
  top: 3rem;
  right: 3rem;
  cursor: pointer;
}

.videoPopupClose svg {
  width: 40px;
  height: auto;
  color: #8181b3e1;
}

.videoPopupVideoWrapper {
  width: 90%;
}

.videoPopupVideo {
  width: 70vw;
  height: 80vh;
}

.player {
  border-radius: 10px;
}

.ctaSection {
  background-color: #efeaff;
  padding: 0px 20px;
  height: 200px;
  margin-top: 100px;
}

.ctaSectionInnerDiv {
  background: url("../images/videos/last-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  max-width: 1192px;
  width: 100%;
  padding: 4rem;
  border-radius: 7px;
  height: fit-content;
  gap: 2rem;
  margin-top: -100px;
}

.ctaSectionHeadWrapper {
  width: 65%;
}

.ctaSectionHeading {
  font-family: "Paytone One";
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.ctaSectionDesc {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0px;
}

.ctaSectionBtnWrapper {
  width: 35%;
}

.ctaSectionBtn {
  padding: 12px 1.5rem;
  color: var(--color-blue);
  background: white;
  border: 1px solid var(--color-blue);
  border-radius: 4px;
  outline: none;
  transition: 0.3s;
  text-transform: uppercase;
  cursor: pointer;
}

.ctaSectionBtn:hover {
  color: white;
  box-shadow: 0px 9px 20px #d6d6ff00;
  background-color: var(--color-blue);
}

@media only screen and (max-width: 768px) {
  .heroSection {
    flex-direction: column;
  }

  .heroSection > div {
    width: 100%;
  }

  .videoSectionVideoCard {
    width: 100%;
  }

  .ctaSectionInnerDiv {
    flex-direction: column;
  }

  .ctaSectionInnerDiv > div {
    width: 100%;
  }

  .ctaSectionHeading,
  .ctaSectionDesc {
    text-align: center;
  }
}
