.team-two {
  padding: 40px 0px !important;
}

.team-card,
.team-card__image {
  position: relative;
  border-radius: 10px 10px 0 0;
}
.team-card-two__name a,
.team-card__name a {
  color: inherit;
  background: linear-gradient(to right, currentcolor 0, currentcolor 100%) 0 95%/0
    1px no-repeat;
}
.team-card-two__name a:hover,
.team-card__name a:hover {
  background-size: 100% 1px;
}
.team-card-two__name,
.team-card__name,
.team-details__name {
  font-weight: 700;
  text-transform: capitalize;
}
.team-card {
  padding: 16px 16px 0;
}
.team-card__image {
  overflow: hidden;
  z-index: 1;
}
.team-card__image::after {
  content: "";
  width: 100%;
  height: 47px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  background-color: #fff;
  transition: 0.5s;
}
.team-card__image img {
  width: 100%;
  display: block;
  border-radius: inherit;
}
.team-card__image__shape {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.team-card__image__shape::after,
.team-card__image__shape::before {
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  z-index: 1;
  opacity: 0.8;
  background-color: #fff;
  -webkit-transition-duration: 1.3s;
  -o-transition-duration: 1.3s;
  transition-duration: 1.3s;
}
.team-card__image__shape::before {
  left: 0;
  bottom: 0;
}
.team-card__image__shape::after {
  top: 0;
  right: 0;
}
.team-card:hover .team-card__image::after {
  transform: translateY(105%);
}
.team-card:hover .team-card__image__shape::after,
.team-card:hover .team-card__image__shape::before {
  -webkit-animation: 0.75s shineFullHover;
  animation: 0.75s shineFullHover;
}
.team-card__info {
  width: calc(100% - 80px);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 21.5px 20px 18.5px 29px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0 auto;
  border-radius: 10px;
  transition: 0.5s;
}
@media (max-width: 412px) {
  .team-card__info {
    width: calc(100% - 60px);
  }
}
@media (max-width: 360px) {
  .team-card__info {
    width: 100%;
  }
}
.team-card__info__shape {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  border-radius: inherit;
  background-color: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
.team-card-two__image,
.team-card__info__inner,
.team-card__social {
  position: relative;
  z-index: 1;
}
.team-card__info__shape::before {
  content: "";
  width: 100%;
  height: 0%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0061ff 0%, #45b1bd 100%);
  transition: 0.5s;
}
.team-card__info__shape::after {
  content: "";
  width: 5px;
  height: calc(100% - 52px);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #0061ff 0%, #45b1bd 100%);
  transition: 0.5s;
}
.team-card:hover .team-card__info {
  transform: translateY(-24px);
}
.team-card:hover .team-card__info__shape::before {
  height: 100%;
  top: 0;
}
.team-card:hover .team-card__info__shape::after {
  background-color: #fff;
}
.team-card:hover .team-card__shape::before,
.team-card__shape,
.team-two {
  background-color: v#1d253a;
}
.team-card__social {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.team-card__social__icon {
  display: inline-flex;
  font-size: 20px;
  color: #fff;
  transition: 0.5s;
}
.team-card__social .social-links {
  gap: 8px;
  flex-direction: column;
  margin: auto;
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-150%);
  transition: 0.5s;
}
.team-card__shape::after,
.team-card__shape::before {
  left: 50%;
  transform: translateX(-50%);
  transition: 0.5s;
  position: absolute;
  content: "";
}
.team-card__social .social-links a {
  width: 35px;
  height: 35px;
  border: none;
  background-color: #fff;
}
.team-card__social .social-links a:hover {
  background: linear-gradient(135deg, #0061ff 0%, #45b1bd 100%);
}
.team-card-two .social-links a .social-links__icon,
.team-card__social .social-links a .social-links__icon {
  color: #258bdc;
}
.team-card__social .social-links a:hover .social-links__icon {
  color: #fff;
}
.team-card__social:hover .social-links {
  opacity: 1;
  visibility: visible;
  transform: translateY(-100%);
}
.team-card__name {
  margin-bottom: 2px;
  font-size: 22px;
  color: #222;
  line-height: 1.318;
}
.team-card__name a {
  transition: 0.5s;
}
.team-card__designation {
  margin: 0;
  text-transform: capitalize;
  transition: 0.5s;
}
.team-card-two .social-links a:hover .social-links__icon,
.team-card:hover .team-card__designation,
.team-card:hover .team-card__name {
  color: #fff;
}
.team-card__shape {
  width: 100%;
  height: 266px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px 10px 0 0;
  transition: 0.5s;
  clip-path: polygon(100% 0, 100% 45%, 50% 100%, 0 45%, 0 0);
}
.team-card__shape::before {
  width: 140px;
  height: 16px;
  top: 0;
  z-index: 1;
  background: linear-gradient(135deg, #0061ff 0%, #45b1bd 100%);
  clip-path: polygon(0 0, 100% 0, 75% 100%, 25% 100%);
}
.team-card__shape::after {
  width: calc(100% - 16px);
  height: calc(100% - 8px);
  top: 8px;
  border-radius: inherit;
  background-color: #fff;
}
.team-card-two .social-links a:hover,
.team-card-two__image::before,
.team-card-two__social-icon:hover,
.team-card:hover .team-card__shape {
  background: linear-gradient(135deg, #0061ff 0%, #45b1bd 100%);
}
.team-card-two {
  position: relative;
  margin: 0 9px;
}
@media (max-width: 767px) {
  .team-card-two {
    max-width: 330px;
    margin: 0 auto;
  }
}
@media (max-width: 350px) {
  .team-card-two {
    max-width: 300px;
    margin: 0 auto;
  }
}
.team-card-two__content {
  text-align: center;
  transition: 0.5s;
}
.team-card-two:hover .team-card-two__content {
  transform: translateY(-50px);
}
.team-card-two__image::before {
  content: "";
  width: 100%;
  height: calc(100% - 16px);
  position: absolute;
  top: -50px;
  left: 0;
  opacity: 0;
  transform: translateY(-30%);
  border-radius: 1000px 1000px 0 0;
  transition: 0.5s;
  clip-path: polygon(100% 0, 100% 100%, 50% 40%, 0 100%, 0 0);
}
.team-card-two__image img {
  width: 230px !important;
  height: 230px !important;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid #003e7b;
  background: #c5c6cb;
}
.team-card-two:hover .team-card-two__image::before {
  opacity: 1;
  transform: translateY(0);
}
.team-card-two__info {
  padding: 28px 18px 7px;
  position: relative;
  z-index: 1;
  height: 217.2px;
}
.team-card-two__name {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
  font-weight: bold;
  line-height: 1.2;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 375px) {
  .team-card-two__name,
  .team-card__name {
    font-size: 17px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .team-card__info {
    width: calc(100% - 60px);
  }
  .team-card-two__name,
  .team-card__name {
    font-size: 16px;
  }
}
.team-card-two__name a {
  transition: 0.5s;
}
.team-card-two__designation {
  margin: 0;
  color: #dbdbdb;
  font-size: 13.5px;
  margin-bottom: 5px;
  line-height: 1.2;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-card-two__social-icon {
  width: 44px;
  height: 44px;
  cursor: pointer;
  margin: 0 auto;
  position: absolute;
  border-radius: 50%;
  transition: 0.5s;
  background-color: #fff;
  border: 1px solid #1276ee;
  bottom: 14px;
  left: 0;
  right: 0;
}
.team-card-two__social-icon i {
  font-size: 25px;
  display: block;
  scroll-snap-align: center;
  width: 100%;
  height: 100%;
  align-content: center;
  color: #1276ee;
}
.team-card-two .social-links,
.team-card-two__shape {
  left: 0;
  bottom: 0;
  position: absolute;
  width: 100%;
  transition: 0.5s;
}
.team-card-two__social-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.team-card-two__social-icon:hover::after,
.team-card-two__social-icon:hover::before,
.team-details {
  background: #fff;
}
.team-card-two__social-icon:hover::after {
  opacity: 0;
}
.team-card-two .social-links {
  z-index: 1;
  justify-content: center;
}
.team-card-two .social-links a {
  width: 39px;
  height: 39px;
  border: none;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: 0.6s;
  background-color: #fff;
  border: 1px solid #258bdc;
}
.team-card-two .social-links a:first-child {
  top: -20px;
  transition-delay: 0s;
}
.team-card-two .social-links a:nth-child(2) {
  transition-delay: 50ms;
}
.team-card-two .social-links a:nth-child(3) {
  top: -20px;
  transition-delay: 0.1s;
}
.team-card-two__shape {
  height: calc(100% - 105px);
  /* background-color: #26304a; */
  /* Step 1: Define a rich multi-color blue gradient */
  background: linear-gradient(135deg, #000428 0%, #004e92 100%);

  /* Step 2: Make the background much larger than the container */
  background-size: 400% 400%;

  /* Step 3: Link the animation (15s duration, infinite loop) */
  animation: gradientFlow 15s ease infinite;
  clip-path: polygon(50% 42%, 100% 0, 100% 100%, 51% 89%, 0 100%, 0 0);
}
/* Step 4: Define the movement logic */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.team-card-two__shape::before {
  content: "";
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  position: absolute;
  inset: 0;
  margin: auto;
  clip-path: inherit;
  background-color: v#1d253a;
  background: linear-gradient(135deg, #004e92 0%, #000428 100%);

  transition: 0.5s;
}
.team-card-two:hover .team-card-two__shape {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 51% 89%, 0 100%, 0 0);
  /* animation: gradientFlow 5s ease infinite; */
  animation-duration: 5s;
}
.team-card-two:hover .team-card-two__shape::before {
  width: 100%;
  height: 100%;
  clip-path: inherit;
  background-color: #26304a;
}
.team-details__image img {
  max-width: 100%;
  height: auto;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .team-card__info {
    width: calc(100% - 0px);
  }
  .team-details__image img {
    width: 100%;
    display: block;
  }
}
.team-details__content {
  margin-top: -5px;
}
@media (max-width: 991px) {
  .team-details__content {
    margin-top: 0;
  }
}
.team-details__name {
  margin-bottom: 5px;
  font-size: 22px;
  line-height: 1.272;
}
.team-details__designation {
  margin-bottom: 10px;
}
.team-details__info {
  margin: 0;
  border: 1px solid #ddd;
}
.team-details__info__icon {
  display: inline-flex;
  font-size: 40px;
  color: #e50c37;
  transition: 0.5s;
}
.teacherSwiper {
  padding: 140px 0 50px !important;
}
.team-card-two__social-icon.active,
.team-card-two__social-icon:hover {
  background: linear-gradient(135deg, #0061ff 0%, #45b1bd 100%);
}
.team-card-two__social-icon.active::before,
.team-card-two__social-icon.active::after,
.team-card-two__social-icon:hover::before,
.team-card-two__social-icon:hover::after {
  background-color: #fff;
}
.team-card-two__social-icon.active::after,
.team-card-two__social-icon:hover::after {
  opacity: 0;
}
.team-card-two .social-links a.active {
  opacity: 1;
  transform: translateY(0px);
}

@media (max-width: 576px) {
  .team-card-two .social-links {
    bottom: -75px;
  }
  .teacherSwiper {
    padding-bottom: 100px;
  }
}
.facultyVector1 {
  bottom: -5px;
  left: -20px;
  z-index: -1 !important;
  opacity: 0.5;
  animation: floatX 9s ease-in-out infinite;
}
.facultyVector2 {
  bottom: 100px;
  right: 29px;
  rotate: -72deg;
  width: 163px;
  z-index: -2 !important;
  animation: pulse 9s ease-in-out infinite;
  opacity: 0.5;
}
.slick-list {
  overflow: visible;
}
.team-card-two__social-icon:hover i {
  color: white;
}
/* Custolm */
.team-card-two:hover .team-card-two__content,
.team-card-two.auto-hover .team-card-two__content {
  transform: translateY(-50px);
}

.team-card-two:hover .team-card-two__image::before,
.team-card-two.auto-hover .team-card-two__image::before {
  opacity: 1;
  transform: translateY(0);
}

.team-card-two:hover .team-card-two__shape,
.team-card-two.auto-hover .team-card-two__shape {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 51% 89%, 0 100%, 0 0);
  animation-duration: 5s;
}

.team-card-two:hover .team-card-two__shape::before,
.team-card-two.auto-hover .team-card-two__shape::before {
  width: 100%;
  height: 100%;
  clip-path: inherit;
  background-color: #26304a;
}

.team-card-two:hover .team-card-two__social-icon,
.team-card-two.auto-hover .team-card-two__social-icon {
  background: linear-gradient(135deg, #0061ff 0%, #45b1bd 100%);
}

.team-card-two:hover .team-card-two__social-icon i,
.team-card-two.auto-hover .team-card-two__social-icon i {
  color: #fff;
}
