/*==============================================*/
/*============== BANNER ==================*/
/*==============================================*/

.ourteam-banner {
  padding: 100px 0 70px;
}

.ourteam-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ourteam-banner-img img {
  border-radius: 0px;
}

.ourteam-banner-box {
  background-color: #ffffff;
  position: absolute;
  transform: translate(-10%, -128%);
  padding: 40px 70px;
  border-radius: 6px;
  max-width: 760px;
  height: auto;
  background-image: url(../images/ourteam_banner_bg.svg),
    url(../images/ourteam_banner_bg_left.png);
  background-repeat: no-repeat;
  background-position: right calc(50% - 50px), left calc(50% - -50px);
} 
/* 
.ourteam-banner-box {
  position: absolute;
  transform: translate(-10%, -128%);
  padding: 40px 70px;
  border-radius: 6px;
  max-width: 760px;
  background: white;
  z-index: 2;
}

.ourteam-banner-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../images/ourteam_banner_bg.svg);
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
 */
.ourteam-banner-title {
  line-height: 1.2;
}

.ourteam-banner-sub_title {
  color: #3981e0;
  font-size: 18px;
  line-height: 1.5;
  margin-top: 24px;
}

@media screen and (max-width: 768px) {
  .ourteam-banner {
    padding: 0;
    position: relative;
    width: 100%;
    height: 250px;
  }

  img#ourteam-banner_img {
    width: 100%;
    border-radius: 0;
    height: 100%;
    object-fit: cover;
  }

  .ourteam-banner-img img {
    border-radius: 0px;
  }

  .ourteam-banner-box {
    transform: none !important;
    position: absolute;
    bottom: 20px;
    right: 20px;
    height: auto !important;
    min-height: auto !important;
    padding: 20px 30px;
  }

  .ourteam-banner-title {
    max-width: 210px;
    font-size: 27px;
    line-height: 1.3;
  }

  .ourteam-banner-sub_title {
    font-size: 16px;
    margin-top: 10px;
  }
}

/*===============================================*/
/*=============== TOGETHER ==================*/
/*===============================================*/
.together_content {
  display: flex;
  justify-content: center;
  padding: 0;
  gap: 100px;
}

.together_sub_title {
  margin-top: 25px;
}

.together_body {
  max-width: 50%;
}

@media screen and (max-width: 768px) {
  .together_content {
    padding: 20px 0;
    gap: 20px;
    flex-direction: column;
  }

  .together_sub_title {
    margin-top: 25px;
  }

  .together_body {
    max-width: 100%;
  }
}

/*===============================================*/
/*=============== ADMINISTRATION ==================*/
/*===============================================*/
.administration_bg {
  background: #f2f6f9;
  background-size: cover;
  position: relative;
  height: 500px;
  width: 100vw;
}

.administration {
  background: linear-gradient(
    to bottom,
    white 0%,
    white 50%,
    #f2f6f9 50%,
    #f2f6f9 100%
  );
  padding: 100px 50px;
  position: relative;
}

.administration_container {
  background: #3981e0;
  padding: 71px 0px;
  position: relative;
  z-index: 1000;
  width: 95%;
  max-width: 1714px;
  margin: 0 auto;
}

.administration_title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid #fff;
  padding-bottom: 71px;
}

.administration_box {
  background: #fff;
  padding: 60px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 90%;
  max-width: 1347px;
  margin: 65px auto;
  transition: transform 4s ease-out;
}

.administration_box:hover {
  transform: scale(0.9);
}

.administration_box_img {
  width: 100%;
}

.administration_box_content_name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  margin: 40px 0 10px;
}

.administration_boxs {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 0;
  align-items: center;
  justify-content: space-evenly;
  max-width: 1000px;
  margin: 118px auto;
}

.administration_boxs_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  transform-origin: left;
  transform: scale(0);
  transition: transform 1.2s;
 
}

.administration_boxs_item_img {
  position: relative;
  display: inline-block;
}

.administration_boxs_item_img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.administration_boxs_item_img:hover::before {
  background-color: #3981e085;
}

.administration_boxs_item_img {
  max-width: 265px;
  max-height: 265px;
}

.administration_boxs_item_name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
}

.administration_boxs_item_role {
  color: #ffffff;
  text-align: center;
  max-width: 150px;
}

