.header-4 {
  background: linear-gradient(to right, rgb(88, 35, 98), rgb(44, 153, 163));
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 10px 0px #00000033;
  max-height: 720px;
  min-height: 720px;
  position: relative;
}

.header-4-container{
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  height: 720px;
}

.header-4__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40%;
  z-index: 1;
}

.header-4__title{
  font-weight: 700;
  font-size: 38px;
  line-height: 47.5px;
  margin: 0;
  color: white;
}

.header-4__description{
  font-weight: 400;
  font-size: 18px;
  line-height: 25.2px;
  color: white;
  margin: 32px 0 0 0;
}

.header-4__formContainer{
  width: 55%;
  max-width: 637px;
  margin: auto 0 0;
  transform: translateY(35px);
}

.header-4__innerGrid{
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  align-items: center;
  justify-content: center;
  padding: 0 45px;
  position: relative;
  column-gap: 1rem;
}

.header-4__innerGrid > figure {
  margin: 0;
}

.header-4__innerGrid img {
  width: 100%;
}

.header-4__formContainer.center{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  transform: none;
}

.header-4__formHeader{
  text-align: center;
  padding: 35px;
  background-color: white;
}

.header-4__formHeader.thanks{
  background-color: #582362;
}

.header-4__formTitle{ 
  color: #582362;
  font-size: 35px;
  font-weight: 300;
  margin: 0;
}
.header-4__formTitle.thanks{
  color: white;
}

.header-4__formDesc.thanks > span{
  color: white;
}

.header-4__formContainer .form-title{
  display: none;
}

.header-4__formDesc span{
  color: #4A4A4A;
  font-size: 16px;
  line-height: 21px;
  font-weight: 300;
}

.header-4__form {
  background-color: white;
  box-shadow: 0px 3px 20px 0px #00000033;
}

.header-4__form form {
  padding: 0px 0px 60px;
}

.header-4__form form .input input, .header-4__form form .input input::placeholder {
  color: #4A4A4A!important;
}
.header-4__form form label {
  font-weight: 700;
  margin-top: .5rem;
}

.header-4__form form .hs_submit {
  display: flex;
  justify-content: center;
}

.submitted-message{
  padding: 20px 40px;
}

.header-4__form form .actions{
  position: absolute;
  bottom: -9%;
  left: 30%;
}

.header-4__form form .actions input {
  background-color: #582362;;
  font-family: Montserrat;
  border: none;
  border-radius: 0;
  padding: 18px 75px 18px 20px;
  transition: .3s ease;
  font-size: 38px;
  font-weight: 300;
  width: 100%;
}

.header-4__form form .actions input:hover{
  background-color: rgba(41,44,73,1.0);
  transition: .3s ease;
}

.header-4__form form .actions input:focus{
  background-color: rgba(41,44,73,1.0);
  transition: .3s ease;
}

.header-4__formSubmit input:hover{
  background-color: #292C49;
}

.header-4__form form .actions::after{
  content: "";
  background-image: url(//fs.hubspotusercontent00.net/hubfs/20464009/raw_assets/public/Prodege_Jan2022/images/arrow-white.svg);
  position: absolute;
  right: 10px;
  height: 35px;
  top: 50%;
  background-repeat: no-repeat;
  pointer-events: none;
  width: 35px;
  transform: translate(-50%,-50%);
  background-size: cover;
  transition: .3s ease;
}

.header-4__content > div {
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  color: white;
}

.header-4__form form .hs-error-msgs{
  display: none!important;
}
@media screen and (max-width: 1400px){
  .header-4__form form .actions {
    left: 30%;
    bottom: -9%;
  }
}
@media screen and (max-width: 1024px){
  .header-4__title{
    font-size: 21px;
    line-height: 27px;
    max-width: 320px;
    margin: 0 auto;
  }
  .header-4__description{
    font-size: 16px;
    line-height: 22px;
    margin: 10px auto 0;
    max-width: 320px;
  }
  
  .header-4__formContainer{
    transform: translateY(0px);
  }
  
  .header-4__form .hs-form-field{
    margin-bottom: 10px;
  }
  
  .header-4__form form {
    padding: 0px 0px 60px;
  }
  
  .header-4__form input, .header-4__form label{
    font-size: 16px!important;
  }
  
  .header-4__form form .actions {
    width: 200px;
    bottom: -15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%:
  }
  .header-4__form form .actions input {
    font-size: 24px;
  }
  
  .header-4__formTitle{ 
    font-size: 28px;
  }
  
  .header-4__content{
    width: 40%;
  }
}

@media screen and (max-width: 768px){
  .header-4{
    max-height: 1540px;
    min-height: 1540px;
    background-image: none!important;
  }
  
  .header-4:has(.submitted-message) {
    min-height: 980px;
    max-height: 980px;
  }
  
  .header-4-container{
    flex-direction: column;
    align-items: center;
    height: auto;
    width: 100%;
  }
  .header-4__content{
    height: 550px;
    width: 100%;
    padding: 20px 40px;
    text-align: center;
    justify-content: flex-start;
    background-image: linear-gradient(to right, rgb(88, 35, 98), rgb(44, 153, 163));
  }
  .header-4__formContainer{
    width: 300px;
    transform: translateY(-125px);
    z-index: 2;
  }
  
  .header-4__formContainer.center{
    transform: translateY(-150px);
  }
  
  .header-4__formContainer.center .header-4__innerGrid figure {
    display: none;
  }
  
  .header-4__innerGrid{
    grid-template-columns: 1fr;
  }
  
  .header-4__innerGrid img {
    width: 211px;
    margin: 0 auto 1rem auto;
    display: block;
  }
  
  .header-4__form form .actions{
    bottom: -8%;
  }
  
  .header-4__form form .actions input {
    font-size: 16px;
  }
}