/*  -----TEAM-----  */
.team{
  padding: 100px 0 !important;
}
.team-member {
  position: relative;
  overflow: hidden;
}
.team-member img {
  width: 100%;
  height: auto;
  display: block;
}
.name-slide {
  position: absolute;
  top: 0;
  height: 100%;
  width: 40px;
  background-color: #022f59;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 1px;
  transition: left 0.4s ease;
  z-index: 2;
}
.icon-box {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  background-color: #022f59;
  padding: 10px;
  border-radius: 8px 0 0 8px;
  transition: right 0.5s ease;
  z-index: 1;
}
.team-member:hover .icon-box {
  right: 0;
}
.team .social-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.team .social-icons a {
  color: #fff;
  font-size: 18px;
  transition: transform 0.3s ease;
}
.team .social-icons a:hover {
  transform: scale(1.3);
}