@media screen and (max-width: 768px) {
  .administration_bg {
    background: #f2f6f9;
    background-size: cover;
    position: relative;
    height: 500px;
    width: 100vw;
  }

  .administration {
    background: linear-gradient(
      to bottom,
      white 0%,
      white 50%,
      #f2f6f9 50%,
      #f2f6f9 100%
    );
    padding: 0;
    position: relative;
  }

  .administration_container {
    padding: 40px 20px;
    z-index: 1000;
    width: 95%;
    max-width: 95%;
  }

  .administration_title {
    font-size: 20px;
    line-height: 1.4;
    padding-bottom: 40px;
  }

  .administration_box {
    padding: 20px;
    flex-direction: column;
    gap: 40px;
    width: 90%;
    max-width: 90%;
  }

  .administration_box_img {
    width: 120px;
  }

  .administration_box_content_text {
    text-align: center;
  }

  .administration_box_content_role {
    text-align: right;
  }

  html[lang^="en"] .administration_box_content_name,
  html[lang^="en"] .administration_box_content_role {
    text-align: left;
  }

  .administration_box_content_name {
    font-size: 18px;
    margin: 40px 0 10px;
    text-align: right;
  }
  .administration_boxs_item {
    height: 214px;
    justify-content:space-between;
  }

  .administration_boxs_item_img {
    max-width: 119px;
    max-height: 119px;
  }

  .administration_boxs_item_name {
    font-size: 18px;
  }
}

/*===============================================*/
/*=============== OUTSTANDING ==================*/
/*===============================================*/
.outstanding_employeesr {
  background: #f2f6f9;
  position: relative;
  padding-top: 84px;
  padding-bottom: 184px;
}

.outstanding_employeesr_box_content {
  width: 60%;
}

.outstanding_employeesr_title {
  text-align: center;
  font-size: 26px;
}

.outstanding_employeesr_text {
  text-align: center;
  max-width: 80%;
  margin: 50px auto;
}

.outstanding_employeesr_boxs {
  margin-top: 127px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.outstanding_employeesr_box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  width: calc(33% - 20px);
  max-width: 463px;
  padding: 30px;
  border-radius: 6px;
  gap: 30px;
  box-sizing: border-box;
  transform-origin: left;
  transform: scale(0);
  transition: transform 1.2s;
}

.outstanding_employeesr_box_img {
  max-width: 185px;
}

.outstanding_employeesr_box_name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .outstanding_employeesr {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .outstanding_employeesr_text {
    max-width: 100%;
  }

  .outstanding_employeesr_boxs {
    margin-top: 50px;
  }

  .outstanding_employeesr_box {
    padding: 20px;
    gap: 10px;
    width: 100%;
  }

  .outstanding_employeesr_box_img {
    max-width: 119px;
  }

  .outstanding_employeesr_box_name {
    font-size: 18px;
  }
}

/*===============================================*/
/*=============== VOLUNTEERING ==================*/
/*===============================================*/
.volunteering {
  background-image: url(../images/volunteering_bg.svg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 200px 5%;
  position: relative;
}

.volunteering_box {
  background: #fff;
  padding: 50px;
  border-radius: 6px;
  position: relative;
  background: #3981e0;
  max-width: 790px;
  transform: none;
}

.volunteering_box_title,
.volunteering_box_sub_title,
.volunteering_box_text p {
  color: #fff;
}

.volunteering_box_sub_title {
  margin: 20px 0 20px;
}

@media screen and (max-width: 768px) {
  .volunteering {
    background-image: url(../images/volunteering_mobile_bg.svg);
    padding: 200px 0;
  }

  .volunteering_box {
    padding: 20px;
    max-width: 90%;
    height: auto;
    transform: translate(-5%, 55%);
  }

  .volunteering_box_sub_title {
    margin: 20px 0 20px;
  }
}

/*===============================================*/
/*=============== ORGANIZATIONS ==================*/
/*===============================================*/
.organizations {
  padding: 103px 0;
  position: relative;
}

.organizations_content {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  max-width: 508px;
}

.organizations_slider {
  margin-top: 93px;
  padding: 20px;
  border-radius: 6px;
  display: flex;
  cursor: pointer;
}

.organizations_slider .swiper-wrapper{
    align-items: stretch;
}

.organizations_slider .swiper-slide{
    height: auto;
    align-self: stretch;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.organizations_slider {
  position: relative;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 70%;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  border-radius: 0;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: translateY(-50%) scale(1.3);
}

.organizations_box_item_content {
  background: #f2f6f9;
  padding: 30px;
  border-radius: 6px;
  height: 100%;
}

.organizations_box_item_name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: #3981e0;
}

.organizations_box_item_text {
  margin: 25px 0;
  min-height: 81px;
  max-width: 353px;
}

.popup_overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup_wrapper {
  background: white;
  width: 90%;
  max-width: 1499px;
  position: relative;
  border-radius: 6px;
  height: 644px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
}

.popup_close {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
  z-index: 5;
}

.popup_slide {
  display: flex;
  gap: 100px;

  img {
    height: 644px;
  }
}

.popup_slide_content {
}

.popup_slide_content_name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: #3981e0;
  margin: 161px 0 33px;
}

