.team {
  padding: 6rem 0;
}
@media (max-width: 901px) {
  .team {
    padding: 3rem 0;
  }
}
.team-wrapper {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}
.team-wrapper .top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.btn {
    border-radius: 10px;
    padding: 4px 10px!important;
}
.team-wrapper .top h2 {
  font-size: 1.8rem;
  color: #0084da;
  font-weight: 500;
  position: relative;
}
.team-wrapper .top h2::after {
  content: "";
  position: absolute;
  bottom: 1rem;
  left: 6rem;
  background-color: #0084da;
  z-index: 4;
  width: 6rem;
  height: 0.2rem;
}
.team-wrapper .top h2::before {
  content: "";
  position: absolute;
  bottom: 1rem;
  right: 6rem;
  background-color: #0084da;
  z-index: 4;
  width: 6rem;
  height: 0.2rem;
}
.team-wrapper .top h1 {
  font-size: 5rem;
  color: #000000;
  font-family: "gilroy-bold";
}
@media (max-width: 1040px) {
  .team-wrapper .top h1 {
    font-size: 4rem;
  }
}
@media (max-width: 901px) {
  .team-wrapper .top h1 {
    font-size: 3rem;
  }
}
.team-wrapper .swiper {
  width: 100%;
  height: 8rem;
}
.team-wrapper .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.team-wrapper .swiper-slide img {
  width: 100%;
  height: 8rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.team {
  width: 100%;
  padding: 6rem 0;
}
@media (max-width: 901px) {
  .team {
    padding: 3rem 0;
  }
}
.team-wrapper {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}
.team-wrapper .top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.team-wrapper .top h2 {
  font-size: 1.8rem;
  color: #131314;
  font-weight: 500;
  position: relative;
}
.team-wrapper .top h2::after {
  content: "";
  position: absolute;
  bottom: 1rem;
  left: 110%;
  background-color: #ebebeb;
  z-index: 4;
  width: 6rem;
  height: 0.2rem;
}
.team-wrapper .top h2::before {
  content: "";
  position: absolute;
  bottom: 1rem;
  right: 110%;
  background-color: #ebebeb;
  z-index: 4;
  width: 6rem;
  height: 0.2rem;
}
.team-wrapper .top h1 {
  font-size: 5rem;
  color: #000000;
  font-weight: 700;
}
@media (max-width: 1040px) {
  .team-wrapper .top h1 {
    font-size: 4rem;
  }
}
@media (max-width: 901px) {
  .team-wrapper .top h1 {
    font-size: 3rem;
  }
}
.team-wrapper .typeall {
  width: 100%;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
     align-items: center;
    justify-content: center;
}
.team-wrapper .typeall .btn {
  cursor: pointer;
}
.team-wrapper .card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  grid-gap: 2rem;
  width: 100%;
}
@media (max-width: 901px) {
  .team-wrapper .card-wrapper {
    grid-gap: 2rem;
  }
}
@media (max-width: 768px) {
  .team-wrapper .card-wrapper {
    grid-gap: 1.5rem;
  }
}
.team-wrapper .card-wrapper .card {
  display: flex;
  border-radius: 1rem;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem;
  padding-bottom: 0;
  width: 100%;
  display: none;
}
.team-wrapper .card-wrapper .card-active {
  display: block;
}
.team-wrapper .card-wrapper .card:hover .img-wrapper img {
  transform: scale(1.1);
}
.team-wrapper .card-wrapper .card:hover .content::before {
  width: 100%;
  height: 0.3rem;
}
.team-wrapper .card-wrapper .card:hover .content .overlay {
  transform: scaleY(1);
  opacity: 1;
  visibility: visible;
}
.team-wrapper .card-wrapper .card:hover .content .overlay .name {
  opacity: 1;
  visibility: visible;
}
.team-wrapper .card-wrapper .card:hover .content .overlay h4 {
  opacity: 1;
  visibility: visible;
}
.team-wrapper .card-wrapper .card:hover .content .overlay .icons {
  opacity: 1;
  visibility: visible;
}
.team-wrapper .card-wrapper .card .img-wrapper {
  width: 100%;
  height: 13rem;
  overflow: hidden;
  border-radius: 1rem;
}
.team-wrapper .card-wrapper .card .img-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.8s ease-in-out;
}
.team-wrapper .card-wrapper .card .content {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
padding: 2rem 1.5rem;
position: relative;
width: 92%;
background: #fff;
box-shadow: 0px 0px 50px rgb(0 0 0 / 20%);
margin-left: 4%;
border-radius: 20px;
margin-top: -50px;
overflow: hidden;
}
.team-wrapper .card-wrapper .card .content::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 6;
  width: 0;
  height: 0;
  background-color: #0084da;
  transition: width 0.8s ease-in-out;
}
.team-wrapper .card-wrapper .card .content .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 0.5rem;
  transition: all 0.4s ease;
  background-color: #000;
  opacity: 0;
  z-index: 4;
  transform: scaleY(0);
  transform-origin: bottom;
  visibility: hidden;
}
.team-wrapper .card-wrapper .card .content .overlay .name {
  color: #ffffff;
  font-size: 2rem;
  opacity: 0;
  visibility: hidden;
}
.team-wrapper .card-wrapper .card .content .overlay h4 {
  font-size: 1.5rem;
  color: #0084da;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
}
.team-wrapper .card-wrapper .card .content .overlay .icons {
  opacity: 0;
  visibility: hidden;
}
.team-wrapper .card-wrapper .card .content .type-button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.team-wrapper .card-wrapper .card .content a {
font-size: 1rem;
color: #0084da;
font-weight: 500;
background-color: #ffffff;
}
.team-wrapper .card-wrapper .card .content a span {
font-size: 1rem;
transform: translateX(0);
transition: all 0.3s ease;
}
.team-wrapper .card-wrapper .card .content a:hover {
  color: #000000;
  position: relative;
}
.team-wrapper .card-wrapper .card .content a:hover span {
  transform: translateX(5rem);
  font-size: 1rem;
}
.team-wrapper .card-wrapper .card .content h3 {
font-size: 1rem;
padding: 0.3rem 1.5rem;
color: #ffffff;
font-weight: 500;
background-color: #0084da;
}
.team-wrapper .card-wrapper .card .content h2 {
  font-size: 2.3rem;
  color: #000000;
  font-weight: 700;
}
.team-wrapper .card-wrapper .card .content .icons {
  margin-top: 1rem;
  font-size: 1.7rem;
  color: #0084da;
  display: flex;
  gap: 2rem;
}