/* Team Section */
.team-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9fa 100%);
    padding: 80px 0;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0b6578;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4496a6;
    max-width: 700px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.team-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(109, 189, 200, 0.12);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(109, 189, 200, 0.25);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(109, 189, 200, 0.95) 0%, rgba(90, 172, 183, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    width: 50px;
    height: 50px;
    background: white;
    color: #6dbdc8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.team-card:hover .team-social a {
    transform: translateY(0);
    opacity: 1;
}

.team-card:hover .team-social a:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card:hover .team-social a:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card:hover .team-social a:nth-child(3) {
    transition-delay: 0.3s;
}

.team-social a:hover {
    background: #6dbdc8;
    color: white;
    transform: translateY(-5px);
}

.team-info {
    padding: 30px 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.4rem;
    color: #224056;
    margin-bottom: 8px;
    font-weight: 700;
}

.team-position {
    font-size: 1rem;
    color: #6dbdc8;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-desc {
    font-size: 0.95rem;
    color: #4496a6;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .team-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 60px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-info {
        padding: 25px 20px;
    }
}
