.team-widget-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.team-heading {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #054f77;
    margin-bottom: 20px;
}

.team-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
   
    text-align: center;
    overflow: hidden;
   
 
}

.team-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.team-content {
    margin-top: 10px;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    color: #007172;
}

.team-designation {
    font-size: 14px;
    color: #777;
}

.team-info-icon {
    font-size: 20px;
    margin-top: 10px;
    cursor: pointer;
    color: #007172;
}

/* Overlay with slide bottom to top + fade */
.team-overlay {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    padding: 20px;
    z-index: 999;
    transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease;
}

.team-overlay.active {
    opacity: 1;
    visibility: visible;
    top: 0;
}

.overlay-content {
    position: relative;
    text-align: left;
    height: 100%;
    overflow-y: auto;
}

.close-overlay {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #007172;
    user-select: none;
}
.team-content {
    display: flex;
}
.team-info{
    width: 90%;
}
.team-info-icon {
    width: 10%;
    text-align: right;
}