.home-half-and-half {
    position: relative;
}

.home-half-and-half-text {
    padding: 40px 22px 30px 22px;
}

.home-half-and-half-image {
    height: 454px;
}

.home-half-and-half-image.video::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 25px;
    bottom: -1px;
    background-color: #fff;
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.home-half-and-half-image img {
    clip-path: polygon(76% 12%, 100% 0, 100% 100%, 0 100%, 0 0);
}

.home-image-block-right .home-half-and-half-text {
    padding: 60px 22px 56px 22px;
}

.home-image-block-right .home-half-and-half-image  {
    height: 344px;
}

.home-half-and-half--blue {
    color: #fff;
    background: #004B86;
}

.home-half-and-half--blue .btn-primary {
    background: #F3F3F5;
    color: #1B78C1;
}

.home-half-and-half--blue .subheading {
    color: #F17503
}

.home-half-and-half--blue h2,
.home-half-and-half--blue h3 {
    color: #fff
}

.img-text-flex {
    margin-bottom: 30px;
}

.img-text-item {
    margin-bottom: 20px;
}

.img-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 20px;
    padding-right: 53px;
}

.img-text__img {
    width: 40px;
    height: 40px;
}

.img-text__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.img-text h4 {
    width: calc(100% - 40px);
    padding-left: 15px;
    font-size: 18px;
    line-height: 1.222em;
    color: #585F65;
    text-transform: none;
    letter-spacing: 0;
    padding-bottom: 0;
}

.icons-text-flex {
    padding-top: 25px;
    padding-bottom: 35px;
}

.icons-text-item {
    margin-bottom: 10px;
}

.icons-text {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1B78C1;
    height: 52px;
    gap: 10px;
    color: #fff;
    padding-right: 15px;
    padding-left: 15px;
}

.icons-text__img {
    font-size: 26px;
    line-height: 1em;
}

.icons-text h4 {
    font-size: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    margin: 0;
    padding: 0 21px 0 0;
    color: #fff;
}

.icons-text h4::after {
    position: absolute;
    content: '\e903';
    font-family: 'icomoon';
    color: #F17503;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 11px;
}

