.heroSectionWrap {
  min-height: 100vh;
  background-image: url("../images/cold-calling-vault/heroSectionBg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;
}

.heroSection {
  padding: 8.75rem 20px 6.25rem;
  max-width: 1232px;
  width: 100%;
  gap: 1.875rem;
}

.heroSectionLeft {
  width: 50%;
}

.heroSectionHeading {
  color: #0e0d59;
  font-family: "Red Hat Text";
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 3.5rem;
  letter-spacing: -2.4px;
  margin-bottom: 1.25rem;
}

.heroSectionDesc {
  color: #292959;
  font-size: 1.125rem;
  line-height: 1.5rem;
  letter-spacing: -0.36px;
  margin-bottom: 2rem;
  max-width: 436px;
}

.heroSectionPointList {
  gap: 1.5rem;
  margin-bottom: 3.25rem;
}

.heroSectionPoint {
  gap: 0.5rem;
}

.heroSectionPointIcon {
  width: 1.625rem;
  height: auto;
}

.heroSectionPointDesc {
  color: #3b3a76;
  font-size: 0.875rem;
  margin-bottom: 0px;
  max-width: 330px;
}

.heroSectionForm {
  gap: 0.75rem;
}

.heroSectionFormInputWrap {
  max-width: 372px;
  width: 100%;
}

.heroSectionFormInput {
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  border: 1px solid #cacaea;
  background: #fff;
  color: #292959;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.56px;
  width: 100%;
}

.heroSectionFormInput::placeholder {
  color: #7474a5;
  font-weight: 400;
}

.heroSectionFormInputError {
  color: red;
  font-size: 0.625rem;
  margin-bottom: 0px;
  padding-left: 10px;
  height: 0;
}

.heroSectionFormInputValidating {
  color: green;
  font-size: 0.625rem;
  margin-bottom: 0px;
  padding-left: 10px;
  height: 0;
}

.heroSectionFormBtn {
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  border-radius: 6px;
  background: #504ee4;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  gap: 0.5rem;
}

.heroSectionFormBtnIconWrap {
  position: relative;
}

.heroSectionFormBtnIcon1 {
  width: 1.5rem;
}

.heroSectionFormBtnIcon2 {
  position: absolute;
  width: 0.5rem;
  top: 0.2rem;
  margin: auto;
  left: 0;
  right: 0.032rem;
  transition: all 0.3s ease-out;
  transform-origin: 0% 50%;
}

.heroSectionFormBtn:hover .heroSectionFormBtnIcon2 {
  top: 0;
  transform: rotateY(180deg);
}

.heroSectionRight {
  width: 50%;
}

.heroSectionImgWrap {
  position: relative;
}

.heroSectionImgFloat {
  animation: float 1.6s ease-in infinite;
}

@keyframes float {
  0% {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(3.5%);
  }
  100% {
    transform: translateY(0%);
  }
}

.heroSectionImg1 {
  max-width: 470px;
  width: 100%;
}

.heroSectionImg2 {
  position: absolute;
  width: 83.5%;
  top: 2%;
  right: 16%;
}

.heroSectionImgWrap.active .heroSectionImg2 {
  animation: open 0.4s ease-in-out forwards;
}

@keyframes open {
  0% {
    transform: translateX(0%) translateY(0%);
  }
  100% {
    transform: translateX(-30%) translateY(-7%);
  }
}

.heroSectionImgWrap.deactive .heroSectionImg2 {
  animation: close 0.4s ease-in-out forwards;
}

@keyframes close {
  0% {
    transform: translateX(-30%) translateY(-7%);
  }
  100% {
    transform: translateX(0%) translateY(0%);
  }
}

.heroSectionImgText {
  position: absolute;
  scale: 0;
  opacity: 0;
}

.heroSectionImgWrap.active .heroSectionImgText {
  animation: popup 0.3s ease-in-out forwards;
}

@keyframes popup {
  0% {
    scale: 0;
    opacity: 0;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}

.heroSectionImgWrap.deactive .heroSectionImgText {
  animation: popdown 0.3s ease-in-out forwards;
}

@keyframes popdown {
  0% {
    scale: 1;
    opacity: 1;
  }
  100% {
    scale: 0;
    opacity: 0;
  }
}

.heroSectionImgText1 {
  width: 41.3%;
  rotate: -5deg;
  top: -4%;
  right: 0%;
}

.heroSectionImgWrap.active .heroSectionImgText1 {
  animation-delay: 0.4s;
}

.heroSectionImgText2 {
  width: 32.3%;
  rotate: 7.5deg;
  top: 14%;
  right: -3%;
}

.heroSectionImgWrap.active .heroSectionImgText2 {
  animation-delay: 0.5s;
}

.heroSectionImgText3 {
  width: 30%;
  rotate: -5.5deg;
  bottom: 20%;
  left: -12%;
}

.heroSectionImgWrap.active .heroSectionImgText3 {
  animation-delay: 0.9s;
}

.heroSectionImgText4 {
  width: 30%;
  rotate: 8deg;
  bottom: 5%;
  left: 0%;
}

.heroSectionImgWrap.active .heroSectionImgText4 {
  animation-delay: 1s;
}

.heroSectionBg2 {
  position: absolute;
  width: 50%;
  right: 0;
  top: 0;
  z-index: -1;
}

@media only screen and (max-width: 768px) {
  .heroSectionWrap {
    min-height: auto;
  }

  .heroSection {
    flex-direction: column;
    gap: 5rem;
  }

  .heroSection > div {
    width: 100%;
  }

  .heroSectionRight {
    position: relative;
  }

  .heroSectionBg2 {
    width: 100%;
    height: 100%;
  }
}

@media only screen and (max-width: 700px) {
  .heroSectionImg1 {
    max-width: 275px;
  }
}
