.features {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    gap: 55px;
}

.features__wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 40px 1fr 40px 1fr;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
}

.features__item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.features__item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
}

.features__item__wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0px;
    background: -o-linear-gradient(bottom, rgb(9 38 49 / 50%) 0%, rgba(9, 38, 49, 0) 100%);
    background: -webkit-gradient(linear, left bottom, left top, from(rgb(9 38 49 / 50%)), to(rgba(9, 38, 49, 0)));
    background: linear-gradient(360deg, rgb(9 38 49 / 50%) 0%, rgba(9, 38, 49, 0) 100%);

    padding: 30px 30px 30px 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.features__item__title-text-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-item-align: start;
        align-self: flex-start;
    gap: 5px;
}

.features__item__name {
    font-family: 'SignPainter';
    font-size: 50px;
    font-weight: 400;
    line-height: 0.72;
    color: #fff;
}

.features__item__subtext {
    font-family: 'Intro';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

.features__item__plus {
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-radius: 100%;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.features__item__plus__item {
    line-height: 0;
    -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
            transform: rotate(0);
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.features__item__plus:hover {
    background: #A6D02A;
    -webkit-box-shadow: 0px 10px 20px rgba(9, 38, 49, 0.15);
            box-shadow: 0px 10px 20px rgba(9, 38, 49, 0.15);
}

.features__item__plus:hover svg path {
    fill: #fff;
}

.features__item__plus:hover .features__item__plus__item {
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
}

.features__wrapper .features__item:nth-child(1) {
    -ms-grid-column-span: 1;
    grid-column: span 1;
}

.features__wrapper .features__item:nth-child(1) img,
.features__wrapper .features__item:nth-child(6) img,
.features__wrapper .features__item:nth-child(7) img
.features__wrapper .features__item:nth-child(5) img {
    max-height: 340px;
}



.features__wrapper .features__item:nth-child(2),
.features__wrapper .features__item:nth-child(3) {
    -ms-grid-column-span: 1;
    grid-column: span 1;
    -ms-grid-row-span: 2;
    grid-row: span 2;
}

.features__wrapper .features__item:nth-child(4) {
    -ms-grid-column-span: 1;
    grid-column: span 1;
    -ms-grid-row-span: 2;
    grid-row: span 2;
}

.features__wrapper .features__item:nth-child(5) {
    -ms-grid-column-span: 2;
    grid-column: span 2;
}

.features__wrapper .features__item:nth-child(6) {
    -ms-grid-column-span: 2;
    grid-column: span 2;
}

.features__wrapper .features__item:nth-child(7) {
    -ms-grid-column-span: 1;
    grid-column: span 1;
}

.features__item__hover {
    display: none;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0px;
    right: 0;
    bottom: 0;
    background: #1460DA;
    -webkit-box-shadow: 0px 20px 45px rgba(0, 160, 222, 0.35);
            box-shadow: 0px 20px 45px rgba(0, 160, 222, 0.35);
    overflow: hidden;
}

.features__item:hover .features__item__wrapper {
    z-index: 10;
    background: unset;
}

.features__item:hover .features__item__hover {
    display: block;
    -webkit-animation: ani .5s forwards;
            animation: ani .5s forwards;
}

.features__item__hover__wrapper {
    margin: 45px 50px;
}

.features__item__hover__text {
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
}

.features__item__hover:after {
    content: '';
    width: 253px;
    height: 165px;
    background: url("data:image/svg+xml,%3Csvg width='253' height='165' viewBox='0 0 253 165' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.15'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M52.3514 165C58.6482 151.705 77.672 141.57 97.5494 148.48C57.5102 80.6391 192.172 80.5811 234.336 92.8334C185.008 96.4811 128.036 100.896 128.265 165H52.3514Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M77.1237 137.369C59.8754 134.359 25.3069 128.659 0 134.587V99.0853C8.82246 98.492 17.6737 99.6997 26.0095 102.634C-40.43 -9.91997 183.04 -10.0359 253 10.2925C169.299 16.4833 72.3249 23.9867 77.1237 137.369Z' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A") no-repeat;
    position: absolute;
    left: 0;
    z-index: 4;
    bottom: 0;
}


@media only screen and (max-width: 1699px) { 
	.features__item__name {
        font-size: 40px;
    }
    
    .features__item__subtext {
        font-size: 16px;
    }
}


@media only screen and (max-width: 1399px) { 
	.features__item__name {
        font-size: 36px;
    }
    
    .features__item__subtext {
        font-size: 14px;
    }
}


@media (max-width: 1200px) {
    .features {
        gap: 30px;
    }

    .features__wrapper {
        grid-gap: 30px;
    }


    .features__wrapper .features__item:nth-child(1) img,
    .features__wrapper .features__item:nth-child(5) img {
        max-height: 270px;
    }


    .features__item__plus {
        width: 50px;
        height: 50px;
    }


    .features__item__wrapper {
        padding: 35px 25px 25px 30px;
    }

    .features__item__hover__text {
        font-size: 15px;
    }

    .features__item__hover__wrapper {
        margin: 25px 30px;
    }

    .features__item__hover:after {
        width: 500px;
        height: 500px;
        bottom: -350px;
    }

}

@media (max-width: 960px) {
    .features {
        gap: 25px;
    }

    .features__wrapper .features__item img {
        height: 270px;
    }

    .features__wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        gap: 0;
        row-gap: 30px;
        margin: 0 -15px;
    }

    .features__item {
        width: 50%;
        padding: 0 15px;
    }

    .features__item__wrapper,
    .features__item__hover {
        left: 15px;
        right: 15px;
    }


    .features__item__hover__wrapper {
        margin: 25px 110px 0 30px;
    }
}

@media (max-width: 768px) {
    .features__item__wrapper {
        -webkit-box-align: end;
            -ms-flex-align: end;
                align-items: flex-end;
    }

    .features__item__hover__wrapper {
        margin: 25px 30px;
    }

    .features__item {
        width: 100%;
    }

    .features__wrapper {
        row-gap: 20px;
    }
}

#features_modal_id {
    display: none;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 0;
    max-width: 1426px;
    height: 1050px;
    position: relative;
}


#features_modal_id .swiper,
#features_modal_id .swiper-container {
    width: 100%;
}

