
  .team-wrap .team-img {
    border-radius: px;
    height: 350px; /* Set a fixed height for image containers */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .team-wrap .team-img img {
    height: 100%; /* Ensure images fill the height of the container */
    width: auto; /* Maintain aspect ratio */
    max-width: 100%;
  }
  .team-wrap .team-img .team-social a {
    border-radius: %;
    color: rgba(, );
    background-color: rgba(, );
  }
  .team-wrap .team-img .team-social a:hover {
    color: rgba(, );
    background-color: rgba(, );
  }
  .team-wrap .team-content {
    background-color: rgba(, );
    border-radius: px;
  }
  .team-wrap .team-content {
    {% if module.style.team_content_alignment == 'left' %}text-align: left;{% endif %}
    {% if module.style.team_content_alignment == 'center' %}text-align: center;{% endif %}
    {% if module.style.team_content_alignment == 'right' %}text-align: right;{% endif %}
  }

  .team-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .team-wrap .team-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }
  .team-wrap .team-img img {
    width: 100%;
  }
  .team-wrap .team-img .team-social {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    right: 0;
    text-align: center;
  }
  .team-wrap .team-img .team-social a {
    width: 50px;
    height: 50px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 100%;
    color: #7e7e7e;
    background-color: #fff;
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    margin: 0 5px;
  }
  .team-wrap .team-img .team-social a svg {
    width: 16px;
  }
  .team-wrap .team-img .team-social a svg path {
    fill: currentColor;
    stroke: currentColor;
  }
  .team-wrap .team-img .team-social a:hover {
    color: var(--light-color);
    background-color: var(--primary-color);
  }
  .team-wrap .team-img::before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    border-radius: 10px;
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
  }
  .team-wrap .team-content {
    background-color: #fff;
    z-index: 9;
    position: relative;
    margin: -65px 40px 0;
    border-radius: 10px;
    padding: 35px 20px 28px;
    text-align: center;
    -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
  .team-wrap .team-content h3 {
    margin: 0 0 7px;
  }
  .team-wrap .team-content .team-phone {
    display: flex;
    align-items: center;
    justify-content: center; /* Adjust this as needed */
    margin-top: 8px; /* Adds a little space between the designation and the phone number */
  }
  .team-wrap .team-content .team-phone svg,
  .team-wrap .team-content .team-phone i {
    margin-right: 8px; /* Adds space between the icon and the text */
  }
  .team-wrap:hover .team-img::before {
    opacity: .4;
    visibility: visible;
  }
  .team-wrap:hover .team-img .team-social a {
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    visibility: visible;
    opacity: 1;
  }

  @media only screen and (min-width: 992px) and (max-width: 1199px) {
    .team-area.dnd_area-row-6-margin {
      margin-top: 130px !important;
    }
    .team-wrap .team-content {
      margin: -65px 15px 0;
      padding: 35px 20px 28px;
    }
  }
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .team-area.dnd_area-row-6-margin {
      margin-top: 130px !important;
    }
    .team-wrap .team-content {
      margin: -30px 10px 0;
      padding: 35px 10px 28px;
    }
    .team-wrap .team-img .team-social a {
      height: 40px;
      width: 40px;
    }




