
.team-section {
  padding: 60px 20px;
  background: #fff;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}


.team-card {
  /* background: #fff; */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  position: relative;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); */
  transition: transform 0.3s ease;
  flex: 1 1 calc(33.33% - 30px); 
  max-width: 370px;
  width: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
}


.image-box {
  /* position: relative; */
  overflow: hidden;
  border-radius: 12px;
}

.image-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}


.share-btn {
  position: absolute;
  bottom: 100px;
  right: 34px;
  background: #35b748;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* padding: 8px; */
  cursor: pointer;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}
/* 
.share-btn:hover {
  background: #35b748;
} */

.share-btn img {
  width: 20px;
  height: 26px;
}


.social-icons {
  position: absolute;
  bottom: 30%;
  left: 84%;
  transform: translate(-50%, -50%) scale(0);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: 0.3s ease;
  z-index: 2;
}

.image-box:hover .social-icons {
  transform: translate(-50%, -50%) scale(1);
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.social-icons a img {
  width: 18px;
  height: 18px;
}
/* 
.social-icons a.close {
  background: #000;
} */


.team-card p {
text-align: left;
  font-size: 16px;
  color: #606060;
  font-weight: 500;
  font-family: var(--heading-font);
}

.team-card h4 {
 text-align: left;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--heading-font);
}
.team-card p:hover{
  color: #35b748;
}
.team-card h4:hover{
  color: #35b748;
}

@media (max-width: 991px) {
  .team-card {
    flex: 1 1 calc(50% - 30px); 
  }
}

@media (max-width: 500px) {
  .team-card {
    flex: 1 1 100%;
  }
}
