/* Overlay styling */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 9999;
}

/* Hidden class */
.hidden {
  display: none;
}

/* Modal box */
.modal.team-modal {
  background-color: white;
  padding: 0;
  border-radius: 0;
  position: relative;
  max-width: 100%;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  animation: fadeInUp 0.3s ease-in-out;
  z-index: 1000;
  @media screen and (min-width: 576px) {
    width: 700px;
    height: auto;
    max-height: calc(100% - 1.5rem);
    max-width: calc(100% - 1.5rem);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
  
}

.modal .modal-header {
  position: absolute;
  top: 0;
  inset-inline: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-end;
}
.modal .modal-header .modal-title {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}
.modal .modal-header button.closeBtn {
  background-color: unset;
  border-color: unset;
  font-size: 14px;
  padding: 4px;
  margin: 0;
  cursor: pointer;
  color: #000;
  font-family: "Poppins";
  width: 30px;
  height: 30px;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  /* border: 1px solid #000;
  border-radius: 100%; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ffffff;
  border-radius: 50%;
  z-index: 1;
  @media screen and (min-width: 768px) {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
.modal .modal-header button.closeBtn i {
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

@media (hover: hover) {
  .modal.team-modal .modal-header button.closeBtn:hover {
    color: #3a1219;
    border-color: #3a1219;
  }
  .modal.team-modal .modal-header button.closeBtn:hover i {
    /* -webkit-transform: scale(1.05);
            transform: scale(1.05); */
  }
}
.elementor-widget-wac-our-team {
  overflow: hidden;
}
.elementor-widget-wac-our-team .team-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: -30px;
  margin-inline: -15px;
  @media screen and (min-width: 1200px) {
    margin-inline: -50px;
  }
}
.elementor-widget-wac-our-team .team-wrapper .team-box {
  position: relative;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  max-width: 100%;
  margin-top: 30px;
  padding-inline: 15px;
}

@media (min-width: 768px) {
  .elementor-widget-wac-our-team .team-wrapper .team-box {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 1024px) {
  .elementor-widget-wac-our-team .team-wrapper .team-box {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
            flex: 0 0 25%;
    max-width: 25%;
  }
}
@media screen and (min-width: 1200px) {
  .elementor-widget-wac-our-team .team-wrapper .team-box {
    padding-inline: 50px;
  }
}
.elementor-widget-wac-our-team .team-wrapper .team-box .team-inner-box{
  position: relative;
}
.elementor-widget-wac-our-team .team-wrapper .team-box .team-modal-btn {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
@media (hover: hover) {
  .elementor-widget-wac-our-team .team-wrapper .team-box:hover .image-box img {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}
.elementor-widget-wac-our-team .team-wrapper .team-box .image-box {
  position: relative;
  overflow: hidden;
}
.elementor-widget-wac-our-team .team-wrapper .team-box .image-box::after {
  content: "";
  position: relative;
  width: 100%;
  display: block;
  padding-bottom: 125.1655629139%;
}
.elementor-widget-wac-our-team .team-wrapper .team-box .image-box > img, .elementor-widget-wac-our-team .team-wrapper .team-box .image-box > picture, .elementor-widget-wac-our-team .team-wrapper .team-box .image-box > video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
.elementor-widget-wac-our-team .team-wrapper .team-box .image-box > img img, .elementor-widget-wac-our-team .team-wrapper .team-box .image-box > picture img, .elementor-widget-wac-our-team .team-wrapper .team-box .image-box > video img {
  width: 100%;
  height: 100%;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.elementor-widget-wac-our-team .team-wrapper .team-box .image-box img {
  will-change: transform;
  -webkit-transition: 0.3s -webkit-transform ease-in-out;
  transition: 0.3s -webkit-transform ease-in-out;
  transition: 0.3s transform ease-in-out;
  transition: 0.3s transform ease-in-out, 0.3s -webkit-transform ease-in-out;
}
.elementor-widget-wac-our-team .team-wrapper .team-box .widget-heading {
  margin-top: 16px;
}
.elementor-widget-wac-our-team .team-wrapper .team-box .widget-heading .title {
  margin: 0;
  color: #FFFCE4;
  font-family: "Poppins", Sans-serif;
  /* font-size: 21px;
  font-weight: 300;
  line-height: 27.3px;
  letter-spacing: 0.4px; */

  font-weight: 300;
  font-size: 20px;
  line-height: 27.3px;
  letter-spacing: 0.3px;

}
.elementor-widget-wac-our-team .team-wrapper .team-box .designation {
  margin-top: 5px;
}
.elementor-widget-wac-our-team .team-wrapper .team-box .designation p {
  margin: 0;
  color: #859C88;
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.team-modal .modal-body {
  /* margin-top: 24px; */
  height: 100%;
}
.team-modal .team-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 16px;
     -moz-column-gap: 16px;
          column-gap: 16px;
  flex-direction: column;
  height: 100%;
}
.team-modal .team-details .image-box {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 40%;
          flex: 0 0 40%;
  max-width: 40%;
  position: relative;
}
.team-modal .team-details .image-box::after {
  content: "";
  position: relative;
  width: 100%;
  display: block;
  padding-bottom: 100%;
}
.team-modal .team-details .image-box > img, .team-modal .team-details .image-box > picture, .team-modal .team-details .image-box > video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
.team-modal .team-details .image-box > img img, .team-modal .team-details .image-box > picture img, .team-modal .team-details .image-box > video img {
  width: 100%;
  height: 100%;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.team-modal .team-details .content-wrap {
  width: 100%;
  padding: 30px 0.75rem 20px;
  flex: 1;
  /* overflow-x: hidden;
  overflow-y: auto; */
  @media screen and (min-width: 576px) {
    padding: 40px 40px 40px;
  }
}

.content-wrap .content {
  margin: 0;
}
.content-wrap .content:not(:first-child) {
  margin-top: 10px;
}

.team-details-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 50px 0.75rem 0;
  background: #f4f4f4;
  @media screen and (min-width: 576px) {
    padding: 40px 40px 0;
  }
  @media screen and (min-width: 768px) {
    padding: 40px 60px 0;
  }
}

.member-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-right: 30px;
}

.member-name {
  text-transform: none !important;
  font-weight: 400 !important;
  margin-top: 0;
  margin-bottom: 10px;
}

.member-designation {
  color: var(--e-global-color-text);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 0;
}

.member-phone-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--e-global-color-text);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
    margin-top: 10px;
    margin-bottom: 0;
}
.member-phone-wrapper .elementor-icon-list-icon {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #182e1a24;
    color: #fff;
    padding: 8px;
}
.member-phone-wrapper .member-phone {

}