/* Team Carousel Styles */
.team-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.team-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.team-section .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.team-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.team-card {
    flex: 0 0 calc(25% - 20px);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #2c3e50;
}

.team-role {
    color: #ffff;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-description {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Tombol navigasi */
.carousel-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #e74c3c;
}

/* Responsivitas */
@media (max-width: 1024px) {
    .team-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .team-card {
        flex: 0 0 calc(50% - 20px);
    }
    
    .team-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .team-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .team-section h2 {
        font-size: 1.8rem;
    }
}