@media (min-width: 576px) {
    :root {
        --width-size: 540px;
    }
}

@media (min-width: 768px) {
    :root {
        --width-size: 720px;
    }
}

@media (min-width: 992px) {
    :root {
        --width-size: 960px;
    }
}

@media (min-width: 1200px) {
    :root {
        --width-size: 1140px;
    }
}

@media (min-width: 1400px) {
    :root {
        --width-size: 1320px;
    }
}

.hero-text-wrapper {
    margin-top: 204px;
    width: calc(var(--width-size) / 2);
    margin-right: auto;
    position: relative;
    transform: translateX(-0.75rem);
}

.hero-text-wrapper .hero-head-text {
    display: block;
    color: var(--text_color);
    font-size: 16px;
    line-height: 1.1;
    font-weight: 400;
    padding-right: 54px;
    margin-bottom: 40px;
}

.hero-text-wrapper .hero-head-text strong {
    font-weight: bold;
    color: var(--primary_color);
    display: inline-block;
}

.hero-text-wrapper .hero-head-text strong:last-child {
    color: var(--secondary_color);
}

.hero-title {
    position: relative;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
    color: var(--text_color);
    display: table;
    margin-bottom: 30px;
}
.hero-title *{
    margin-bottom: 0;
}
.hero-title:after {
    content: " ";
    background-color: var(--secondary_color);
    -webkit-mask-image: url("../img/3line-vector.svg");
    mask-image: url("../img/3line-vector.svg");
    width: 28px;
    height: 27px;
    position: absolute;
    top: -7px;
    left: -20px;
}

.hero-title strong {
    font-weight: 800;
    color: var(--primary_color);
    position: relative;
}

.hero-title strong:before {
    content: " ";
    width: 84%;
    height: 34px;
    border-radius: 100px;
    background: rgba(27, 74, 178, 0.08);
    position: absolute;
    right: 7%;
    bottom: 0;
}

.hero-title strong:last-child {
    font-weight: bold;
    color: var(--secondary_color);
}

.hero-title strong:last-child:before {
    content: " ";
    width: 90%;
    height: 34px;
    border-radius: 100px;
    background: rgba(254, 106, 4, 0.09);
    position: absolute;
    right: -1%;
    bottom: 0;
}

.hero-sub-title {
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
    color: var(--text_color);
    margin-bottom: 40px;
}
.hero-sub-title *{
    margin-bottom: 0;
}
.hero-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark_gray_color);
    margin-bottom: 56px;
    position: relative;
    max-width: 620px;
}

.hero-text:after {
    content: " ";
    background-color: var(--secondary_color);
    -webkit-mask-image: url("../img/loop-arrow.svg");
    mask-image: url("../img/loop-arrow.svg");
    width: 55px;
    height: 71px;
    position: absolute;
    bottom: -71px;
    left: 100px;
}

.hero-text em {
    font-style: normal;
    color: var(--primary_color);
    font-weight: 500;
}

.hero .btn-wrapper .btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 16px;
    height: 56px;
    min-width: 215px;
    padding: 8px;
}

.hero .btn-wrapper .btn i {
    margin-right: 16px;
    margin-left: 8px;
    font-size: 20px;
    height: 20px;
    vertical-align: middle;
}

.hero .btn-wrapper .btn-secondary i:first-child {
    background-color: #fff;
    color: var(--bs-btn-bg);
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    margin-right: 0;
}

.hero .btn-wrapper .btn-secondary:hover i:first-child {
    color: var(--bs-btn-hover-bg);
}

.hero .btn-wrapper .btn-primary {
    padding-right: 33px;
    padding-left: 16px;
}

.hero {
    position: relative;
    margin-bottom: 50px;
}

.hero-image-wrapper {
    position: relative;
    padding-right: 65px;
    --h: calc((100% - 600px) * -1);
}

.hero-image-wrapper:before {
    content: " ";
    background-color: var(--primary_color);
    -webkit-mask-image: url("../img/wave.svg");
    mask-image: url("../img/wave.svg");
    width: 71px;
    height: 86px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    box-shadow: 0 4px 26px 0 color-mix(in srgb, var(--primary_color) 36%, transparent);
}

.hero svg {
    width: 100%;
    height: auto;
    z-index: -1;
    margin-top: var(--h);
}

.hero svg.svg2 {
    width: calc(100% - 65px);
    height: auto;
    position: absolute;
    left: 0;
    top: auto;
    margin-top: calc(var(--h) + 58px);
}

.hero svg.svg2 path {
    fill: none;
    stroke: var(--primary_color);
    stroke-width: 2px;
    stroke-dasharray: 5 5;
}

