/* Team Professional Layout Styles */
.team-professional-section {
    padding: 80px 0;
}

.team-professional-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.team-professional-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.team-professional-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 40px;
    max-width: 400px;
}

.team-professional-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

.team-professional-img-placeholder {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 4rem;
}

.team-professional-info-section {
    background: #fff;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    width: 100%;
}

.team-professional-info-left {
    flex: 1;
    text-align: left;
    margin-right: 30px;
}

.team-professional-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    text-align: left;
    line-height: 1.2;
}

.team-professional-title-role {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    font-weight: 400;
    text-align: left;
    line-height: 1.3;
}

.team-professional-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.team-professional-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    cursor: pointer;
}

.team-professional-contact-link:hover {
    background: #fff;
    color: var(--color-primary);
    text-decoration: none;
    border: 1px solid var(--color-primary);
}

/* Carousel specific styles */
.team-professional-carousel {
    overflow: hidden;
}

.team-professional-track {
    display: flex;
    gap: 30px;
    animation: scroll 30s linear infinite;
}

@media (max-width: 768px) {
    .team-professional-track {
        animation: scroll 20s linear infinite;
    }
}

@media (max-width: 576px) {
    .team-professional-track {
        animation: scroll 15s linear infinite;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.team-professional-track:hover {
    animation-play-state: paused;
}

/* Responsive styles */
@media (max-width: 768px) {

    .team-professional-section {
        padding: 60px 0;
    }
    
    .team-professional-title {
        font-size: 2rem;
    }
    
    .team-professional-info-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        padding: 20px;
    }
    
    .team-professional-info-left {
        text-align: center;
        margin-right: 0;
    }
    
    .team-professional-name {
        text-align: center;
        font-size: 1.3rem;
    }
    
    .team-professional-title-role {
        text-align: center;
        font-size: 0.95rem;
    }
    
.team-professional-contact-links {
    justify-content: center;
    flex-shrink: 0;
    flex-direction: row;
    gap: 12px;
}
}

@media (max-width: 576px) {

    .team-professional-section {
        padding: 40px 0;
    }
    
    .team-professional-title {
        font-size: 1.75rem;
    }
    
    .team-professional-subtitle {
        font-size: 1rem;
    }
    
    .team-professional-name {
        font-size: 1.2rem;
    }
    
    .team-professional-title-role {
        font-size: 0.9rem;
    }
}
