﻿
.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

    .section-header h2::after {
        content: '';
        position: absolute;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #ff6b6b, #ff9f43);
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        border-radius: 2px;
        transition: width 0.3s ease;
    }

    .section-header h2:hover::after {
        width: 100px;
    }

.section-header p {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
    position: relative;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.team__modern {
    background: #f9f9f9;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

.team-card-img {
    position: relative;
    overflow: hidden;
}

    .team-card-img img {
        width: 100%;
        display: block;
        transition: transform 0.5s ease;
    }

.team-card:hover .team-card-img img {
    transform: scale(1.1);
}

.team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-card-overlay {
    opacity: 1;
}

.team-socials a {
    color: #fff;
    margin: 0 8px;
    font-size: 16px;
    transition: color 0.3s ease;
}

    .team-socials a:hover {
        color: #ff6b6b;
    }

.team-card-content {
    padding: 20px;
}

    .team-card-content h3 {
        margin: 0 0 5px;
        font-size: 20px;
        font-weight: 600;
    }

    .team-card-content span {
        font-size: 14px;
        color: #777;
    }
