.team-plain-section-2 {
    padding: 30px 15px;
}
.team-plain-section-2 .plain-block h1{
    text-align: center;
    font-weight: 700;
}
.team-plain-section-2 .plain-block {
    text-align: center;
}
.team-plain-section-3{
    padding:5px 15px 30px;
}
.team-plain-section-3 .member {
    position: relative;
    overflow: hidden; 
    border-bottom: 8px solid #8ab31d;
}

.team-plain-section-3 .member img {
    min-width: 100%;
    transition: transform 0.3s ease; 
}

.team-plain-section-3 .member .details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    text-align:left; 
    padding: 10px 0 8px;
    text-transform: uppercase;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%);
    /* opacity: 0;  */
    /* visibility: hidden; */
    /* padding-left: 15px; */
    transition: opacity 0.3s ease, visibility 0.3s ease; 
}
.team-plain-section-3 .member .details .m-name{
    margin: 0;
    font-size: 19px; 
    line-height: 1.4;
    font-weight: 700;
    position: relative;
    z-index: 4;
    color: #fff;
    padding-left: 15px;
    transition: color 0.3s ease;
}

.team-plain-section-3 .member .details .m-desig {
    margin: 0;
    font-size: 12px; 
    padding-left: 15px;
    line-height: 1.4;
    font-weight: 500;
    position: relative;
    z-index: 4;
    color:#fff;
    transition: color 0.3s ease;
}

.team-plain-section-3 .member .hov {
    position: absolute;
    bottom: 0;
    height: 0; 
    background-color: #7FB539;
    width: 100%;
    z-index: 3;
    transition: height 0.3s;
}

/* Hover Effects */
.team-plain-section-3 .member:hover img {
    transform: scale(1.05); 
}

.team-plain-section-3 .member:hover .hov {
    height: 60px; 
}

.team-plain-section-3 .member:hover .details {
    opacity: 1; 
    visibility: visible; 
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.3) 100%); */
}