/* =========================================

about
========================================= */
.home-about {
    margin-top: 174px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.swiper.home-about-slider {
    width: 100%;
    max-width: 746px;
    margin-left: calc(0vw + 0%);
    margin-right: calc(0vw + 0%);
    padding: 20px 0;
    margin-bottom: 100px;

}

.home-about-slider {
    height: 500px;
    overflow: hidden;
}

.home-about-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.home-about-title {
    margin-bottom: 31px;
}

.home-about-btn {
    margin: 64px 0;
}

.home-about-left {
    max-width: 620px;
}

@media screen and (max-width: 768px) {
    .home-about {
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-top: 38px;
    }

    .swiper.home-about-slider {
        margin-top: 43px;
        max-width: 315px;
        order: 1;
    }

    .home-about-slider {
        height: 216px;
        margin-top: 18px;
    }

    .home-about-slider .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .home-about-title {
        margin-bottom: 18px;
    }

    .home-about-btn {
        margin: 25px 0;
    }

    .home-about-left {
        order: 0;
        margin-top: 38px;
    }
}

/* =========================================

experts
========================================= */
.experts {
    background-color: #f9f7f7;
    background-image: url(../image/experts-bg.svg);
    background-repeat: no-repeat;
    background-size: 1520px 500px;
    background-position: center 116px;
    padding: 20px 0 133px 0;
    position: relative;
    margin-top: 66px;
}

@media screen and (max-width: 1520px) {
    .experts {
        background-size: 1024px 500px;
    }
}

@media screen and (max-width: 1024px) {
    .experts {
        background-size: 768px 500px;
    }
}

.title-experts {
    padding-top: 223px;
    text-align: center;
}

.experts-text {

    font-size: 20px;
    width: 750px;
    margin: 52px auto;
    text-align: center;
    height: 165px;
}

.swiper_experts {
    margin-top: 171px;
    width: 99.5vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 20px 0;
    background: #ffffff;
}

.slider-experts .swiper-slide {
    margin-right: 50px;
    width: auto;
}

.expert-card {
    padding: 20px;
    display: flex;
    gap: 10px;
}

.expert-card img {
    width: 32px;
    height: auto;
}

.expert-name-slide {
    font-size: 20px;
    font-weight: 700;
    color: #58595B;
    line-height: 1.5;
}

.box-experts {
    display: flex;
    align-items: top;
    gap: 20px;
}

.box-expert {
    margin-top: 74px;
    width: 492px;
    height: 606px;
    flex-direction: column;
    display: flex;
    transform: scale(0);
    transition: transform 1.2s;
}



.box-expert.animated {
    transform: scale(1);
}
.box-expert-up{
transition: transform 0.4s ease;
}
.box-expert-up:hover {
transform: scale(0.9);
}



/*  */
@media screen and (max-width: 1600px) {
    .box-expert {
        height: 666px;
    }
}

.box-expert-up {
    display: flex;
    gap: 20px;
    min-height: 312px;
    justify-content: center;
    position: relative;
}

.box-expert-down {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icon-card-expert {
    width: 90px;
    margin-top: -200px;
}

.title-card-expert {
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    padding-top: 55px;
}

.text-card-expert {
    height: 100px;
}

.title-card-expert::before {
    content: "";
    position: absolute;
    top: 0;
    right: 10px;
    width: 124px;
    height: 80px;
    background-image: url(../image/title_expert_bg.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

@media screen and (max-width: 768px) {
    .experts {
        margin-bottom: 0px;
        background-size: 428px 140px;
        background-position: center 62px;
        padding: 20px 0 93px 0;
        margin-top: -44px;
    }

    .title-experts {
        padding-top: 62px;
        /* max-width: 287px; */
        margin: auto;
    }

    .experts-text {
        max-width: 100%;
        height: auto;
    }

    .swiper_experts {
        padding: 0;
        margin-top: 31px;
    }

    .box-expert-up {
        min-height: 212px;
    }

    .expert-card img {
        width: 26px;
    }

    /* .text-card-expert {
        height: 100px;
    } */
    .expert-name-slide {
        font-size: 16px;
    }

    .box-experts {
        flex-direction: column;
        margin: 28px;
        gap: 0;
    }

    .box-expert {
        margin: 20px auto;
        width: 100%;
        height: 505px;
    }

    /* .box-expert-up {
        margin-top: 26px;
    } */
    .box-expert-down {
        gap: 10px;
    }

    .image-card-expert {
        height: 222px;

    }

    .icon-card-expert {
        width: 50px;
        margin-top: 0;
        position: absolute;
        left: 60px;
    }

    .title-card-expert {
        /* text-align: right; */
        padding-top: 60px;
        font-size: 25px;
    }

    /* .text-card-expert {
        text-align: right;
    } */
}

/* =========================================

green
========================================= */

.green {
    height: 1107px;
    position: relative;
}

.bg-image-1 {
    position: absolute;
    top: -90px;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
}

.bg-image-2 {
    position: absolute;
    top: 480px;
    left: 0;
    width: auto;
    height: auto;
    z-index: -1;
}

@media screen and (max-width: 1024px) {
    .bg-image-1 {
        top: -80px;
        width: 350px;
    }

    .bg-image-2 {
        width: 350px;
        top: 700px;
    }
}


.title-green {
    font-size: 60px;
    color: #5C996B;
    text-align: center;
    line-height: 120%;
    padding-top: 313px;
}

.green-text {
    font-size: 20px;
    width: 627px;
    margin: 42px auto;
    text-align: center;
    height: 62px;
    margin-top: 42px;
}

.button-green_1 {
    margin-top: 80px;
}

button.button-green_2 {
    margin: 40px auto;
    display: flex
}

@media screen and (max-width: 768px) {
    .green {
        height: auto;
        padding-top: 312px;
        padding-bottom: 407px;

    }

    .bg-image-1 {
        padding-bottom: 50px;
        position: absolute;
        top: -5px;
        right: 0;
        width: 240px;
        height: auto;
        z-index: -1;
    }

    .bg-image-2 {
        position: absolute;
        top: auto;
		bottom:108px;
        left: 0;
        width: 270px;
        height: auto;
        z-index: -1;
    }

    .title-green {
        line-height: 120%;
        width: 100%;
        font-size: 35px;
        margin: 0 auto;
        padding-top:0;
    }

    .green-text {
        max-width: 320px;
        height: auto;
        margin: 32px auto;
    }

    .button-green_1 {
        margin-top: 0;
    }

    button.button-green_2 {
        margin: 29px auto;
    }

}

/* =========================================

team
========================================= */

.home-team {
    background-color: #f9f7f7;
    padding: 131px 0 1px 0;
    position: relative;

}

.team-img-wrapper {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.team-img-1,
.team-img-2 {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
}

.team-img-1 img,
.team-img-2 img {
    border-radius: 20px;
}

.team-img-1::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -70px;
    width: 260px;
    height: 220px;
    background-image: url('../image/bg_img.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -1;
}

.team-img-2::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -60px;
    width: 260px;
    height: 220px;
    background-image: url('../image/bg_img.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -1;
}

.team-img-1,
.team-img-2 {
    position: relative;
    z-index: 1;
}

.box-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 150px;
    margin-bottom: 131px;

}

.title-team {
    width: 397px;
    font-size: 42px;
}

.text-team {
    width: 627px;
    padding-bottom: 34px;
    margin-top: 37px;
}
   a.team-link {
    display: flex;
    gap: 15px;
}

.button-wrapper {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


@media screen and (max-width: 768px) {
    .home-team {
        padding: 45px 0 1px 0;
    }

    .team-img-1::after {
        bottom: -40px;
        left: 0px;
        width: 190px;
        height: 180px;

    }

    .team-img-2::after {
        bottom: -20px;
        right: 190px;
        width: 190px;
        height: 180px;
    }

    .team-img-1 img,
    .team-img-2 img {
        max-width: 90%;
    }

    .box-team {
        display: flex;
        flex-direction: column;
        gap: 49px;
        margin-bottom: 95px;
        align-items: start;
    }

    .right-team {
        order: 0;
    }

    .team-img-wrapper-right {
        order: 1;
    }


    .title-team {
        width: 100%;
        font-size: 35px;
    }

    .text-team {
        width: 100%;
        padding-bottom: 19px;
        margin-top: 22px;
    }

    .button-wrapper {
        margin-top: 32px;
        gap: 34px;
    }

}

/* =========================================

blog
========================================= */
.box-blog-item-link {
    text-decoration: none;
}

.box-blog-item-link:hover {
    text-decoration: none;
}

.blog {
    padding: 173px 20px 0px 20px;
    position: relative;
}

.title-blog {
    font-size: 42px;
    text-align: center;
}

.subtitle-blog {
    text-align: center;
    margin-top: 31px;
}

.box-blog {
    margin: 62px 0 77px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.box-blog-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 493px;
}

.box-blog-img {
    object-fit: cover;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
}

.box-blog-img img {
    width: 493px;
}

.box-blog-date {
    font-size: 16px;
    color: #ed1d24;
    letter-spacing: 0.1em;
}

.box-blog-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.36;
    height: 70px;
    color: #4D4D4D;

}

.box-blog-subtitle {
    font-size: 18px;
    height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    word-wrap: break-word;
    max-height: calc(1.7em * 3); /* 3 שורות * line-height */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.box-blog-icon img {
    max-width: 100%;
    object-fit: cover;
    display: inline-block;
    transition: transform 0.3s ease;
}


.box-blog-icon img:hover {
    transform: scale(1.1);
}


.single_title.min_title {
    text-align: center;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {    
    .box-blog-subtitle {
        max-height: calc(1.2em * 3);
    }
    .blog {
        padding: 51px 0px 0px 0px;
    }

    .subtitle-blog {
        width: 100%;
        margin: 31px auto;
    }

    .box-blog {
        margin: 62px 0 77px;
        display: flex;
        gap: 0px;
        justify-content: start;
    }

    .box-blog-item {
        width: 80vw;
        margin-top: 20px;
    }

    .box-blog-item-slide {
        width: 63vw;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .box-blog-img {
        object-fit: cover;
        height: 180px;
    }

    .box-blog-img img {
        height: 180px;
        width: 100%;
    }

    .box-blog-date {
        font-size: 14px;
    }

    .box-blog-subtitle {
        height: auto;
    }

    .box-blog-icon img {
        max-width: 50px;
        height: 50px;
    }


    .swiper-blog-slider {
        width: 100%;
        overflow: hidden;
        height: 550px;

    }

    .swiper-wrapper {
        display: flex;
        align-items: center;
    }

    .swiper-blog-slider .swiper-slide {
        flex-shrink: 0;
        width: 70%;
        transition: transform 0.3s ease-in-out;

    }

    .box-blog-title {
        font-size: 18px;
        line-height: 1.2;
        width: 100%;
        margin: 20px 0;
    }

}

/* =========================================

partners
========================================= */

.partners {
    padding: 218px 0 131px 0;
    position: relative;
}

.title-partners {
    text-align: center;
}

.subtitle-partners {
    font-size: 20px;
    text-align: center;
    width: 1006px;
    margin: 26px auto;
}

@media screen and (max-width:1024px) {
    .subtitle-partners {
        width: 768px;
    }
}

.partners-slider {
    margin-top: 27px;
    padding: 20px 0;
    /* width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%); */
}

.box-partner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    /* width: 15%; */
}

.box-partner img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .partners {
        padding: 100px 0 52px 0;
    }

    .title-partners {
        max-width: 100%;
        margin: auto;
    }

    .subtitle-partners {
        width: 100%;
        margin: 38px auto;
    }

    .partners-slider {
        height: 121px;
        margin-top: 27px;
        padding: 20px 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }


}

/* =========================================

contact
========================================= */

.contact {
    padding: 23px 0 131px 0;
    position: relative;
}

.home-contact {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #EDF8FF;
    border-radius: 20px;
    padding: 113px 60px;

}

.contact-img {
    width: 40%;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
}

.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
}

.subtitle-contact {
    p {
        font-size: 16px;
        color: #4D4D4DB2;

        margin-top: 20px;
    }
}

.contact-type {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.radio-option {
    position: relative;
    padding: 0 50px;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
}

.radio-option input[type="radio"] {
    display: none;
}

.custom-radio {
    position: absolute;
    right: 0;
    top: 2px;
    width: 30px;
    height: 30px;
    border: 1px solid #58595B;
    border-radius: 50%;
    background-color: #EDF8FF;
}

.radio-option input[type="radio"]:checked+.custom-radio::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 16px;
    height: 16px;
    background-color: #0081E8;
    border-radius: 50%;
}

.contact-form {
    font-size: 16px;
    color: #4D4D4DB2;

}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.half {
    flex: 1;
}

.full {
    flex: 1 0 100%;
}

label {
    margin-bottom: 8px;
    font-size: 16px;
}

input,
textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #58595B;
    border-radius: 6px;
    background-color: #EDF8FF;

}

textarea {
    resize: vertical;
}

.send-button {
    display: flex;
    width: 50%;

    button {
        width: 213px;
        margin: 0;
    }
}

.form-row {
    margin-left: 0;
    margin-right: 0;
}

@media screen and (max-width: 768px) {
    .contact {
        padding: 0 20px;
        position: relative;
    }

    .home-contact {
        display: flex;
        flex-direction: column;
        gap: 42px;
        padding: 32px 20px;

    }

    .contact-img {
        width: 100%;
        order: 1;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        justify-content: right;
        order: 0;
        width: 100%;
    }

    .title-contact {
        max-width: 100%;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .contact-type {
        margin: 20px 0;
    }

    .custom-radio {
        width: 20px;
        height: 20px;
        left: 0;
    }

    .radio-option input[type="radio"]:checked+.custom-radio::after {
        top: 4px;
        left: 4px;
        width: 10px;
        height: 10px;
    }
}

/* =========================================

services
========================================= */

.home-services {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 71px 0;
}

.services-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-subtitle {
    width: 617px;
    margin-top: 31px;
}

.services-btn {
    margin: 31px 0;
}

.services-left {
    position: relative;
    display: inline-block;
    overflow: visible;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
    width: 50%;
}

/* .services-left::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -70px;
    width: 260px;
    height: 220px;
    background-image: url('../image/bg_img.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -1;
} */

@media screen and (max-width: 768px) {
    .home-services {
        flex-direction: column;
        padding: 24px 0;
        align-items: start;
    }


    .services-right {
        gap: 0px;
    }

    .services-title {
        max-width: 100%;

    }

    .services-subtitle {
        width: 100%;
        margin-top: 27px;
    }

    .services-btn {
        margin: 15px 0;
    }
    .services-left{
        width: 100%;
        margin: 50px auto;
    }

    .services-left img {
        max-width: 100%;
        height: 273px;
        margin-top: 31px;

    }

    .services-left::after {
        bottom: -40px;
        right: 135px;
        width: 100%;
        height: 180px;

    }
}

/* =========================================

our-part
========================================= */
.our-part-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 132px 0;
    gap: 40px;
}

.our-part-right {
    max-width: 719px;
}

.our-part-img {
    max-width: 517px;
}

.our-part-title {
    color: #0081E8;
}

.our-part-sub-title {
    color: #0081E8;
}

.our-part-body {
    margin-top: 53px;
    width: 617px;
}

@media screen and (max-width: 768px) {
    .our-part-flex {
        flex-direction: column;
        padding: 61px 0 41px 0;
        gap: 53px;
        align-items: start;
    }

    .our-part-right {
        max-width: 90%;
        order: 0;
    }

    .our-part-img {
        max-width: 90%;
        order: 1;
    }

    .our-part-body {
        margin-top: 33px;
        width: 90%;
    }
}