/* ==========================================================================
   DEVELOPER PROFILE - PREMIUM GLASSMORPHISM REDESIGN
   ========================================================================== */

.profile-section {
    position: relative;
    background:
        linear-gradient(rgba(10, 25, 41, 0.92), rgba(15, 76, 117, 0.88)),
        url('../assets/images/banner.png') center/cover fixed;
    color: white;
    overflow: hidden;
    padding: var(--spacing-xxl) 0;
}

/* Animated background glow */
.profile-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(77, 213, 153, 0.15) 0%, transparent 60%);
    animation: rotateGlow 25s linear infinite;
    pointer-events: none;
}

.profile-glass-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem;
    padding: var(--spacing-xxl);
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-xl);
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animated avatar glow */
.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(77, 213, 153, 0.4), rgba(15, 76, 117, 0.4));
    filter: blur(20px);
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.profile-header-text {
    flex: 1;
}

.profile-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 4px 12px rgba(77, 213, 153, 0.3);
}

.profile-name {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.profile-role {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0;
}

/* Profile Content */
.profile-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.profile-bio {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Expertise Section */
.profile-expertise {}

.expertise-title,
.social-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expertise-title::before {
    content: '💡';
    font-size: 1.25rem;
}

.social-title::before {
    content: '🔗';
    font-size: 1.25rem;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tech-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tech-pill:hover {
    background: rgba(77, 213, 153, 0.2);
    border-color: rgba(77, 213, 153, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 213, 153, 0.3);
}

/* Social Links */
.profile-social {}

.social-links-premium {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.social-btn span {
    white-space: nowrap;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Brand-specific hover colors */
.social-btn.linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #005885);
    border-color: #0077b5;
}

.social-btn.github:hover {
    background: linear-gradient(135deg, #333, #000);
    border-color: #333;
}

.social-btn.upwork:hover {
    background: linear-gradient(135deg, #6fda44, #14a800);
    border-color: #6fda44;
}

.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: #d6249f;
}

.social-btn.whatsapp:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: #25D366;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-name {
        font-size: 1.75rem;
    }

    .profile-glass-container {
        padding: var(--spacing-lg);
    }

    .tech-pills {
        justify-content: center;
    }

    .social-links-premium {
        justify-content: center;
    }

    .social-btn {
        flex: 1 1 calc(50% - var(--spacing-md));
        min-width: 140px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .profile-avatar {
        width: 110px;
        height: 110px;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .social-btn {
        flex: 1 1 100%;
    }
}