.elementor-215 .elementor-element.elementor-element-7098737{--display:flex;--min-height:50vh;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--overlay-opacity:0.35;}.elementor-215 .elementor-element.elementor-element-7098737:not(.elementor-motion-effects-element-type-background), .elementor-215 .elementor-element.elementor-element-7098737 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://bakertilly.co.il/wp-content/uploads/2025/04/1G3A6367-copy-scaled.jpg");background-position:0px -387px;background-repeat:no-repeat;background-size:cover;}.elementor-215 .elementor-element.elementor-element-7098737::before, .elementor-215 .elementor-element.elementor-element-7098737 > .elementor-background-video-container::before, .elementor-215 .elementor-element.elementor-element-7098737 > .e-con-inner > .elementor-background-video-container::before, .elementor-215 .elementor-element.elementor-element-7098737 > .elementor-background-slideshow::before, .elementor-215 .elementor-element.elementor-element-7098737 > .e-con-inner > .elementor-background-slideshow::before, .elementor-215 .elementor-element.elementor-element-7098737 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:var( --e-global-color-8c18244 );--background-overlay:'';}.elementor-215 .elementor-element.elementor-element-c959427{--display:flex;}.elementor-215 .elementor-element.elementor-element-c959427:not(.elementor-motion-effects-element-type-background), .elementor-215 .elementor-element.elementor-element-c959427 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-64f0f02 );}.elementor-215 .elementor-element.elementor-element-6b90a2a .leadership-team-container{background-color:var( --e-global-color-64f0f02 );}.elementor-215 .elementor-element.elementor-element-6b90a2a .leadership-team-title{color:#333333;font-size:30px;}.elementor-215 .elementor-element.elementor-element-6b90a2a .team-card{background-color:#ffffff;}.elementor-215 .elementor-element.elementor-element-6b90a2a .modal-content{background-color:#ffffff;}.elementor-215 .elementor-element.elementor-element-6b90a2a .modal-info{background-color:#ffffff;}.elementor-215 .elementor-element.elementor-element-6b90a2a .card-name{color:#333333;}.elementor-215 .elementor-element.elementor-element-6b90a2a .modal-name{color:#333333;}.elementor-215 .elementor-element.elementor-element-6b90a2a .card-title{color:#555555;}.elementor-215 .elementor-element.elementor-element-6b90a2a .modal-title{color:#555555;}.elementor-215 .elementor-element.elementor-element-6b90a2a .modal-bio-short{color:#333333;}.elementor-215 .elementor-element.elementor-element-6b90a2a .modal-experience{color:#333333;}.elementor-215 .elementor-element.elementor-element-6b90a2a .modal-phone{color:#333333;}.elementor-215 .elementor-element.elementor-element-6b90a2a .modal-bio-full{color:#333333;}.elementor-215 .elementor-element.elementor-element-6b90a2a .divider{background-color:#e5e7eb;}.elementor-215 .elementor-element.elementor-element-6b90a2a .linkedin-button{background-color:#0a0a0a;color:#ffffff;}.elementor-215 .elementor-element.elementor-element-6b90a2a .email-button{background-color:#0a0a0a;}.elementor-215 .elementor-element.elementor-element-6b90a2a .email-button svg{stroke:#ffffff;}.elementor-215 .elementor-element.elementor-element-6b90a2a .nav-button{background-color:rgba(255, 255, 255, 0.9);color:#333333;}.elementor-215 .elementor-element.elementor-element-b3726c6{--display:flex;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-215 .elementor-element.elementor-element-7098737:not(.elementor-motion-effects-element-type-background), .elementor-215 .elementor-element.elementor-element-7098737 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:0px 0px;}}@media(max-width:767px){.elementor-215 .elementor-element.elementor-element-7098737:not(.elementor-motion-effects-element-type-background), .elementor-215 .elementor-element.elementor-element-7098737 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:0px 0px;}}/* Start custom CSS for leadership_team, class: .elementor-element-6b90a2a */.modal-image img{
    object-fit: contain !important;
}
.close-button { 
  display:none !important;
}

@media (min-width: 768px) {
    .leadership-team-container.rtl .modal-content {
        flex-direction: row !important;
    }
}