.features_modal__title {
    padding: 30px 60px;
    position: relative;
}

.features_modal__title__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 40px;
}

.features_modal__title__item {
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    position: relative;
}

.features_modal__title__item:hover {
    color: #1460DA;
}

.features_modal__title:after {
    content: '';
    height: 1px;
    width: 100%;
    background: #092631;
    opacity: 0.15;
    position: absolute;
    bottom: 0;
    left: 0;
}

#features_modal_id .features_modal__content {
    margin-top: 30px;
}

.features_modal__content__title {
    font-family: 'SignPainter';
    font-size: 60px;
    font-weight: 400;
    line-height: 1.1;
}

.features_modal__content__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    gap: 30px;
}

.features_modal__content__img img {
    max-height: 550px;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

#features_modal_id .swiper-slide {
    height: 100%;
    background: #fff;
    border-radius: 20px;
}

.features_modal__content__content__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 0 -40px;
    row-gap: 25px;
}

.features_modal__content__content__item {
    padding: 0 40px;
    width: 40%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 15px;
}

.features_modal__content__content__item__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.features_modal__content__content__item__text {
    font-weight: 300;
    font-size: 18px;
    line-height: 1.3;
    color: rgba(9, 38, 49, .85);
}

.features_modal__content__title {
    padding: 0 60px;
}

.features_modal__content__content {
    padding: 0 60px 40px;
}


.features_modal__content__img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.features_modal__title__item.active {
    color: #1460DA;
}

.features_modal__title__item.active:before {
    content: '';
    height: 4px;
    width: 50%;
    background: #1460DA;
    position: absolute;
    bottom: -30px;
    left: 0;
}

