.header{
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../gallery-img/newgalleryimg04.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 90vh;
    width: 100%;
}

.team-section {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
}
.team-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.team-member {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 15px;
    padding: 20px;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.team-member:hover {
    transform: translateY(-10px);
}
.team-member{
    position: relative;
    height: 36rem;
}
.team-member a{
    position: absolute;
    bottom: 0;
    left: 4rem;
    margin-bottom: 1rem;
}

.team-member img {
    border-radius: 10px;
    width: 250px;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
}
.team-member h2 {
    font-size: 1.5em;
    margin: 10px 0;
    color: #444;
}
.team-member p {
    color: #666;
    font-size: 1em;
    margin: 5px 0 15px;
}
.member-skills{
    display: flex;
    flex-direction: column;
    list-style: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Adjust this number to control the number of visible lines */
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4em; /* Adjust based on line height */
    line-height: 1.5em; /* Adjust according to your design */
}
.member-skills p,ul{

}

.social-links a {
    margin: 0 10px;
    color: #0073e6;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.3s;
}
.social-links a:hover{
    color: #005bb5;
    
}
@media screen and (min-width: 1300px){
    .header{
        background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../images/bgx.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 70vh;
        width: 100%;
    }
}