.popup_slide_content_text {
  max-width: 528px;
}

.popup_button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.popup-button-prev,
.popup-button-next {
  position: absolute;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1;
  top: 200px;
}

.popup-button-prev {
  left: 22%;
}

@media screen and (max-width: 768px) {
  .organizations {
    padding: 103px 0;
  }

  .organizations_content {
    font-size: 18px;
    max-width: 100%;
  }

  .organizations_slider {
    margin-top: 50px;
  }

  .organizations_box_item_content {
    padding: 20px;
  }

  .organizations_box_item_name {
    font-size: 18px;
  }

  .organizations_box_item_text {
    margin: 25px 0;
    min-height: 81px;
    max-width: 100%;
  }

  .popup_overlay {
  }

  .popup_wrapper {
    max-width: 100%;
    height: auto;
    overflow-y: auto;
    gap: 20px;
    flex-direction: column;
    width: 100vw !important;
    margin: 0;
    padding: 0;
  }

  .popup_slide {
    gap: 20px;
    flex-direction: column;
    height: 100vh;

    img {
      height: 100%;
      width: 100vw;
    }
  }

  .popup_slide_img {
    width: 100%;
  }

  .popup_slide_content {
    padding: 100px 20px;
  }

  .popup_slide_content_name {
    font-size: 18px;
    margin: 20px;
  }

  .popup_slide_content_text {
    max-width: 100%;
  }

  .popup_button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .popup-button-prev,
  .popup-button-next {
    position: absolute;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1;
    top: 450px;
  }

  .popup-button-prev {
    left: 10px;
  }
  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    display: none;
  }

  .swiper-button-next {
    right: 10px !important;
  }
  .swiper-button-prev {
    left: 10px !important;
  }
}

/*===============================================*/
/*=============== COMMUNITIES ==================*/
/*===============================================*/
.communities {
  padding: 100px 0;
  background: #f2f6f9;
}

.electricity_community_container,
.air_conditioning_community {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 100px;
}

.air_conditioning_community {
  margin-top: 120px;
}

.electricity_community_content,
.air_conditioning_community_content {
  max-width: 50%;
}

.electricity_community_big_img {
  position: relative;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s ease-out;
}

.electricity_community_small_img {
  position: absolute;
  transform: translate(25%, -25%);
  z-index: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s ease-out;
}

.air_conditioning_community_big_img {
  position: relative;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s ease-out;
}

.air_conditioning_community_small_img {
  position: absolute;
  transform: translate(25%, 130%);
  z-index: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s ease-out;
}

.electricity_community_body,
.air_conditioning_community_body {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .communities {
    padding: 50px 0;
  }

  .electricity_community_flex,
  .air_conditioning_community_flex {
    width: 100%;
  }

  .electricity_community_container,
  .air_conditioning_community {
    flex-direction: column;
    gap: 30px;
  }

  .electricity_community_content,
  .air_conditioning_community_content {
    max-width: 100%;
    order: 1;
  }

  .electricity_community_small_img {
    position: relative;
    transform: translate(-240%, 340%);
    width: 110px;
  }


  .air_conditioning_community_big_img,
  .electricity_community_big_img {
    width: 100%;
    height: auto;
    aspect-ratio: 12 / 9; /* יחס תמונה, שים לב שאפשר להתאים */
    /* overflow: hidden;
    position: relative; */
    order: 0;
    object-fit: cover;
  }
  
  .air_conditioning_community_big_img img,
  .electricity_community_big_img img {
    width: 100%;
    height: 291px; 
    object-fit: cover;
    display: block;
  }
  
  .air_conditioning_community_small_img {
    display: none;
    position: relative;
    transform: translate(-20%, -65%);
    order: 0;
    width: 110px;
  }

  .electricity_community_body,
  .air_conditioning_community_body {
    margin: 20px 0;
  }
}
