.boxes-icon{
  padding: 64px 0 80px 0;
}

.boxes-icon h2{
  margin: 0 0 14px 0;
  font-size: 40px;
  color: #0d1f4c;
}

#primary .boxes-icon__textbox{
  font-size: 18px;
  color: #0d1f4c;
  text-align: center;
  margin: 0 auto 72px auto;
}

.boxes-icon__wrapper{
  margin: 72px 0 0 0;
}

.boxes-icon__list{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 30px;
  column-gap: 72px;
}


.boxes-icon-card{
  max-width: 450px;
  width: 100%;
  position: relative;
  flex-shrink: 0;
}

.boxes-icon-card .button{
  min-width: 230px;
  margin: 16px 0 48px 0;
}

.boxes-icon-card__small{
  color: #545F82 !important;
}

.boxes-icon-card__small p{
  margin-top: 0;
}

.boxes-icon-card__small ul{
  margin: 0;
  padding: 0 0 0 20px;
  text-align: left;
}

.boxes-icon-card__small ul li strong,
.boxes-icon-card__small ul li{
  color: #545F82 !important;
}

.boxes-icon-card__inner{
  background: #ffffff;
  border: 1px solid #c6cfff;
  border-radius: 24px;
  box-shadow: 0px 10px 24px rgba(65, 88, 206, 0.12);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.boxes-icon-card__top,
.boxes-icon-card__bottom{
  padding: 40px 24px;
  text-align: center;
}

.boxes-icon-card__top{
  background: #F2F4FF;
  border-radius: 24px 24px 0 0;
}

.boxes-icon-card__bottom{
  border-radius: 0 0 24px 24px;
  height: 100%;
  background: #fff;
}

.boxes-icon-card__icon{
  margin: 0 0 16px 0;
  font-size: 0;
}

.boxes-icon-card__title{
  color: #0d1f4c;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
}

.boxes-icon-card__title strong{
  color: #F76C69;
}

.boxes-icon-card__price{
  color: #0d1f4c;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
}

.boxes-icon-card__price span{
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 12px 0;
}

.boxes-icon-card__tag{
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  padding: 12px 24px 40px 24px;
  background: #27357c;
  border-radius: 16px 16px 0px 0px;
  color: #fff;
  position: absolute;
  right: 0;
  top: -52px;
  z-index: 1;
}

.boxes-icon__list.boxes-icon__list--3{
  column-gap: 20px;
}

.boxes-icon__list.boxes-icon__list--3 .boxes-icon-card{
  max-width: 424px;
}

@media(max-width: 1200px){
  .boxes-icon h2{
    font-size: 26px;
  }

  #primary .boxes-icon__textbox p{
    font-size: 16px;
  }
}

@media(max-width: 991px){
  .boxes-icon{
    padding: 30px 0 40px 0;
  }

  .boxes-icon__list{
    gap: 20px;
  }

  .boxes-icon-card__title{
    font-size: 20px;
  }

  .boxes-icon-card__price{
    font-size: 32px;
  }

  .boxes-icon-card .button{
    margin: 16px 0 0 0;
  }

  #primary .boxes-icon-card__small ul li{
    font-size: 15px;
  }

  .boxes-icon-card__top,
  .boxes-icon-card__bottom{
    padding: 32px 21px;
    text-align: center;
  }
}

@media(max-width: 767px){
  .boxes-icon{
    padding: 56px 0 64px 0;
  }

  .boxes-icon h2{
    font-size: 32px;
  }

  #primary .boxes-icon__textbox{
    font-size: 16px;
    margin: 0 auto 52px auto;
  }

  .boxes-icon__wrapper{
    margin: 52px 0 0 0;
  }

  .boxes-icon__list{
    flex-direction: column;
    gap: 34px;
    align-items: center;
  }

  .boxes-icon-card .button{
    margin: 16px 0 32px 0;
  }

  .boxes-icon-card__price{
    font-size: 28px;
  }

  .boxes-icon-card__tag{
    padding: 12px 24px 32px 24px;
    top: -42px;
  }
}

.wp-block-group:has(.boxes-icon){
  width: 100%;
}

.bgwhite{box-shadow: 0px 12px 68px rgba(65, 88, 206, 0.33);
    width: calc(100% - 30px);
    max-width: 450px;
    min-height: 450px;
    margin: 0 auto;
    text-align: left;
    background: #fff;
    padding: 20px 30px;
    border-radius: 25px;
    position:relative;
}
.bgwhite .close{
    position: absolute; top:15px; right: 15px;
}

.gform_wrapper.gravity-theme .gfield{
  margin: 0 0 20px 0;
}

@media(max-width: 767px){
  .boxes-icon + .modal.in{
    width: 100% !important;
  }

  .gform_wrapper.gravity-theme .gfield{
    margin: 0 0 5px 0;
  }

  .bgwhite{
    width: 100%;
  }
}

@media(max-width: 1024px){
  .boxes-icon__list{
    row-gap: 70px;
  }
}
