.hero-section {
    position: relative;
    z-index: 50;
}

.hero-section,
.hero-section-inner,
.hero-section-inner-holder,
.hero-section-inner-holder > .container,
.hero-section-inner-content {
    position: relative;
}

.hero-section-inner {
    padding-bottom: 80px;
    padding-top: 50px;
}

.breadcrumbs-holder + .hero-section-inner {
    padding-top: 30px;
}

.hero-section-inner-content {
    z-index: 40;
}

.hero-section h1 {
    color: var(--hero-title-color);
    position: relative;
}

.background-heading h1 {
    color: var(--hero-background-title);
    z-index: 20;
    padding: 60px 0;
}

.background-heading h1 span {
    position: relative;
    z-index: 20;
}

.background-heading h1:before {
    content: '';
    background: var(--hero-background-title-color);
    position: absolute;
    top: 0px;
    bottom: 00px;
    left: -60px;
    right: -60px;
    z-index: 10;
}

.breadcrumbs-holder + h1 {
    margin-top: 50px
}

/** Blur image ***/
.type-background-image .hero-section-inner-holder,
.type-image .hero-section-inner-holder {
    background-color: var(--hero-background-color);
    z-index: 10;
}

.type-background-image .hero-section-inner {
    display: flex;
    justify-content: flex-start;
}

.align-right.type-background-image .hero-section-inner {
    justify-content: flex-end;
}

.align-center.type-background-image .hero-section-inner {
    justify-content: center;
}

.hero-image-background {
    content: '';
    width: 52%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    z-index: 20;
}

.hero-image-background:before {
    content: '';
    width: 250px;
    height: 100%;
    position: absolute;
    left: -1px;
    top: 0;
    z-index: 10;
    background: linear-gradient(90deg, var(--hero-background-color) 5%, rgba(245, 245, 245, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='var(--hero-background-color)', endColorstr='var(--hero-background-color)', GradientType=1);
}

.type-background-image .hero-section-inner .hero-section-inner-content {
    max-width: 50%;
    position: relative;
}

/* Image in column */
.type-image .hero-section-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    max-width: 100%;
}

.type-image .hero-image {
    align-self: center;
    position: relative;
}

.type-image .hero-image:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    background-size: contain;
}

.theme-default .type-image .hero-image:before {
    background: url(../../images/blocks/hero/hero-icon.png) no-repeat center bottom;
}

.theme-brown_1 .type-image .hero-image:before {
    background: url(../../images/blocks/hero/hero-icon-brown.png) no-repeat center bottom;
}

.theme-blue_1 .type-image .hero-image:before {
    background: url(../../images/blocks/hero/hero-icon-blue.png) no-repeat center bottom;
}

.type-image .hero-image img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 20;
    margin: 0 auto
}

.align-right.type-image .hero-section-inner .hero-section-inner-content {
    width: 100%;
}


.align-right.type-image .breadcrumbs {
    justify-content: flex-start;
}

/* text position */

.align-left .hero-section-inner {
    text-align: left;
}

.align-center .hero-section-inner {
    text-align: center;
    margin: 0 auto
}

/* Right */

.align-right .hero-section-inner .hero-section-inner-content {
    width: 55%;
}

.align-right .hero-section-inner-content {
    order: 2;
}

.align-right .hero-image {
    order: 1;
}

.align-right .hero-image-background {
    right: auto;
    left: -50px;
}

.align-right .breadcrumbs {
    justify-content: flex-end;
}

.hero-text {
    color: var(--hero-text-color);
    font-size: 18px;
}

.hero-text ul li {
    position: relative;
    margin-bottom: 15px;
    display: block;
}

.align-left.check .hero-text ul li,
.align-right.check .hero-text ul li,
.align-left.check-empty .hero-text ul li,
.align-right.check-empty .hero-text ul li,
.align-left.check-circle .hero-text ul li,
.align-right.check-circle .hero-text ul li,
.align-left.check-square .hero-text ul li,
.align-right.check-square .hero-text ul li {
    padding-left: 35px;
}

.align-right.dot .hero-text ul li,
.align-left.dot .hero-text ul li {
    padding-left: 20px;
}

.check .hero-text ul li:before,
.check-empty .hero-text ul li:before,
.check-circle .hero-text ul li:before,
.check-square .hero-text ul li:before,
.dot .hero-text ul li:before {
    font-family: 'local-business' !important;
    font-size: 16px;
    line-height: 1;
    color: var(--hero-check-color);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: inline-block;
    margin-right: 10px;
}

.check-square .hero-text ul li:before {
    border-radius: 0;
    width: 16px;
    height: 16px;
}

.dot .hero-text ul li:before {
    vertical-align: middle;
    content: "";
    background: var(--hero-check-color);
    width: 7px;
    height: 7px;
}

.align-left.check .hero-text ul li:before,
.align-right.check .hero-text ul li:before,
.align-left.check-empty .hero-text ul li:before,
.align-right.check-empty .hero-text ul li:before,
.align-left.check-circle .hero-text ul li:before,
.align-right.check-circle .hero-text ul li:before,
.align-left.check-square .hero-text ul li:before,
.align-right.check-square .hero-text ul li:before,
.align-left.dot .hero-text ul li:before,
.align-right.dot .hero-text ul li:before {
    position: absolute;
    top: 4px;
    left: 0;
    margin: 0;
}

