/* ===== INSTRUCTORS SECTION STYLES ===== */
.instructors {
    background: linear-gradient(180deg, var(--bg-white) 0%, #f0f7ff 100%);
    position: relative;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.instructor {
    text-align: center;
    position: relative;
    transition: transform var(--transition-normal);
    background: white;
    padding: 30px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.instructor:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.instructor-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--accent-science));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: white;
    border: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(29, 52, 97, 0.3);
    transition: all var(--transition-normal);
}

.instructor:hover .instructor-photo {
    transform: scale(1.05);
    border-color: var(--secondary);
}

.instructor-photo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.instructor h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.instructor .specialty {
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    font-weight: 600;
}

.instructor .bio {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.instructor-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.instructor-social a {
    color: var(--text-muted);
    font-size: 18px;
    transition: all var(--transition-fast);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
}

.instructor-social a:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .instructors-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .instructor-photo {
        width: 150px;
        height: 150px;
        font-size: 40px;
    }
    
    .instructor h4 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .instructor {
        padding: 25px 20px;
    }
    
    .instructor-photo {
        width: 130px;
        height: 130px;
        font-size: 36px;
    }
}