#primary .hero-homepage{
    width: 100%;
    max-width: 100%;
    padding: 64px 0;
}

.hero-homepage__inner{
    position: relative;
    max-width: 1312px;
    margin: 0 auto;
}

.hero-homepage__cols{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hero-homepage__inner h1{
  color: #0d1f4c;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.25;
  margin: 0 0 40px 0;
}

.hero-homepage__buttons{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.hero-homepage__buttons .btn{
  min-width: 240px;
}

.hero-homepage__img{
    position: absolute;
    right: 0;
    bottom: -64px;
    pointer-events: none;
}

.hero-homepage__box{
    padding: 32px;
    border: 1px solid #e5eafc;
    border-radius: 24px;
    box-shadow: 0px 6px 16px rgba(65, 88, 206, 0.1);
    background: #fff;
}

.hero-homepage__box.hero-homepage__box--right{
  border-radius: 16px;
  background: radial-gradient(83% 123% at 70% 61%, #7286df 0%, #3446a5 100%);
  color: #fff;
  position: relative;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-homepage__box.hero-homepage__box--right h2{
  color: #fff;
  font-size: 32px;
  margin: 0 0 12px 0;
}

#primary .hero-homepage__box.hero-homepage__box--right .hero-homepage__textbox{
  margin: 24px 0;
  max-width: 300px;
}

#primary .hero-homepage__box.hero-homepage__box--right .hero-homepage__textbox p{
  color: #fff;
}

#primary .hero-homepage__box.hero-homepage__box--right .btn.btn--white{
  background: transparent;
  min-width: 240px;
  color: #fff;
}

#primary .hero-homepage__box.hero-homepage__box--right .btn.btn--white:hover{
  background: #fff;
  color: #4158CE;
}

.hero-homepage__right-img{
  position: absolute;
  bottom: 0;
  right: 32px;
  font-size: 0;
}

.hero-homepage__box h2{
    font-size: 28px;
    color: #0d1f4c;
    margin: 0 0 8px 0;
    font-family: "codec-proregular", Arial, sans-serif;
    font-weight: bold;
    text-align: left;
}

.hero-homepage__box.hero-homepage__box--list h2{
    margin-bottom: 16px;
}

.hero-homepage__boxes{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#primary .hero-homepage__textbox{
    margin: 0 0 32px 0;
}

#primary .hero-homepage__textbox p{
    margin: 0;
    font-size: 18px;
    color: #0d1f4c;
}

.hero-homepage__list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hero-homepage__list a{
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: bold;
    font-family: "codec-proregular", Arial, sans-serif;
    color: #4158ce;
    line-height: 24px;
}

.hero-homepage__list a:hover span,
.hero-homepage__list a:active span,
.hero-homepage__list a:focus span{
    text-decoration: underline;
}

.hero-homepage__list a img{
    flex-shrink: 0;
}

.hero-homepage__list a:hover span{
  text-decoration: none;
}

.hero-homepage__list a span{
  text-decoration: underline;
    transform: translateY(1px);
}

@media(max-width: 1200px){
    #primary .hero-homepage{
        padding: 64px 16px;
    }

    .hero-homepage__inner h1{
        font-size: 44px;
    }

    .hero-homepage__right-img{
      right: 16px;
    max-width: 250px;
    pointer-events: none;
    }
}

@media(max-width: 991px){
    .hero-homepage__inner h1{
        font-size: 40px;
        margin: 0 0 24px 0;
    }

    .hero-homepage__right-img{
      max-width: 180px;
    }

    .hero-homepage__cols{
      grid-template-columns: 1fr;
    }

    .hero-homepage__boxes{
      gap: 24px;
    }

    .hero-homepage__box h2{
        font-size: 24px;
    }

    .hero-homepage__img{
        right: -210px;
    }

    #primary .hero-homepage{
        overflow: hidden;
    }
}

@media(max-width: 767px){
    .hero-homepage__img{
        display: none;
    }

    #primary .hero-homepage__box.hero-homepage__box--right .btn.btn--white,
    .hero-homepage__helper{
      position: relative;
      z-index: 2;
    }

    .hero-homepage__right-img{
      max-width: 100%;
          bottom: 60px;
          z-index: 1;
          width: 100%;
          right: 0;
          text-align: center;
    }

    .hero-homepage__right-img:before{
      content: "";
        height: 272px;
        width: 100%;
        position: absolute;
        bottom: -60px;
        left: 0;
        z-index: 1;
        background: linear-gradient(180.17deg, rgba(73, 83, 156, 0) 0%, #4e59a2 50%);
        border-radius: 0 0 16px 16px;

    }

    .hero-homepage__right-img:after{
      content: "";
        height: 262px;
        width: calc(100% - 1px);
        position: absolute;
        bottom: -60px;
        left: 1px;
        z-index: 1;
        backdrop-filter: blur(10px);
        border-radius: 0 0 16px 16px;
        overflow: hidden;

    }

    .hero-homepage__inner h1{
        font-size: 36px;
        margin: 0 0 40px 0;
    }

    #primary .hero-homepage{
      padding: 40px 16px;
    }

    .hero-homepage__box h2{
      font-size: 28px;
    }

    .hero-homepage__buttons .btn{
      min-width: 100%;
    }

    .hero-homepage__box.hero-homepage__box--right h2{
      font-size: 24px;
      line-height: 32px;
      margin: 0 0 8px 0;
    }

    .hero-homepage__box.hero-homepage__box--right{
      padding: 308px 24px 24px 24px;
      background: radial-gradient(127% 63% at 67% 37%, #7286df 0%, #3446a5 100%);
    }

    #primary .hero-homepage__box.hero-homepage__box--right .btn.btn--white{
      min-width: 100%;
    }

    .hero-homepage__list{
        grid-template-columns: 1fr;
    }
}

.contactFormBg{
  background: #fff;
    border-radius: 30px;
    padding: 30px;
    text-align: left;
}

.contactFormBg .close{
  position: absolute;
    top: 30px;
    right: 30px;
}



#primary .modal-dialog.modal-dialog--smaller .gform_wrapper.gravity-theme .gfield{
  margin: 0;
}

@media(max-width: 767px){
  #primary .modal-dialog.modal-dialog--smaller .gform_wrapper.gravity-theme .gfield{
    padding: 0 !important;
  }

  .gform_wrapper.gravity-theme .ginput_container_date input{
    width: 100%;
  }

  .contactFormBg{
    padding: 40px 16px 16px 16px;
  }

  .modal.in .modal-dialog{
    width: 100%;
    margin: 0;
  }

  .home .gfield_radio input[type=radio]{
    -webkit-transform: scale(1, 1);
  }

  .contact-form-special .div-w100 > div .gfield_radio > div, .contact-form-special .div-w100 > legend .gfield_radio > div{
    margin: 0px 20px;
  }


  .modal{
    width: 100%;
  }
}