.features_modal__title__item.active:after {
    content: '';
    height: 4px;
    width: 50%;
    background: #A6D02A;
    position: absolute;
    bottom: -30px;
    right: 0;
}

.features-image-swiper {
    position: relative;
}

.features-image-swiper .swiper-slide:not(.swiper-slide-active) {
    visibility: hidden !important;
}

.features-image-swiper .swiper-wrapper {
    height: auto !important;
}

.features-gallery-button-next,
.features-gallery-button-prev {
    position: absolute;
    z-index: 1;
    height: 60px;
    width: 60px;

    background: rgba(255, 255, 255, 0.5);
    background-repeat: no-repeat;
	background-position: center center;
	background-size: 20px 20px;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border-radius: 6px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

.features-gallery-button-next {
    right: 30px;
}

.features-gallery-button-prev {
    left: 30px;
}


.features-gallery-button-next {
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1C12.6667 6 16 9.33333 21 11M21 11C16 12.6667 12.6667 16 11 21M21 11H1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.features-gallery-button-prev {
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1C9.33333 6 6 9.33333 1 11M1 11C6 12.6667 9.33333 16 11 21M1 11H21' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.features-gallery-button-next.swiper-button-disabled {
	background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1C12.6667 6 16 9.33333 21 11M21 11C16 12.6667 12.6667 16 11 21M21 11H1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.5'/%3E%3C/svg%3E%0A");
}

.features-gallery-button-prev.swiper-button-disabled {
	background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1C9.33333 6 6 9.33333 1 11M1 11C6 12.6667 9.33333 16 11 21M1 11H21' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.5' /%3E%3C/svg%3E");
}


#features_modal_id.fancybox__content>.f-button.is-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
}

@media (max-width: 1500px) {
    #features_modal_id {
        max-width: 1000px;
        height: 100%;
    }

    .features_modal__content__title {
        font-size: 50px;
    }

    .features-gallery-button-next,
    .features-gallery-button-prev {
        height: 50px;
        width: 50px;
        background-size: 18px 18px;
    }

}

@media (max-width: 1200px) {
    #features_modal_id {
        max-width: 800px;
    }

    .features_modal__content__content__item {
        padding: 0 10px;
    }

    .features-gallery-button-next,
    .features-gallery-button-prev {
        height: 45px;
        width: 45px;
        background-size: 16px 16px;
    }

    .features-gallery-button-next {
        right: 20px;
    }

    .features-gallery-button-prev {
        left: 20px;
    }
}

@media (max-width: 1000px) {
    #features_modal_id {
        max-width: 700px;
        overflow-x: hidden;
    }

    .features_modal__title__wrapper {
        gap: 10px;
    }

    .features_modal__title {
        padding-left: 15px;
    }

    .features_modal__content__title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .features_modal__content__content__wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .features_modal__content__content__item {
        width: 100%;
    }

    .features_modal__content__content__item__title {
        font-size: 15px;
    }

    .features_modal__content__content__item__text {
        font-size: 12px;
    }

    #features_modal_id {
        max-width: 100%;
    }

    #features_modal_id .swiper-button-next, #features_modal_id .swiper-button-prev {
        padding: 5px 10px;
        gap: 10px;
        min-width: unset;
    }

    .features_modal__content__title {
        padding: 0 25px;
        font-size: 36px;
    }

    .features_modal__title__wrapper {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }

    .features_modal__title__item.active:before,
    .features_modal__title__item.active:after {
        bottom: -5px;
    }

    .features-gallery-button-next,
    .features-gallery-button-prev {
        height: 40px;
        width: 40px;
        background-size: 16px 16px;
    }

    .features-gallery-button-next {
        right: 10px;
    }

    .features-gallery-button-prev {
        left: 10px;
    }

    .features_modal__content__item {
        gap: 20px;
    }
}

.features_modal__content__content__item__text li::marker {
    color: #1460DA;
}

.features-image-swiper .swiper-slide {
    margin-right: 0 !important;
    border-radius: 0 !important;
}

