/* ===========================
   Team Box Style 3
=========================== */

.pqcew-team-box.pqcew-style-3 {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  background: #fff;
  transition: all 0.3s ease;
}

/* Image Wrapper */
.pqcew-team-box.pqcew-style-3 .pqcew-team-image-wrapper {
  position: relative;
  overflow: hidden;
}

.pqcew-team-box.pqcew-style-3 .pqcew-team-media img {
  width: 100%;
  display: block;
  border-radius: 12px 12px 0 0;
  transition: transform 0.5s ease;
}

.pqcew-team-box.pqcew-style-3:hover .pqcew-team-media img {
  transform: scale(1.1);
}

/* Hover Content Overlay */
.pqcew-team-box.pqcew-style-3 .pqcew-team-image-wrapper .pqcew-team-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 30px 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pqcew-team-box.pqcew-style-3:hover .pqcew-team-image-wrapper .pqcew-team-content {
  opacity: 1;
  transform: translateY(0);
}

/* Inner Content */
.pqcew-team-box.pqcew-style-3 .pqcew-team-image-wrapper .pqcew-team-content .pqcew-team-description {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 26px;
}

.pqcew-team-box.pqcew-style-3 .pqcew-team-image-wrapper .pqcew-team-content .pqcew-team-inner .pqcew-team-inner-title {
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.pqcew-team-box.pqcew-style-3 .pqcew-team-image-wrapper .pqcew-team-content .pqcew-team-inner .pqcew-team-email a,
.pqcew-team-box.pqcew-style-3 .pqcew-team-image-wrapper .pqcew-team-content .pqcew-team-inner .pqcew-team-number a {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.pqcew-team-box.pqcew-style-3 .pqcew-team-image-wrapper .pqcew-team-content .pqcew-team-inner .pqcew-team-email a:hover,
.pqcew-team-box.pqcew-style-3 .pqcew-team-image-wrapper .pqcew-team-content .pqcew-team-inner .pqcew-team-number a:hover {
  color: #1a73e8;
}

/* Social Icons */
.pqcew-team-box.pqcew-style-3 .pqcew-social-icon-wrap {
    list-style: none;
    margin-top: 20px;
    margin-bottom: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

.pqcew-team-box.pqcew-style-3 .pqcew-social-icon-wrap li a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
}

.pqcew-team-box.pqcew-style-3 .pqcew-social-icon-wrap li a:hover {
  background: #1a73e8;
  color: #fff;
}

/* Bottom Info */
.pqcew-team-box.pqcew-style-3 .pqcew-team-detail {
    padding: 30px 20px;
    background: #fff;
}

.pqcew-team-box.pqcew-style-3 .pqcew-team-info h3.pqcew-team-name {
font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    margin: 0;
    color: #222;
}

.pqcew-team-box.pqcew-style-3 .pqcew-team-info .pqcew-team-designation {
    font-size: 18px;
    line-height: 26px;
    color: #666;
    display: block;
    margin-top: 5px;
}

@media (max-width: 397px) {
.pqcew-team-box.pqcew-style-3 .pqcew-team-media img { 
      height: 370px;
    object-fit: cover;
}
}