/* Global Smooth Scroll */
html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f3f7 100%);
    min-height: 100vh;
}

.container {
    position: relative;
}

/* Verified Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(40, 167, 69, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    animation: glow 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

.verified-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.verified-badge i {
    color: #28a745;
    filter: drop-shadow(0 0 3px rgba(40, 167, 69, 0.5));
}

@keyframes glow {
    from {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    }
    to {
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
    }
}

/* Floating Shapes Animation */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 70%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 40%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

/* Gradient Overlay Animation */
.gradient-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
    pointer-events: none;
}

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

/* Profile Image Enhancements */
.profile-image-container {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

/* Social Media Buttons */
.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 19px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077B5, #006699);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}
.social-btn.twitter {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.social-btn.facebook {
    background: linear-gradient(135deg, #1877F2, #1565c0);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.social-btn.linkedin:hover {
    box-shadow: 0 8px 24px rgba(0, 119, 181, 0.5);
}
.social-btn.twitter:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.social-btn.facebook:hover {
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.5);
}

/* Glassmorphism Card */
.glassmorphism-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Quick Stats Bar */
.quick-stats-bar {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item {
    color: white;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.95;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Enhanced Stat Cards */
.enhanced-stat-card {
    background: white;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.enhanced-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-stat-card:hover::before {
    opacity: 1;
}

.enhanced-stat-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.1);
}

.stat-card-pulse:hover .stat-icon {
    animation: icon-bounce 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.stat-icon-wrapper {
    margin-bottom: 16px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.stat-icon.availability { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.stat-icon.hours { background: linear-gradient(135deg, #f093fb, #f5576c); color: white; }
.stat-icon.experience { background: linear-gradient(135deg, #4facfe, #00f2fe); color: white; }
.stat-icon.status { background: linear-gradient(135deg, #43e97b, #38f9d7); color: white; }

.stat-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #2d3748;
    letter-spacing: -1.2px;
    line-height: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1;
}

.stat-content p, .stat-title {
    color: #64748b;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 3px;
    animation: progressFill 2s ease-out;
}

.availability-progress { width: 85%; background: linear-gradient(90deg, #667eea, #764ba2); }
.hours-progress { width: 70%; background: linear-gradient(90deg, #f093fb, #f5576c); }
.experience-progress { width: 60%; background: linear-gradient(90deg, #4facfe, #00f2fe); }
.status-progress { width: 100%; background: linear-gradient(90deg, #43e97b, #38f9d7); }

@keyframes progressFill {
    from { width: 0; }
}

/* Modern Tabs */
.modern-tabs-container {
    background: white;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modern-tabs {
    border: none;
    background: none;
    gap: 4px;
}

.modern-tabs .nav-link {
    border: none;
    background: none;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-tabs .nav-link:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.modern-tabs .nav-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.tab-icon {
    font-size: 20px;
    min-width: 20px;
}

.tab-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tab-title {
    font-weight: 600;
    font-size: 1rem;
}

.tab-description {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 2px;
}

.modern-tabs .nav-link.active .tab-description {
    opacity: 0.95;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modern-tabs .nav-link.active .tab-indicator {
    transform: scaleX(1);
}


/* Enhanced Card Styles */
.card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(102, 126, 234, 0.1);
}

.card.hover-lift:hover::before {
    opacity: 1;
}

/* Rounded pill buttons */
.btn.rounded-pill {
    border-radius: 50rem !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-weight: 600;
}

/* Improved button hover states */
.btn-primary {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #5568d3, #6a3f91);
}

.btn-outline-primary {
    transition: all 0.3s ease;
    border-width: 2px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
}

/* Timeline Enhancements */
.timeline-marker {
    position: relative;
}

.timeline-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.timeline-icon-wrapper i {
    font-size: 1.1rem;
}

.timeline-item:hover .timeline-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.timeline-marker::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    opacity: 0.3;
}

/* Skill and Language Badges */
.skill-badge:hover, .language-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.4);
}

.skill-badge::before, .language-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-badge:hover::before, .language-badge:hover::before {
    opacity: 1;
}

.language-badge:hover {
    border-color: rgba(23, 162, 184, 0.5);
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.25);
}

/* Form input focus styles */
.form-control:focus, .form-select:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15) !important;
}

/* Profile Completion Card Hover */
.profile-completion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 202, 240, 0.25) !important;
    border-color: rgba(13, 202, 240, 0.5) !important;
}

.completion-icon-wrapper {
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(13, 202, 240, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(13, 202, 240, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto !important;
        padding: 2rem 0;
    }

    .modern-tabs .nav-link {
        padding: 12px 8px;
        gap: 8px;
        font-size: 0.85rem;
    }

    .tab-content-wrapper {
        align-items: center;
    }

    .tab-description {
        display: none;
    }

    .profile-image {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .enhanced-stat-card {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .quick-stats-bar {
        padding: 12px;
    }

    .quick-stats-bar .stat-number {
        font-size: 1.4rem !important;
    }

    .quick-stats-bar .d-flex i {
        font-size: 1rem !important;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .action-buttons .btn {
        width: 100% !important;
        margin-bottom: 0.5rem;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.loading-content .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 4px;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

/* Badge Showcase Styles */
.badge-showcase {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.badge-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
}

.badge-showcase:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.3);
}

.badge-showcase:hover::before {
    opacity: 0.1;
}

.badge-showcase > * {
    position: relative;
    z-index: 1;
}

.badge-name {
    color: var(--text-primary);
}

/* Impact Metrics Styles */
.impact-metric-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.impact-metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 15px;
}

.metric-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.metric-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}

.metric-progress {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.metric-progress .progress-bar {
    height: 100%;
    border-radius: 3px;
    animation: progressFill 2s ease-out;
}

/* Achievement Timeline Styles */
.achievement-timeline .timeline {
    position: relative;
    padding-left: 30px;
}

.achievement-timeline .timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    opacity: 0.3;
}

.achievement-timeline .timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 30px;
}

.achievement-timeline .timeline-marker {
    position: absolute;
    left: -15px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 3px solid var(--card-bg);
}

.achievement-timeline .timeline-content {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid var(--border-color);
}

.achievement-timeline .timeline-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.achievement-timeline .timeline-description {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.achievement-timeline .timeline-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Recommendations Grid Styles */
.recommendations-grid {
    display: grid;
    gap: 20px;
}

.recommendation-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: rgba(102, 126, 234, 0.2);
}

.recommendation-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.recommendation-org {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.recommendation-description {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.recommendation-meta {
    margin-bottom: 15px;
}

.match-score {
    background: rgba(40, 167, 69, 0.1);
    border-radius: 20px;
    padding: 4px 12px;
    display: inline-block;
}

/* Review Item Styles */
.review-item {
    transition: all 0.3s ease;
}

.review-item:hover {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 10px !important;
    margin: -5px !important;
}

.stars i {
    font-size: 0.9rem;
}

/* Portfolio Gallery Styles */
.portfolio-gallery {
    margin-top: 1rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    color: white;
    width: 100%;
}

.portfolio-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.portfolio-description {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.portfolio-date {
    font-size: 0.75rem;
    opacity: 0.8;
}

.empty-portfolio {
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 2px dashed var(--border-color);
}

/* Badge Level Styles */
.badge-level-bronze {
    background-color: #cd7f32 !important;
    color: #fff !important;
}

.badge-level-silver {
    background-color: #c0c0c0 !important;
    color: #333 !important;
}

.badge-level-gold {
    background-color: #ffd700 !important;
    color: #333 !important;
}

.badge-level-platinum {
    background-color: #e5e4e2 !important;
    color: #333 !important;
}

.badge-level-standard {
    background-color: #667eea !important;
    color: #fff !important;
}

/* Interest Badges */
.interests-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1rem;
}

.interest-badge-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 11px 18px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.09) 0%, rgba(253, 126, 20, 0.06) 100%);
    border: 2px solid rgba(220, 53, 69, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
}

.interest-badge-modern:hover {
    transform: translateY(-3px) scale(1.04);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.18) 0%, rgba(253, 126, 20, 0.15) 100%);
    border-color: rgba(220, 53, 69, 0.5);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.interest-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    border-radius: 50%;
    color: white;
    font-size: 13px;
    transition: all 0.3s ease;
}

.interest-badge-modern:hover .interest-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.interest-content {
    display: flex;
    align-items: center;
}

.interest-text {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
}

.interest-glow {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    opacity: 0;
    background: radial-gradient(circle at center, rgba(220, 53, 69, 0.3) 0%, transparent 70%);
    transition: opacity 0.3s ease;
}

.interest-badge-modern:hover .interest-glow {
    opacity: 1;
}

/* Bio content styles */
.bio-content p {
    margin-bottom: 1.25rem;
    color: #2d3748 !important;
    font-weight: 400;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* Details Card Styling */
.info-item {
    position: relative;
    transition: all 0.3s ease;
    padding: 2px;
    border-radius: 8px;
}

.info-item:hover {
    background: rgba(102, 126, 234, 0.03);
}

.info-item .icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.info-item .icon-wrapper i {
    color: white;
    font-size: 1.1rem;
}

.info-item:hover .icon-wrapper {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.info-item small {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
}

.info-item strong {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
    color: #1e293b;
}

.icon-education {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.icon-location {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.icon-date {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

/* Sidebar Skills & Languages Badges */
.badge-compact {
    padding: 0.45rem 0.85rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
    display: inline-block;
}

.skill-badge-sidebar {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.12) 0%, rgba(32, 201, 151, 0.1) 100%);
    border: 1.5px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.1);
}

.skill-badge-sidebar:hover {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(32, 201, 151, 0.18) 100%);
    border-color: rgba(40, 167, 69, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
}

.language-badge-sidebar {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.12) 0%, rgba(32, 201, 151, 0.1) 100%);
    border: 1.5px solid rgba(23, 162, 184, 0.3);
    color: #17a2b8;
    box-shadow: 0 2px 6px rgba(23, 162, 184, 0.1);
}

.language-badge-sidebar:hover {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.2) 0%, rgba(32, 201, 151, 0.18) 100%);
    border-color: rgba(23, 162, 184, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.25);
}

/* Section heading improvements */
.section-header {
    position: relative;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.title-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    flex-shrink: 0;
}

.title-icon i {
    color: white;
    font-size: 1.2rem;
}

.section-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    padding-left: 58px;
}

.modern-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.modern-card:hover .title-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35);
}

.profile-sections h3, .profile-sections h4 {
    letter-spacing: -0.3px;
}

/* Badge hover effects */
.badge {
    transition: all 0.2s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Empty state animation */
.empty-state-icon {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Post Card Styles */
.post-card-compact {
    cursor: pointer;
}

.post-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(102, 126, 234, 0.2) !important;
}

.post-card-img {
    transition: transform 0.3s ease;
}

.post-card-compact:hover .post-card-img {
    transform: scale(1.05);
}

.post-preview-text {
    min-height: 60px;
}

/* Responsive Design for New Components */
@media (max-width: 768px) {
    .impact-metric-card {
        padding: 15px;
    }

    .metric-content h3 {
        font-size: 1.5rem;
    }

    .achievement-timeline {
        padding-left: 20px;
    }

    .achievement-timeline .timeline-item {
        padding-left: 25px;
    }

    .recommendation-card {
        padding: 15px;
    }

    .portfolio-overlay {
        padding: 1rem;
    }

    .portfolio-title {
        font-size: 0.9rem;
    }

    .portfolio-description {
        font-size: 0.8rem;
    }

    .interest-badge-modern {
        padding: 10px 16px;
        font-size: 14px;
    }

    .interest-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .interest-text {
        font-size: 14px;
    }

    .badge-compact {
        font-size: 0.7rem;
        padding: 0.35rem 0.65rem;
    }

    .post-card-compact {
        margin-bottom: 1rem;
    }
}
