.team-wrapper {
        
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

.team-wrapper .team-section {
    text-align: center;
    padding: 50px 20px;
}

.team-wrapper .team-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #444;
}

.team-wrapper .team-section p {
    font-size: 1rem;
    margin-bottom: 40px;
    color: #666;
}

.team-wrapper .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-wrapper .team-member {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.team-wrapper .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.team-wrapper .team-member img {
    width: 100%;
    height: auto;
}

.team-wrapper .member-info {
    padding: 20px;
    text-align: center;
}

.team-wrapper .member-info h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
}

.team-wrapper .member-info p {
    font-size: 0.9rem;
    color: #777;
}

.team-wrapper .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #002E63;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 15px;
    text-align: center;
}

.team-wrapper .team-member:hover .overlay {
    opacity: 0.9;
}

.team-wrapper .social-links {
    margin-top: 15px;
}

.team-wrapper .social-links a {
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-wrapper .social-links a i {
    color: #007bff;
    transition: color 0.3s ease;
}

.team-wrapper .social-links a:hover i {
    color: #0056b3;
}