/* -----------------------------family-------------------------------- */

.about-family-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding-bottom: 91px;
    margin-top: 78px;
}

.about-family-up {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
}


.about-family-up-title {
    font-size: 42px;
}

.about-family-up-text {
    font-size: 20px;
    margin-top: 40px;
}

.about-family-up-box {
    width: 50%;
}

.about-family-down {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 100px;
    margin-top: 103px;
    width: 100%;
}

.about-family-down-box {
    width: 50%;
}

.about-family-up-img,
.about-family-down-img {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.about-family-up-img img,
.about-family-down-img img {
    border-radius: 20px;
}

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

.about-family-up-img::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;
}


.about-family-down-img::after {
    content: "";
    position: absolute;
    bottom: 285px;
    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;
}

.about-family-down-title {
    font-size: 20px;
    font-weight: 700;
    color: #ed1d24;
}

.about-family-down-text {
    font-size: 20px;
    line-height: 1.5;
    color: #4D4D4D;

}

.about-family-down-detail {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 76px;
    gap: 10px;
    position: relative;

}

.about-family-down-detail:not(:last-of-type)::after {
    content: "";
    position: absolute;
    border-bottom: 1px solid #D3EBFF;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
}

.about-family-down-btn {
    margin: 96px 0;

}

@media screen and (max-width:768px) {
    .about-family-content {
        align-items: start;
        gap: 10px;
        padding-bottom: 91px;
        margin-top: 78px;
    }

    .about-family-up {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 30px;
    }

    .about-family-up-title {
        font-size: 35px;
        max-width: 320px;
    }


    .about-family-up-text {
        margin-top: 22px;
    }

    .about-family-up-box {
        width: 100%;
    }

    .about-family-down {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 30px;
        margin-top: 53px;
    }

    .about-family-down-box {
        width: 100%;
    }

    .about-family-up-img img {
        width: 90%;
    }

    .about-family-down-img img {
        width: 90%;
    }

    .about-family-down-img {
        order: 1;
    }

    .about-family-down-box {
        order: 0;
    }

    .about-family-down-text {
        font-size: 18px;
    }

    .about-family-up-img::after {
        bottom: -40px;
        right: 153px;
        width: 193px;
        height: 180px;

    }


    .about-family-down-img::after {
        bottom: -40px;
        left: 0px;
        width: 193px;
        height: 180px;
    }

    .about-family-down-title {
        font-size: 18px;

    }

    .about-family-down-detail {
        align-items: center;
        height: 80px;
        gap: 20px;


    }

    .about-family-down-btn {
        margin: 52px 0;

    }
}

/* -----------------------------our truth-------------------------------- */

.our-truth-content {
    background-color: #EDF8FF;
    /* height: 745px; */
    background-image: url(../image/experts-bg.svg);
    background-repeat: no-repeat;
    background-size: 1520px 500px;
    background-position: center 116px;
    position: relative;
    padding:50px 0;

}

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

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

.about-our-truth-title {
    font-weight: 300;
    text-align: center;
    /* padding-top: 65px; */
}

.about-our-truth-sub-title {
    text-align: center;
    max-width: 622px;
    margin: 24px auto;
}

.about-our-truth-mini-title {
    text-align: center;
    margin-top: 24px;
    width: 31vw;
    margin: auto;
}

.our-truth-boxs {
    margin-top: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.our-truth-box {
    width: 30%;
    max-width: 493px;
    height: 115px;
}



.our-truth-box-title {
    text-align: center;
}

.about-our-truth-text {
    font-size: 20px;
    text-align: center;
    max-width: 622px;
    margin: 61px auto;
}

@media screen and (max-width:768px) {
    .our-truth-content {
        background-size: 370px 121px;
        background-position: center 49px;
    }

    .about-our-truth-title {
        padding-top: 39px;
    }

    .about-our-truth-mini-title {
        margin-top: 72px;
        width: 80vw;
        max-width: 285px;
    }

    .our-truth-boxs {
        margin-top: 28px;
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .our-truth-box {
        width: 90%;
        max-width: 90%;
        height: auto;
        padding: 20px;

    }
}

/* -----------------------------values-------------------------------- */

.about-values-content {
    background-color: #f9f7f7;
    padding-bottom: 81px;

}

.about-values-title {
    padding-top: 81px;
    text-align: center;
}

.about-values-text {
    max-width: 1006px;
    margin: 41px auto;
    text-align: center;
}

.about-values-boxs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 64px;
}

.about-values-box {
    width: 20%;
    width: 365px;
    height: 178px;
    flex-direction: column;
    position: relative;    display: inline-block;
    transition: transform 0.3s ease;
}



.about-values-box-img {
    position: absolute;
    right: 20px;
    top: 20px;
}

.about-values-box-title {
    font-size: 20px;
    font-weight: 700;
    color: #0081E8;
    text-align: center;
    margin-top: -35px;
}

.about-values-box-text {
    text-align: center;
    margin-top: 15px;
}

@media screen and (max-width:768px) {
    .about-values-content {
        padding-bottom: 81px;

    }

    .about-values-title {
        padding-top: 33px;
    }

    .about-values-text {
        max-width: 319px;
        margin: 30px auto;

    }

    .about-values-slider {
        margin-top: 25px;
    }

    .about-values-box-title {
        font-size: 18px;
        margin-top: -35px;
    }

    .about-values-box-text {
        text-align: center;
        margin-top: 15px;
    }


    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #0081E880;
        opacity: 1;
        border-radius: 50%;
        margin: 0 6px;
        position: relative;
        transition: all 0.3s ease;
    }

    .swiper-pagination-bullet-active {
        background-color: #0081E8;
    }

    .swiper-pagination-bullet-active::before {
        content: "";
        position: absolute;
        top: -6px;
        left: -6px;
        width: 22px;
        height: 22px;
        border: 1px solid #0081E8;
        border-radius: 50%;
    }

    .about-values-slider {
        position: relative;
        padding-bottom: 60px;
        width: 95%;
        margin-top: 44px;
    }

    .swiper-pagination {
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        text-align: center;
    }

}

