/* Team Section Styles */

.team_section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.team_title {
    text-align: center;
    margin-bottom: 50px;
}

.team_title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.team_title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.team_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team_member {
    background: white;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.team_member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #007bff, #28a745, #17a2b8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team_member:hover::before {
    opacity: 1;
}

.member_image {
    width: 100%;
    height: 250px;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    object-fit: cover;
}

.member_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team_member:hover .member_image img {
    transform: scale(1.1);
}

.member_name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.member_position {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social_links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social_links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social_links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social_links a:hover::before {
    transform: scale(1);
}

.social_links a i {
    position: relative;
    z-index: 1;
}

/* Facebook */
.social_links a.facebook {
    background: #3b5998;
}

.social_links a.facebook::before {
    background: #2d4373;
}

.social_links a.facebook:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 89, 152, 0.4);
}

/* Instagram */
.social_links a.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social_links a.instagram::before {
    background: linear-gradient(45deg, #d4842a, #c5562f, #b91f36, #a91c57, #9a1473);
}

.social_links a.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

/* LinkedIn */
.social_links a.linkedin {
    background: #0077b5;
}

.social_links a.linkedin::before {
    background: #005885;
}

.social_links a.linkedin:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

.team_link i{
    font-size: 29px;
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team_section {
        padding: 40px 15px;
    }

    .team_title h2 {
        font-size: 2rem;
    }

    .team_grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .team_member {
        padding: 25px;
    }

    .member_image {
        width: 100px;
        height: 100px;
    }

    .member_name {
        font-size: 2rem;
    }

    .social_links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .team_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .team_member {
        padding: 20px;
    }

    .member_image {
        width: 100%;
        height: 400px;
    }

    .social_links {
        gap: 10px;
    }

    .social_links a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}