.home-half-and-half--blue .home-half-and-half-text__wrapper p a:not([class^="btn"]) {
    background: linear-gradient(to bottom, #1B78C1 0%, #1B78C1 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 6px 6px;
    color: #fff;
}

.img-text h4 br {
    display: none;
}

@media (min-width:768px) {

    .img-text h4 br {
        display: block;
    }
    .home-half-and-half-text {
        padding: 60px 52px 89px 52px;
    }
    
    .home-half-and-half-image img {
        clip-path: polygon(76% 17%, 100% 0, 100% 100%, 0 100%, 0 0);
    }
    
    .home-image-block-right .home-half-and-half-text {
        padding: 80px 52px 42px 52px;
    }
    
    .home-image-block-right .home-half-and-half-image  {
        height: 400px;
    }

    .img-text-flex {
        display: flex;
        gap: 43px;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .img-text-item {
        margin-bottom: 0;
        margin-top: 10px;
    }
    
    .img-text {
        padding: 0;
    }

    .img-text h4 span {
        display: block;
    }


    .icons-text-flex {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .icons-text-item {
        margin: 0;
    }
    
    .icons-text {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #1B78C1;
        height: 52px;
        gap: 10px;
        padding: 0 20px;
    }
    

}

@media (min-width: 1200px) {

    .home-half-and-half {
        display: flex;
        flex-wrap: wrap;
    }

    .home-image-block-left {
        flex-direction: row-reverse;
    }


    .home-half-and-half-image, 
    .home-half-and-half-text {
        position: relative;
    }

    .home-half-and-half-image {
        width: calc(50% - 130px);
    }

    .home-half-and-half-image.video::after {
        display: none;
    }

    .home-half-and-half-text {
        flex: calc(50% + 130px);
    }

    .home-half-and-half-image,
    .home-image-block-right .home-half-and-half-image {
        height: auto;
    }
    
    .home-half-and-half-image img {
        position: absolute;
    }

    .home-half-and-half-text {
        padding: 107.9px 0 107.9px 145px;
    }

    .home-half-and-half-text__wrapper {
        max-width: 646px;
    }

    .home-half-and-half-text__wrapper h2 {
        padding-bottom: 15px;
    }

    .home-half-and-half-image img {
        clip-path: none;
    }

    .home-image-block-left .home-half-and-half-image{
        clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
    }

    .home-image-block-right .home-half-and-half-text {
        padding: 103px 30px 112px 16px;
    }
    .home-half-and-half-text {
        padding: 99px 17px 99px 16px;
    }

    .home-image-block-right .home-half-and-half-text__wrapper {
        margin-left: auto;
        max-width: 762px;
    }

    .home-image-block-right .home-half-and-half-image {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10% 25%);
    }
    .half-shaped-image.home-image-block-right .home-half-and-half-image {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10% 70%);
    }
    .home-half-and-half--blue .home-half-and-half-text__wrapper p a:not([class^="btn"]):hover {
        background-size: 6px 50px;
    }

    .icons-text-flex {
        gap: 30px;
        padding-bottom: 50px;
    }

    .icons-text {
        padding: 0 15px 0 15px;
        margin-right: 20px;
        position: relative;
       border: none;
    }

    .home-image-block-left .home-half-and-half-text{
        padding-right: var(--bs-gutter-x,63px);
    }

    .icons-text::before {
        /* content: '';
        position: absolute;
        width: 20px;
        height: 100%;
        right: -19.5px;
        top: 0;
        clip-path: polygon(54% 50%, 0 0, 0 100%);
        background: #1B78C1; */
        content: '';
        position: absolute;
        width: 40px;
        height: 100%;
        right: -21px;
        top: 0;
        
        /* clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%); */
        clip-path: polygon(0% 0%, 50% 0, 100% 50%, 50% 100%, 0% 100%);
        background: #1b78c1;
       
       
    }
    .icons-text:hover h4 {
        color: #004b86;
    }

    .icons-text:hover .icons-text__img {
        color: #004b86;
    }

    .icons-text:hover::before {
        background-color: #fff;
    }
    .icons-text:hover ,
    .icons-text-item a:hover {
        background: #fff !important;
    }

    .home-half-and-half--blue .btn-primary:hover{
        background: #F17503;
        color : #fff ;
    }
    .home-half-and-half--blue .home-half-and-half-text__wrapper p a:not([class^="btn"]):hover{
        background: #F17503 !important;
        color : #fff ;
    }
    .home-half-and-half--blue .btn-primary:hover::after{
        color: #1B78C1;
    }
    .img-text-flex:not(:has(> *:nth-child(n+3))){
        justify-content: center;
    }
}

.img-text .icons-text__img {
    font-size: 40px;
}


@media(min-width:1800px) {
    .home-image-block-left .home-half-and-half-image {
        clip-path: polygon(0 0, 100% 0%, 87% 100%, 0% 100%);
    }
}

/* Hero Banner Form */
/* TODO: Move to another file */
.hero-banner-form {}
.hero-banner-form .home-half-and-half-image {
    height: auto;
}
.hero-banner-form .home-half-and-half-image img {
    position: absolute;
}
.hero-banner-form .form-text__top {
    margin-bottom: 0;
}
.hero-banner-form .form-text__top h3 {
    padding-bottom: 10px;
}
.hero-banner-form .bg-box {
    clip-path: polygon(0 0, 87% 0, 100% 7%, 100% 100%, 13% 100%, 0 93%);
    pointer-events: none;
}
.hero-banner-form .form-text__form {
    margin: 20px;
    max-width: 715px;
}
.hero-banner-form .form-text__form-wrap {
    padding: 40px;
}
.hero-banner-form .wpcf7-form {
    color: #585F65;
}
.hero-banner-form .wpcf7-form .form-col {
    margin-top: 16px;
}
.hero-banner-form .wpcf7-form br {
    display: none;
}
.hero-banner-form .wpcf7-form .btn {
    background-color: #004B86;
    color: #fff;
}
.hero-banner-form .wpcf7-form .btn:hover {
    opacity: 0.8;
}
.hero-banner-form .wpcf7-form .btn:hover:after {
    color: #F17503;
}
@media (min-width: 768px) {
    .hero-banner-form .form-text__form {
        margin: 20px auto;
    }
}
@media (min-width: 1200px) {
    .hero-banner-form {
        align-items: center;
    }
    .hero-banner-form .home-half-and-half-image {
        padding-right: 40px;
    }
    .hero-banner-form .form-text__form-wrap {
        width: auto;
        max-width: 715px;
    }
    .hero-banner-form .form-text__form {
        margin: 70px 0 40px calc(10% + 40px);
    }
}
@media (min-width: 1200px) and (max-width: 1600px) {
    .hero-banner-form .wpcf7-form .form-text__middle .row > [class*="col-"] {
        width: 100%;
    }
}