
/*** Team Start ***/
/* Team Section */
.team-section {
  padding: 80px 0;
  background: white;
}

.team-section .vm-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.team-section .vm-box {
  flex: 0 0 calc(25% - 19px);
  max-width: 300px;
  min-width: 250px;
  padding: 0;
  overflow: hidden;
}

.team-section .team-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.team-section .team-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-section .vm-box:hover .team-img img {
  transform: scale(1.1);
}

.team-section .team-social {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(1, 78, 154, 0.95), rgba(0, 168, 232, 0.95));
  transition: bottom 0.3s ease;
}

.team-section .vm-box:hover .team-social {
  bottom: 0;
}

.team-section .social-link {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #014E9A;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.team-section .social-link:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #014E9A;
  transform: scale(1.15);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.team-section .team-info {
  padding: 25px 20px;
  text-align: center;
  background: white;
}

.team-section .team-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
}

.team-section .team-info span {
  font-size: 0.9rem;
  color: #0170BF;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 991px) {
  .team-section .vm-box {
    flex: 0 0 calc(50% - 13px);
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 50px 0;
  }

  .team-section .vm-wrapper {
    gap: 20px;
  }

  .team-section .vm-box {
    flex: 0 0 100%;
    max-width: 400px;
  }

  .team-section .team-img img {
    height: 280px;
  }

  .team-section .team-info {
    padding: 20px;
  }

  .team-section .team-info h3 {
    font-size: 1.15rem;
  }

  .team-section .team-info span {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .team-section {
    padding: 40px 0;
  }

  .team-section .vm-wrapper {
    gap: 15px;
  }

  .team-section .team-img img {
    height: 260px;
  }

  .team-section .team-info {
    padding: 18px 15px;
  }

  .team-section .team-info h3 {
    font-size: 1.1rem;
  }

  .team-section .team-info span {
    font-size: 0.8rem;
  }

  .team-section .social-link {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
}
/*** Team End ***/
