/* Expert Profile Card */
.expert-profile-card {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.expert-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-avatar 2s ease-in-out infinite;
}

@keyframes pulse-avatar {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 212, 255, 0.6);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 212, 255, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.expert-profile-card:hover .profile-image {
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 212, 255, 0.6);
}

.verified-badge {
    color: #1da1f2;
    font-size: 1.2rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    filter: drop-shadow(0 0 5px rgba(29, 161, 242, 0.5));
}

.profile-info {
    text-align: center;
}

.expert-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    letter-spacing: 0.5px;
}

.expert-title {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.title-primary {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.title-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
    font-weight: 300;
}

.title-secondary {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expert-badge {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.expert-badge:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.expert-badge i {
    color: #f59e0b;
    font-size: 1rem;
}

.company-name {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Hover Effects */
.expert-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.expert-profile-card:hover .avatar-glow {
    animation-duration: 1.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .expert-profile-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .profile-avatar i {
        font-size: 3rem;
        width: 80px;
        height: 80px;
    }
    
    .expert-name {
        font-size: 1.5rem;
    }
    
    .title-primary {
        font-size: 1rem;
    }
    
    .title-secondary {
        font-size: 0.9rem;
    }
    
    .expert-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}