/* Leadership Team Elementor Widget Styles */
.leadership-team-container {
  color: #333;
  line-height: 1.6;
}

.leadership-team-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #333333;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-team-title {
    font-size: 2.5rem;
  }
}

.team-card {
  display: flex;
  background-color: white;
  border-radius: 0.375rem;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.team-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.card-image {
  width: 40%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  width: 60%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-name {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333333;
}

.card-title {
  font-size: 0.875rem;
  color: #555555;
  margin-top: 0.25rem;
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: #0a0a0a;
  border-radius: 9999px;
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  transition: transform 0.2s ease;
}

.linkedin-button:hover {
  transform: scale(1.1);
}

.linkedin-button span {
  font-weight: 600;
  font-size: 0.75rem;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1000;
  overflow: auto;
  transition: background-color 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.modal.active {
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
  visibility: visible;
}

.modal-content {

  position: relative;
  background-color: white;
  margin: 2rem auto;
  width: 90%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

/* On mobile, image first then content */
.modal-image {
  order: 1;
  width: 100%;
  background-color: #f3f4f6;
}

.modal-info {
    
  order: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  background-color: white;
}

@media (min-width: 768px) {
  .modal-content {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .modal-info {
    width: 50%;
    order: 2; /* Reset order for desktop */
  }

  .modal-image {
    width: 50%;
    order: 1; /* Reset order for desktop */
  }
}

.modal.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo {
  text-align: left;
  margin-bottom: 2rem;
  display: none;
}

.logo img {
  height: 30px;
}

.modal-name {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.modal-title {
  color: #555555;
  font-size: 1rem;
  margin-bottom: 0rem;
}

.modal-phone {
  font-size: 1rem;
  margin: 0rem 0;
}

.divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 0.6rem 0;
  width: 100%;
}

.modal-bio-short,
.modal-experience {
  margin: 0rem 0;
}

.modal-bio-full {
  padding: 2rem;
  text-align: left;
  display: block;
  order: 3;
  width: 100%;
  border-top: 1px solid #e5e7eb;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}

.modal-bio-full p {
  margin-bottom: 1rem; direction: rtl;
    text-align: right !important;
}

.modal-bio-full p:last-child {
  margin-bottom: 0;
}

.modal-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: flex-start;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #e5e7eb;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.social-link:hover {
  background-color: #f3f4f6;
}

.social-link.linkedin {
  font-weight: bold;
}

/* Navigation buttons - positioned outside the modal */
.nav-button {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: background-color 0.2s, transform 0.2s, opacity 0.3s ease;
  z-index: 1100;
  opacity: 0;
}

.modal.active .nav-button {
  opacity: 1;
  transition-delay: 0.3s;
}

.nav-button:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 5%;
}

.next {
  right: 5%;
}

@media (min-width: 1200px) {
  .prev {
    left: 15%;
  }

  .next {
    right: 15%;
  }
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transform: scale(0.8);
  transition: background-color 0.2s, transform 0.2s, opacity 0.3s;
}

.modal.active .close-button {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.3s;
}
.close-button{
    display: flex !important;
    flex-direction: column;
    background: white !important;
    opacity: .7 !important;
}
.close-button:hover {
  background-color: white;
  transform: scale(1.1);
}

/* Animation for team cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

/* Staggered animation for team cards */
.team-card:nth-child(1) {
  animation-delay: 0.1s;
}
.team-card:nth-child(2) {
  animation-delay: 0.2s;
}
.team-card:nth-child(3) {
  animation-delay: 0.3s;
}
.team-card:nth-child(4) {
  animation-delay: 0.4s;
}
.team-card:nth-child(5) {
  animation-delay: 0.5s;
}
.team-card:nth-child(6) {
  animation-delay: 0.6s;
}
.team-card:nth-child(7) {
  animation-delay: 0.7s;
}

@media (max-width: 768px) { /* Adjust breakpoint as needed */
    .prev, .next {
        display: none !important;
    }
}

@media (max-width: 768px) { /* Adjust for your mobile breakpoint */
    .leadership-team-container.rtl .close-button {
        left: auto !important;
        right: 1.5rem !important;
    }
}


.email-button{
    width: 3rem !important;
}
.leadership-team-container.rtl .card-social{
    justify-content: flex-start !important;
}/* End custom CSS */