/**
 * Instructor Profile Styles
 */

/* Profile UI */
.profile-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    z-index: 1;
}

.profile-card {
    position: relative;
    backdrop-filter: blur(20px);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 60px 40px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.profile-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

/* Avatar Effects */
.avatar-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 35px;
    z-index: 2;
}

.avatar {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
    transition: transform 0.5s ease;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: luminosity; /* Aesthetic choice */
    transition: mix-blend-mode 0.5s ease;
}

.profile-card:hover .avatar img {
    mix-blend-mode: normal;
}

/* Energy Ring */
.energy-ring {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    animation: rotate 15s linear infinite;
    opacity: 0.6;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* Glow */
.profile-card h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.3));
}

.bio {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 30px 0;
    margin-bottom: 35px;
}

.stat h3 {
    font-size: 28px;
    color: var(--primary);
    font-weight: 700;
}

.stat p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Social Grid */
.social-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.social-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.social-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border-color: var(--primary);
}

.social-icon {
    font-size: 32px;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.social-name {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.social-desc {
    font-size: 13px;
    color: var(--text-muted);
}
