.image img {
  width: 100%;
  aspect-ratio: 9/10.25;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.team-row {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}

.team-posrt .team-content-wrapper {
  position: absolute;
  bottom: 20px;
  z-index: 1;
  left: 0;
  right: 0;
  background-color: #0c7c6fcc;
  display: flex;
  align-items: center;
  padding-right: 13px;
  transition: 0.3s;
}

.team-posrt > div {
  position: relative;
  overflow: hidden;
}

.team-posrt .team-content-wrapper button {
  border: none;
  background-color: transparent;
  color: #fff;
  text-align: left;
  padding: 10px;
  flex: 1;
  margin-right: 13px;
  transition: 0.3s;
}

.team-posrt .team-content-wrapper a {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  font-size: 22px;
  position: relative;
  right: -64px;
  transition: 0.3s;
}

.team-posrt > div:hover .team-content-wrapper {
  background-color: var(--c-primary);
}

.team-posrt > div:hover .team-content-wrapper a {
  right: 0;
}

.team-posrt .team-content-wrapper a:hover {
  background-color: #000;
  color: #fff;
  text-decoration: none;
}

.team-posrt > div:hover .team-content-wrapper button {
  background-color: #000;
}

.team-posrt .team-content-wrapper button :is(h4, .fonts-3) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-bottom: 0px;
}

.secondary-desintion {
  position: absolute;
  bottom: 100%;
  background-color: #0d6b8c;
  color: #fff;
  padding: 2px 7px;
}

.half-slider .slick-list::before {
  background-color: #edf5ff;
}

.team-modal {
  --bs-modal-width: 590px;
}

.team-modal .modal-header {
  color: #fff;
  border-radius: 0;
}

.team-modal .modal-image.image {
  flex: 0 0 auto;
  max-width: 126px;
}

.team-modal .modal-head-wrapper {
  flex: 1;
  margin-left: 22px;
}

.team-modal .modal-head-wrapper .modal-designation {
  font-weight: 400;
  margin-bottom: 12px;
  margin-top: 3px;
}

.social-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  font-size: 15px;
  transition: 0.3s;
}

.social-link:hover {
  background-color: #000;
  color: #fff;
  text-decoration: none;
}

.team-modal .modal-content {
  border-radius: 0;
  background-color: #fff;
}

.team-modal .btn-close {
  position: absolute;
  right: 12px;
  top: 16px;
  font-size: 30px;
  background-image: none;
  color: #fff;
  opacity: 0.3;
  padding: 0;
  line-height: 1;
  transition: 0.3s;
}


.team-modal .btn-close:hover {
  opacity: 1;
}


.social-iconsocial-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  font-size: 14px;
  transition: 0.3s;
}

.social-iconsocial-link:hover {
  background-color: #000;
  color: #fff;
  text-decoration: none;
}

.team-desination p {
  margin-bottom: 0;
}

.team-desination > div {
  position: absolute;
  bottom: 100%;
  z-index: 9;
  padding: 3px 10px;
  background-color: #0d6b8c;
  left: 0;
  font-family: "Poppins";
  font-weight: 200;
  font-size: 17px;
}

.team-desination > div b {
  font-weight: 400;
}

.team-modal .modal-head-wrapper .modal-designation p {
  margin-bottom: 0;
}

.team-modal .modal-head-wrapper .modal-designation > div {
  background-color: #ffffff9c;
  display: inline-block;
  color: #128b7d;
  padding: 3px 9px 4px;
  margin-bottom: 5px;
  font-family: "Poppins";
  font-weight: 300;
}

.team-modal .modal-head-wrapper .modal-designation > div > b {
  font-weight: 500;
}

.modal-body.text-wrapper > :not(:last-child)
{
  margin-bottom: 10px;
}

.team-posrt .image
{
  cursor: pointer;
}

@media (max-width: 1400px) {
  .team-posrt .image img {
    aspect-ratio: 9/9;
  }
}