.hero-img {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: calc(100% - 65px);
    height: auto;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' mask-type='alpha' viewBox='0 0 622 721'><path d='M0 0H622L580.857 626.571C577.122 683.461 526.652 725.721 469.991 719.403L0 667V0Z' fill='white'/></svg>");
    mask-repeat: no-repeat;
    mask-size: cover;
    mask-position: right bottom;

}

.hero-img img {
    width: auto;
    height: auto;
}

.hero-image-wrapper:after {
    content: " ";
    background-color: #ffffff;
    -webkit-mask-image: url("../img/vector-hero-2.svg");
    mask-image: url("../img/vector-hero-2.svg");
    width: 332px;
    height: 224px;
    position: absolute;
    right: 65px;
    top: 95px;
}

.hero-img:before {
    content: " ";
    background-color: #ffffff;
    -webkit-mask-image: url("../img/vector-hero-1.svg");
    mask-image: url(../img/vector-hero-1.svg);
    width: 235px;
    height: 386px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.hero .feature-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 12px;
    left: calc(100% - (var(--width-size) / 2));
    top: 160px;
    transform: translateX(0.75rem);
}

.hero .feature-item {
    background: #ffffff;
    height: 40px;
    min-width: 185px;
    padding: 4px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: start;
}

.hero .feature-item .img-wrap {
    width: 32px;
    height: 32px;
    background-color: #F0F1F5;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.hero .feature-item b {
    color: var(--text_color);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.1;
}

.hero .feature-item b span {
    color: var(--secondary_color);
    padding: 0 3px;
    display: inline-block;
}

section.hero {
    padding-bottom: 0;
}


@media (max-width: 1337px) {
    .hero-image-wrapper {
        --h: calc((100% - 530px) * -1);
    }
    .hero-img{
        bottom: 15px;
    }
}

@media (max-width: 1199px) {
    .hero-image-wrapper {
        --h: calc((100% - 500px) * -1);
    }

    .hero {
        margin-bottom: 15px;
    }

    .hero-text-wrapper .hero-head-text {
        font-size: 14px;
        margin-bottom: 36px;
    }

    .hero-sub-title {
        font-size: 24px;
        margin-bottom: 36px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-title strong:last-child:before,
    .hero-title strong:before {
        height: 22px;
    }

    .hero-text {
        font-size: 14px;
        margin-bottom: 36px;
    }

    .hero .btn-wrapper .btn {
        display: flex;
        margin-bottom: 12px;
    }

    .hero-image-wrapper:before,
    .hero-text:after {
        display: none;
    }

    .hero-text-wrapper {
        margin-top: 140px;
    }

    .hero-image-wrapper {
        --h: calc((100% - 485px) * -1);
    }

    .hero-img {
        bottom: 30px;
    }

    .hero svg.svg2,
    .hero svg {
        margin-top: 0;
    }
}

@media (max-width: 1148px) {

    .hero-img {
        bottom: 46px;
    }
}
@media (max-width: 991px) {

    .hero-text-wrapper .hero-head-text {
        margin-right: auto;
        margin-left: auto;
        display: table;
    }

    .hero-sub-title,
    .hero-title,
    .hero-text {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-text-wrapper {
        order: 2;
        margin: 38px auto;
        width: var(--width-size);
        transform: unset;
        padding: 0 calc(var(--bs-gutter-x) * .5);
    }

    .hero-image-wrapper {
        order: 1;
        margin: 0 auto 25px 0;
        --h: calc((100% - 400px) * -1);
        max-width: 100%;
        padding: 0;
        width: 75%;
    }

    .hero svg {
        margin-top: var(--h);
    }

    .hero svg.svg2 {
        width: 100%;
        margin-top: var(--h);
    }

    .hero .feature-box {
        top: 78px;
        left: calc((100vw - var(--width-size)) / 2);
    }

    .hero-img {
        bottom: -8px;
        width: 100%;
    }

    .hero-image-wrapper:after {
        top: 25px;
        right: 0;
        max-width: 70%;
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: top right;
    }

    .hero-img:before {
        max-width: 50%;
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: left bottom;
    }

    .hero-img img {
        width: 75%;
    }

    .hero .btn-wrapper .btn {
        max-width: 360px;
        margin: 0 auto 12px;
    }
}

@media (max-width: 575px) {
    .hero .feature-item {
        height: 24px;
        min-width: 114px;
    }

    .hero .feature-item .img-wrap {
        width: 16px;
        height: 16px;
        margin-left: 3px;
    }

    .hero .feature-item b {
        font-size: 10px;
    }

    .hero-image-wrapper {
        --h: 0;
    }

    :root {
        --width-size: 100%;
    }

    .hero .feature-box {
        left: 16px;
    }

    .hero-img img {
        width: 90%;
    }
}
@media (max-width: 400px){
    .hero-title{
        margin-bottom: 0;
    }
    .hero-title *{
        line-height: 1.8;
    }
    .hero-title:after{
        top: -20px;
        left: 0;
    }

}