/* -----------------------------service-------------------------------- */

/* .about-service {
    height: 1308px;
    margin-top: 180px;
    background-image: url(../image/bg_big_tavas.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
} */
.about-service {
    position: relative;
    padding-bottom: 150px;
    margin-top: 180px;
    overflow: hidden;
}

.about-service::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../image/bg_big_tavas.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    z-index: 0;
}

/* כדי לוודא שהתוכן יהיה מעל הרקע */
.about-service>* {
    position: relative;
    z-index: 1;
}

.about-services {
    display: flex;
    gap: 100px;
}



.about-service-text {
    margin: 38px 0 59px 0;
    font-size: 20px;

}

.about-service-btn {
    margin: 0;
}

.about-service-list {
    column-count: 2;
    column-gap: 40px;
}

.service-box {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
}

.service-box::after {
    content: "";
    position: absolute;
    border-bottom: 1px solid #D3EBFF;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
}


.service-box-title {
    font-size: 20px;
    color: #ED1D24;
    font-weight: 700;

}

.service-box-text {
    padding: 20px 0;
}

@media screen and (max-width:768px) {
    .about-service::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url(../image/bg_big_tavas_mobile.svg);
        background-repeat: no-repeat;
        background-position: center bottom;
        z-index: 0;
        top:150px;
        background-size: 100vw;
    }
    
    .about-service {
        height: auto;
        margin-top: 0;
        background-position: center bottom;
        background-size: 441px 302px;
        padding-bottom: 341px
    }

    .about-services {
        display: flex;
        flex-direction: column;
        gap: 0px;
        margin-top: 50px;
        height: auto;
    }

    .about-service-text {
        margin: 23px 0 53px 0;
        width: 100%;
    }

    .about-service-btn {
        margin: 20px 0;
        padding: 8px 24px;
        height: 45px;
    }

    .about-service-list {
        column-count: 1;
        column-gap: 40px;
    }

    .service-box {
        margin-bottom: 20px;
        overflow: hidden;
        transition: all 0.3s ease;
        padding: 0 20px;
    }

    .service-box-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        min-height: 70px;
    }

    .service-box-title {
        font-size: 18px;
    }

    .service-arrow {
        width: 13px;
        height: 5px;
        transition: transform 0.3s ease;
    }

    .service-box-text {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        padding-top: 0;
        display: none;
    }

    .service-box.open .service-box-text {
        max-height: 500px;
        padding-top: 10px;
        display: block;
    }

    .service-box.open .service-arrow {
        transform: rotate(180deg);
    }



}

/* -----------------------------synergy-------------------------------- */
.about-synergy-container {
    padding-bottom: 80px;
    /* width:85vw ; */
}

.about-synergy {
    flex-direction: row;
    gap: 50px;
    height: 712px;
    padding: 0 20px;
}
.about-synergy:hover {
    transform: none!important;
}
.synergy-content {
    width: 50%;
    padding: 20px;
}



.synergy-img-box {
    width: 50%;
}

.synergy-img-box {
    position: relative;
    display: inline-block;
    z-index: 1;
    padding: 20px;
}

.synergy-img {
    max-width: 100%;
    display: block;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
}

/* .synergy-img-box::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 236px;
    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) {
    .about-synergy {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 0px;
    }

    .synergy-content {
        width: 100%;
        padding: 20px 0;
        order: 0;
    }

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

    .synergy-text {
        margin-top: 21px;
        width: 100%;
    }

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

    .synergy-img {
        padding: 20px;
    }


    .synergy-img-box::after {
        bottom: -10px;
        left: -10px;
        background-size: 173px 162px;
    }
}