/* Team */
.unlockafe-team-wrap {
  margin-bottom: 24px;
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.unlockafe-team-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.unlockafe-team-wrap .team-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 12px 12px 0 0;
}

.unlockafe-team-wrap .team-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: all 0.3s ease;
  border-radius: 12px 12px 0 0;
}

.unlockafe-team-wrap .team-img .team-hover ul {
  margin: 0;
}

.unlockafe-team-wrap .team-img .team-hover {
  background: rgba(7, 19, 17, 0.9);
  height: 0;
  width: 90%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Make hover elements visible in editor preview mode */
.elementor-editor-active .unlockafe-team-wrap .team-img .team-hover {
  height: 90%;
  opacity: 1;
  visibility: visible;
}

.unlockafe-team-wrap .team-img .team-hover ul {
  border: 1.2px solid;
  border-image-source: linear-gradient(117.77deg,
      #fbae3d 0%,
      rgba(251, 174, 61, 0) 36.23%,
      rgba(251, 174, 61, 0) 65.79%,
      #fbae3d 100%);
  border-image-slice: 1;
  background-color: #191a20;
  padding: 9px 24px;
  transition: all 0.5s;
  visibility: hidden;
}

/* Make social icons visible in editor preview mode */
.elementor-editor-active .unlockafe-team-wrap .team-img .team-hover ul {
  visibility: visible;
}

.unlockafe-team-wrap .team-img .team-hover ul li {
  display: inline-block;
  margin-right: 10px;
}

.unlockafe-team-wrap .team-img .team-hover ul li:last-child {
  margin-right: 0;
}

.unlockafe-team-wrap .team-img .team-hover ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.unlockafe-team-wrap .team-img .team-hover ul li a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.unlockafe-team-wrap .team-img .team-hover ul li i,
.unlockafe-team-wrap .team-img .team-hover ul li svg {
  font-size: 20px;
  color: #fff;
  fill: #fff;
  transition: all 0.3s;
  width: 20px;
  height: 20px;
}

.unlockafe-team-wrap .team-img .team-hover ul li a:hover i,
.unlockafe-team-wrap .team-img .team-hover ul li a:hover svg {
  color: #fff;
  fill: #fff;
  transform: scale(1.1);
}

.unlockafe-team-wrap .team-content {
  margin-top: 0;
  padding: 20px;
  text-align: center;
  background: #fff;
}

.unlockafe-team-wrap .team-content p {
  font-size: 15px;
  color: #666;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.unlockafe-team-wrap .team-content h1,
.unlockafe-team-wrap .team-content h2,
.unlockafe-team-wrap .team-content h3,
.unlockafe-team-wrap .team-content h4,
.unlockafe-team-wrap .team-content h5,
.unlockafe-team-wrap .team-content h6 {
  font-weight: 700;
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  transition: all 0.4s;
}

.unlockafe-team-wrap .team-content h1 a,
.unlockafe-team-wrap .team-content h2 a,
.unlockafe-team-wrap .team-content h3 a,
.unlockafe-team-wrap .team-content h4 a,
.unlockafe-team-wrap .team-content h5 a,
.unlockafe-team-wrap .team-content h6 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.unlockafe-team-wrap .team-content h1 a:hover,
.unlockafe-team-wrap .team-content h2 a:hover,
.unlockafe-team-wrap .team-content h3 a:hover,
.unlockafe-team-wrap .team-content h4 a:hover,
.unlockafe-team-wrap .team-content h5 a:hover,
.unlockafe-team-wrap .team-content h6 a:hover {
  color: #667eea;
}

.unlockafe-team-wrap:hover .team-img .team-hover {
  background: rgba(7, 19, 17, 0.9);
  height: 90%;
  opacity: 1;
  visibility: visible;
}

.unlockafe-team-wrap:hover .team-img .team-hover ul {
  visibility: visible;
}

.unlockafe-team-wrap:hover .team-img img {
  transform: scale(1.05);
}

/* Design 1 end */
.unlockafe-team-slide-box {
  text-align: center;
}

.unlockafe-team-slide-box .team-slide-img {
  height: 400px;
}

.unlockafe-team-slide-box .team-slide-img .team-slide-hover {
  overflow: hidden;
  border-radius: 3px;
  bottom: 30px;
  background-color: #fff;
  left: 50%;
  transform: translate(-50%, 10px) scale(0.85);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.unlockafe-team-slide-box .team-slide-img .team-slide-hover li {
  position: relative;
}

.unlockafe-team-slide-box .team-slide-img .team-slide-hover li:not(:last-child)::before {
  background-color: #e1e1e1;
  height: 100%;
  width: 1px;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
}

.unlockafe-team-slide-box .team-slide-img .team-slide-hover li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all 0.4s;
  color: #010101;
}

.unlockafe-team-slide-box .team-slide-img .team-slide-hover li a:hover {
  color: #5a5a5a;
}

.unlockafe-team-slide-box .team-slide-info .team-name {
  margin: 20px 0 10px;
}

.unlockafe-team-slide-box:hover .team-slide-img .team-slide-hover {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
}

.unlockafe-team-button-wrap-arrow {
  width: 100%;
  top: 45%;
  left: 0;
  z-index: 1;
  transform: translateY(-50%);
}

.unlockafe-team-button-wrap-arrow .slide-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  cursor: pointer;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05),
    0px 1px 1px 0px rgba(0, 0, 0, 0.03), 0px 3px 5px 0px rgba(0, 0, 0, 0.03);
}

.unlockafe-team-button-wrap-arrow .slide-btn svg {
  height: 26px;
  width: 26px;
}

.unlockafe-team-button-wrap-arrow .slide-btn.slide-btn-prev {
  margin-left: -20px;
}

.unlockafe-team-button-wrap-arrow .slide-btn.slide-btn-next {
  margin-right: -20px;
}

/* Team End */