.align-right.dot .hero-text ul li:before,
.align-left.dot .hero-text ul li:before {
    top: 10px;
}

.check .hero-text ul li:before {
    content: "\e903";
}

.check-empty .hero-text ul li:before {
    content: "\e90d";
}

.check-circle .hero-text ul li:before,
.check-square .hero-text ul li:before {
    content: "\e903";
    background: var(--hero-check-circle-background-color);
    color: var(--hero-check-circle-color);
    line-height: 1.8;
    text-align: center;
    font-size: 14px;
}

.check-square .hero-text ul li:before {
    line-height: 1.4;
    font-size: 12px;
}

.hero-text ul li:last-child {
    margin: 0
}

.list-two-column .hero-text ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.list-two-column .hero-text ul li {
    padding: 35px 0 0;
    width: calc(1/2*100% - (1 - 1/2)*30px);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.list-two-column.dot .hero-text ul li {
    padding-top: 20px;
}

.list-two-column.check .hero-text ul li:before,
.list-two-column.check-empty .hero-text ul li:before,
.list-two-column.check-circle .hero-text ul li:before,
.list-two-column.check-square .hero-text ul li:before,
.list-two-column.dot .hero-text ul li:before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 25px;
    position: absolute;
}

.check-circle.list-two-column .hero-text ul li:before {
    width: 25px;
    height: 25px;
    font-size: 18px;
    line-height: 1.45;
}

.list-two-column.dot .hero-text ul li:before {
    width: 12px;
    height: 12px;
}

.hero-text > *:last-child {
    margin-bottom: 0;
}

.align-center .hero-section-inner .cta-buttons {
    justify-content: center;
}

.hero-section-inner .btn.primary {
    color: var(--button-primary-color-on-hero);
    background: var(--button-primary-bkg-color-on-hero);
    border-color: var(--button-primary-border-color-on-hero);
}

.hero-section-inner .btn.primary:hover,
.hero-section-inner .btn.primary:focus,
.hero-section-inner .btn.primary:active {
    color: var(--button-primary-color-hover-on-hero);
    background: var(--button-primary-bkg-color-hover-on-hero);
    border-color: var(--button-primary-border-color-hover-on-hero);
}

.hero-section-inner .btn.icon-phone-ringing {
    color: var(--button-phone-color-on-hero);
    background: var(--button-phone-bkg-color-on-hero);
    border-color: var(--button-phone-border-color-on-hero);
    padding: 0;
    font-size: 22px;
}

.hero-section-inner .btn.icon-phone-ringing:before {
    color: var(--button-phone-icon-color-on-hero);
    font-size: 25px;
}

.hero-section-inner .btn.icon-phone-ringing:hover,
.hero-section-inner .btn.icon-phone-ringing:focus,
.hero-section-inner .btn.icon-phone-ringing:active {
    color: var(--button-phone-color-hover-on-hero);
    background: var(--button-phone-bkg-color-hover-on-hero);
    border-color: var(--button-phone-border-color-hover-on-hero);
}

/* Hero statistics */
.hero-section .hero-statistics {
    top: -60px;
    position: relative;
    z-index: 30;
}

.hero-section .statistics {
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    display: flex;
    gap: 30px;
    justify-content: space-evenly;
    padding: 20px 10px;
}

.hero-section .statistics .item {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.hero-section .statistics .title {
    color: var(--hero-stat-title-color);
    font-weight: 700;
    font-size: 30px;
    margin: 0;
}

.hero-section .statistics .text {
    color: var(--hero-stat-color);
    font-weight: 600;
    font-size: 18px;
    margin: 0
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
    .type-image .hero-image {
        max-width: 50%;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .type-image .hero-image {
        max-width: 50%;
        margin: 0 auto;
    }

    /* hero hald width */
    .section--half-background-image.position-right .section-inner-holder .right-fluid,
    .section--half-background-image .section-inner-holder .right-fluid {
        height: 50%;
    }
}

@media only screen and (max-width: 1199px) {
    .hero-section .statistics .title {
        font-size: 22px;
    }

    .hero-section .statistics .text {
        font-size: 16px;
    }

}

@media only screen and (max-width: 991px) {
    .hero-text {
        font-size: 17px;
    }

    .type-background-image .hero-section-inner .hero-section-inner-content {
        max-width: 100%;
        width: 100%;
    }

    .type-background-image .hero-section-inner-holder:before {
        background-color: var(--hero-mask-blur);
        content: '';
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 25;
    }

    .hero-image-background {
        width: 70%;
    }

    .type-image .hero-section-inner {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .align-right .hero-section-inner-content {
        order: 1;
    }

    .align-right .hero-image {
        order: 2;
    }

    .hero-section .statistics {
        column-gap: 10px;
        row-gap: 20px;
        flex-wrap: wrap;
    }

    .hero-section .statistics .item {
        width: calc(1/2*100% - (1 - 1/2)*10px);
    }

}

@media only screen and (max-width: 767px) {
    .list-two-column .hero-text ul li {
        width: 100%;
    }

    .hero-section-inner {
        padding-top: 40px;
    }

    .hero-section .statistics .item img {
        max-width: 50px;
    }

    .hero-section .statistics .title {
        font-size: 20px;
    }

    .hero-section .statistics .text {
        font-size: 15px;
        line-height: 1.25;
    }

}