.employee-title {
    position: absolute;
    bottom: 20px;
  	left: 50%;
    transform: translateX(-50%);
  	opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.employee-item:hover .employee-title {
  	opacity: 0;
}
.employee-title h3, .employee-title h5, .employee-title p {
    font-family: "BasisGrotesqueArabicPro", Sans-serif;
    margin: 6px 0;
    color: #FFFFFF;
  text-align: center;
}

.employee-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: unset;
}

.employee-item {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 415px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.employee-image-sec {
    width: 100%;
    height: 100%;
}

.employee-image-sec img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  	transition: transform 0.5s ease-in-out;
}
.employee-item:hover .employee-image-sec img {
    transform: scale(1.2);
}

/* Overlay content: name, designation, description */
.employee-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    text-align: center;
    z-index: 2;
  	backdrop-filter: blur(5px);
    background: #00000080;
   transition: transform 0.5s ease, opacity 0.5s ease;

}

.employee-item:hover .employee-description {
    opacity: 1;
}



/* Headings */
.employee-head h3, .employee-head h5, .employee-description p {
    font-family: "BasisGrotesqueArabicPro", Sans-serif;
    margin: 6px 0;
   /* background: linear-gradient(to right, #FFFFFF, #999999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    color: #FFFFFF;
}

.employee-head h3 {
    font-weight: 900;
    font-size: 20px;
    line-height: 28px;
}

.employee-head h5 {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}

.employee-description p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
    .employee-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .employee-description {
        position: static;
        transform: none;
        opacity: 1;
        background: none;
        color: inherit;
        padding: 15px 10px;
    }

    .employee-head h3, .employee-head h5, .employee-description p {
        -webkit-text-fill-color: initial;
        background: none;
        color: #333;
    }

    .employee-item:hover {
        z-index: unset;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .employee-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .employee-description {
        position: static;
        transform: none;
        opacity: 1;
        background: none;
        color: inherit;
        padding: 15px 10px;
    }

    .employee-head h3, .employee-head h5, .employee-description p {
        -webkit-text-fill-color: initial;
        background: none;
        color: #333;
    }
}