/* ==================== EXPERIENCE SECTION - IMPROVED ==================== */

.category-content-display {
    padding: 20px 0;
    max-width: 100%;
}

.category-header {
    text-align: center;
    margin-bottom: 35px;
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 88, 12, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(249, 115, 22, 0.2);
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.03) 0%, transparent 70%);
    animation: headerFloat 10s ease-in-out infinite alternate;
}

@keyframes headerFloat {
    0% { transform: rotate(0deg) translate(0, 0); }
    100% { transform: rotate(5deg) translate(5px, -5px); }
}

.category-icon {
    font-size: 42px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.category-title {
    font-size: 26px;
    font-weight: 700;
    color: #e5e5e5;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.category-subtitle {
    font-size: 15px;
    color: #a3a3a3;
    position: relative;
    z-index: 1;
}

.info-section {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(64, 64, 64, 0.3);
    border-radius: 14px;
    border: 1px solid #525252;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(249, 115, 22, 0.3);
}

.section-icon {
    font-size: 22px;
    color: #f97316;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e5e5e5;
    margin: 0;
}

/* ==================== ROLE CARD - ENHANCED ==================== */

.role-card {
    background: rgba(42, 42, 42, 0.8);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #525252;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.role-title {
    font-size: 20px;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 10px;
    line-height: 1.3;
}

.role-company, .role-duration {
    font-size: 14px;
    color: #a3a3a3;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-responsibilities, .role-achievements {
    margin: 20px 0;
}

.role-responsibilities strong, .role-achievements strong {
    color: #f97316;
    font-size: 16px;
    display: block;
    margin-bottom: 12px;
}

.role-responsibilities ul, .role-achievements ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.role-responsibilities li, .role-achievements li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #e5e5e5;
    position: relative;
    padding-left: 20px;
}

.role-responsibilities li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #f97316;
    font-size: 12px;
    top: 2px;
}

.role-achievements li::before {
    content: '🏆';
    position: absolute;
    left: 0;
    font-size: 14px;
    top: 0;
}

.role-tech strong {
    color: #f97316;
    font-size: 16px;
    display: block;
    margin-bottom: 12px;
}

/* ==================== TECH TAGS - ENHANCED ==================== */

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tech-tag {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(249, 115, 22, 0.3);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.tech-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.tech-tag:hover::before {
    left: 100%;
}

/* ==================== CAREER PROGRESSION - REDESIGNED ==================== */

.progression-timeline {
    margin: 25px 0;
    position: relative;
    padding: 20px 0;
}

/* Vertical line connecting all timeline items */
.progression-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        #f97316 0%, 
        rgba(249, 115, 22, 0.8) 50%, 
        rgba(249, 115, 22, 0.4) 100%
    );
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    position: relative;
    padding-left: 10px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Enhanced timeline dot */
.timeline-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 0 0 4px rgba(249, 115, 22, 0.2),
        0 0 0 8px rgba(249, 115, 22, 0.1),
        0 4px 12px rgba(249, 115, 22, 0.3);
    margin-top: 5px;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Pulsing animation for the dots */
.timeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f97316;
    border-radius: 50%;
    animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Timeline content */
.timeline-content {
    flex: 1;
    background: rgba(42, 42, 42, 0.8);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #525252;
    position: relative;
    margin-top: -5px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(42, 42, 42, 0.9);
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateX(5px);
}

/* Arrow pointing to timeline dot */
.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid rgba(42, 42, 42, 0.8);
}

.promotion-from, .promotion-to {
    font-weight: 600;
    color: #e5e5e5;
    font-size: 15px;
    line-height: 1.4;
}

.promotion-to {
    color: #f97316;
    font-size: 16px;
    margin-top: 8px;
}

.promotion-arrow {
    color: #a3a3a3;
    margin: 8px 0;
    font-size: 18px;
    text-align: center;
}

.promotion-date {
    font-size: 13px;
    color: #a3a3a3;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(82, 82, 82, 0.3);
}

/* ==================== CAREER HIGHLIGHTS - ENHANCED ==================== */

.career-highlights {
    margin-top: 25px;
    padding: 20px;
    background: rgba(249, 115, 22, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.career-highlights strong {
    color: #f97316;
    font-size: 16px;
    display: block;
    margin-bottom: 15px;
}

.career-highlights ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.career-highlights li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #e5e5e5;
    position: relative;
    padding-left: 25px;
}

.career-highlights li::before {
    content: '✨';
    position: absolute;
    left: 0;
    font-size: 16px;
    top: -1px;
}

.career-highlights li:last-child {
    margin-bottom: 0;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
    .category-header {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .category-icon {
        font-size: 36px;
    }
    
    .category-title {
        font-size: 22px;
    }
    
    .category-subtitle {
        font-size: 14px;
    }
    
    .info-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .role-card {
        padding: 20px;
    }
    
    .role-title {
        font-size: 18px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 30px;
        padding-left: 0;
    }
    
    .progression-timeline::before {
        left: 10px;
    }
    
    .timeline-dot {
        margin-left: 0;
        position: relative;
        z-index: 2;
    }
    
    .timeline-content {
        margin-top: 0;
        margin-left: 20px;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .tech-tags {
        gap: 6px;
    }
    
    .tech-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .category-header {
        padding: 15px 12px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .info-section {
        padding: 15px 12px;
    }
    
    .role-card {
        padding: 15px;
    }
    
    .role-title {
        font-size: 16px;
    }
    
    .timeline-content {
        padding: 15px;
        margin-left: 15px;
    }
    
    .career-highlights {
        padding: 15px;
    }
}