/* Responsive Styles for Team Section */
@media (max-width: 1199.98px) {
    .profile-name {
        font-size: 1.7rem;
    }
    
    .profile-position {
        font-size: 1.1rem;
    }
    
    .team-main .profile-name {
        font-size: 2.2rem;
    }
    
    .team-main .profile-position {
        font-size: 1.3rem;
    }
    
    .team-teacher .profile-name {
        font-size: 1.8rem;
    }
    
    .team-teacher .profile-position {
        font-size: 1.15rem;
    }
    
    .profile-bio {
        font-size: 0.98rem;
    }
    
    .profile-image {
        max-width: 180px;
    }
    
    .team-main .profile-image {
        max-width: 200px;
    }
}

@media (max-width: 991.98px) {
    .team-section {
        padding: 80px 0;
    }
    
    .team-profile-card {
        margin-bottom: 40px;
    }
    
    .profile-content {
        padding: 20px;
    }
    
    .profile-name {
        font-size: 1.6rem;
    }
    
    .team-main .profile-name {
        font-size: 2rem;
    }
    
    .team-teacher .profile-name {
        font-size: 1.7rem;
    }
    
    .profile-image {
        max-width: 160px;
    }
    
    .team-main .profile-image {
        max-width: 180px;
    }
    
    .team-intro {
        font-size: 1.1rem;
        margin-bottom: 50px;
    }
}

@media (max-width: 767.98px) {
    .team-section {
        padding: 60px 0;
    }
    
    .team-profile-card {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .profile-header {
        height: 40px;
    }
    
    .profile-role-badge {
        top: 10px;
        right: 15px;
        font-size: 0.85rem;
        padding: 3px 12px;
    }
    
    .profile-image-container {
        margin: 20px auto;
    }
    
    .profile-image {
        max-width: 120px;
    }
    
    .team-main .profile-image {
        max-width: 250px;
    }
    
    .profile-content {
        padding: 15px 20px 25px;
    }
    
    .profile-name {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .team-main .profile-name {
        font-size: 1.8rem;
    }
    
    .team-teacher .profile-name {
        font-size: 1.6rem;
    }
    
    .profile-position {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .profile-divider {
        margin-bottom: 15px;
        width: 50px;
    }
    
    .profile-details {
        padding: 12px 15px;
        margin-bottom: 15px;
    }
    
    .specialty-label, .experience-label {
        min-width: 100px;
        font-size: 0.9rem;
    }
    
    .specialty-value, .experience-value {
        font-size: 0.9rem;
    }
    
    .profile-bio {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .team-intro {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .team-intro::before,
    .team-intro::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .team-section {
        padding: 50px 0;
    }
    
    .profile-image {
        max-width: 100px;
    }
    
    .team-main .profile-image {
        max-width: 120px;
    }
    
    .profile-name {
        font-size: 1.4rem;
    }
    
    .team-main .profile-name {
        font-size: 1.6rem;
    }
    
    .team-teacher .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-position {
        font-size: 0.95rem;
    }
    
    .profile-bio {
        font-size: 0.9rem;
    }
    
    .specialty-label, .experience-label {
        min-width: 90px;
        font-size: 0.85rem;
    }
    
    .specialty-value, .experience-value {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        gap: 8px;
    }
}
