.projects_text{
    background: #f2f6f9;
    padding: 123px 0;
}
.projects_section_title{
    display: flex;
    justify-content: space-between;
    gap: 100px;

    p{
        width: 50%;
        &:last-child{
            font-size: 18px;
        }
    }
}
.projects_section{
    padding-bottom: 109px;
}

.projects_section_box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 126px 0;
}
.projects_section_box_content{
  max-width: 50%;
}
.projects_section_box_content_name{
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
}
.projects_section_box_content_place{
    font-size: 18px;
    line-height: 1.5;
    color: #3981E0;
    margin: 10px 0 29px;
}
.projects_section_box_content_services{
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.projects_section_box_content_service{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    padding: 10px 20px;
    border-radius: 20px;
    background: #F2F6F9;
}
.projects_section_box_content_body{
    margin-top: 58px;
    font-size: 20px;
}
.projects_section_box_img{
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
}

@media screen and (max-width: 768px) {

    .projects_text{
        padding: 20px 0;
    }
    .projects_section_title{
        gap: 20px;
        flex-direction: column;
        p{
            width: 100%;
        }
    }
    .projects_section{
        margin-top: 50px;
        padding: 0;
    }

    .projects_section_box{
        flex-direction: column;
        gap: 20px;
        margin: 60px 0;
    }
    .projects_section_box_content{
      max-width: 100%;
      order:1;
      padding: 0 20px;
    }
    .projects_section_box_content_name{
        font-size: 18px;
    }
    .projects_section_box_content_place{
        font-size: 16px;
        margin: 10px 0 29px;
    }
    .projects_section_box_content_services{
        font-size: 14px;
    }
    
    .projects_section_box_content_service{
    }
    .projects_section_box_content_body{
    margin-top: 58px;
    }
    .projects_section_box_img {
        width: 100vw;
        height: auto;
        aspect-ratio: 12 / 9; /* יחס תמונה, שים לב שאפשר להתאים */
        overflow: hidden;
        position: relative;
        order: 0;
      }
      
      .projects_section_box_img img {
        width: 100%;
        height: 133.33%; /* הגדלה של 15% מלמעלה ו-15% מלמטה => 100 / 0.75 */
        object-fit: cover;
        object-position: center;
        transform: translateY(-15%);
        display: block;
      }
      

    .projects_section_box_img img{
        width: 100%!important;
    } 
}
/* EN: center the two intro paragraphs */
html[lang^="en"] .projects_section_title {
    align-items: center;
}
html[lang^="en"] .projects_section_title,
html[lang^="en"] .projects_section_title p {
    text-align: center;
}
