/* Leadership Team Section */
.team-section {
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.team-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.team-section h2 span {
    color: #1e88e5;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: #1c2b3a;
    border-radius: 20px;
    padding: 50px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.team-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 35px;
    border: 5px solid rgba(255, 255, 255, 0.05);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.team-card p {
    color: #9ca3af;
    font-size: 16px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-image {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 600px) {
    .team-section {
        padding: 50px 0;
    }
    
    .team-container {
        padding: 0 15px;
    }
    
    .team-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .team-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 20px;
        padding: 10px 15px 25px 15px;
        margin: 0 -15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .team-grid::-webkit-scrollbar {
        display: none;
    }
    
    .team-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        padding: 35px 20px;
    }
    
    .team-image {
        width: 160px;
        height: 160px;
        margin-bottom: 20px;
    }
    
    .team-card h4 {
        font-size: 20px;
    }
    
    .team-card p {
        font-size: 14px;
    }
}

