.team-member-container {
display: flex;
gap: 20px;
justify-content: center;
align-items: center;
flex-wrap: nowrap; /* Prevents wrapping to keep items in one row */
}
.team-member {
width: 250px;
position: relative;
cursor: pointer;
transition: transform 0.3s ease;
text-align: center;
margin-bottom: 20px; /* Space below each member */
}
.team-member-img {
width: 100%;
height: auto;
border-radius: 8px;
transition: transform 0.3s ease;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.team-member:hover .team-member-img {
transform: scale(1.05);
}
.team-member-details {
position: absolute;
bottom: 10px;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.5);
color: white;
padding: 10px;
border-radius: 8px;
display: none;
}
.team-member:hover .team-member-details {
display: block;
}
/* Lightbox Modal */
.lightbox-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
justify-content: center;
align-items: center;
}
.lightbox-content {
background: white;
padding: 20px;
text-align: center;
border-radius: 10px;
width: 80%;
max-width: 600px;
}
.lightbox-content img {
width: 100%;
height: auto;
border-radius: 8px;
}
.lightbox-content textarea {
width: 100%;
height: 100px;
margin-top: 10px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 8px;
resize: none;
}
