/* members section */

.team-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.team-section .team-card {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
}

.team-section .team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-section .team-img {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-section .team-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-section .team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-section .team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(252, 86, 48, 0.74);
    color: var(--light);
    padding: 15px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.team-section .team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-section .team-info {
    padding: 25px;
    text-align: center;
}

.team-section .team-info h3 {
    font-weight: 700;
    color: black;
    margin-bottom: 5px;
}

.team-section .team-info p {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-section .team-info .team-desc {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-section .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-section .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(----light-dark3);
    transition: all 0.3s ease;
}

.team-section .social-links a:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

@media (max-width: 767.98px) {
    .team-img {
        height: 250px;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}