/* ============================================
   PROFESSIONAL EXPERIENCE SECTION - Clean Mobile-First
   ============================================ */

.experience {
    padding: 60px 0;
    position: relative;
    background: var(--dark-bg);
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--glass-border) 50%,
        transparent 100%
    );
}

.experience .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.experience .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-primary);
}

.experience .title-icon {
    font-size: 36px;
}

.experience .section-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
    padding: 0 20px;
}

/* Experience Stats - Mobile First */
.experience-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 0 20px;
}

.experience-stats .stat-item {
    text-align: center;
}

.experience-stats .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.experience-stats .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeline Container - Mobile First */
.experience-timeline-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto 60px;
    padding: 0 15px;
}

/* Experience Cards - Mobile First */
.experience-card {
    margin-bottom: 30px;
}

.experience-card-wrapper {
    width: 100%;
}

.experience-card-content {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-sm);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-card-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.current-role .experience-card-content {
    border-color: var(--accent-green);
}

/* Card Header - Mobile Optimized */
.card-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.company-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
}

.company-logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--neural-purple) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.company-info {
    flex: 1;
    min-width: 0;
}

.company-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.role-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--electric-cyan);
}

.badge-current {
    padding: 4px 10px;
    background: var(--accent-green);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.separator {
    color: var(--glass-border);
}

/* Card Body - Mobile Optimized */
.card-body {
    padding: 20px;
}

.description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Highlights Section - Mobile Optimized */
.highlights-section {
    background: var(--glass-bg-lighter);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.highlights-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlights-content {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
}

.highlights-content p {
    margin-bottom: 8px;
}

.highlights-content ul {
    margin: 0;
    padding-left: 20px;
}

.highlights-content li {
    margin-bottom: 6px;
}

/* Skills Section - Mobile Optimized */
.skills-section {
    margin-top: 15px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-pill {
    padding: 6px 12px;
    background: var(--glass-bg-lighter);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.skill-pill:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Summary Cards - Mobile First */
.experience-summary {
    margin-top: 60px;
}

.summary-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.summary-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-sm);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.summary-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.summary-content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.summary-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Experience Footer Section - Mobile First */
.experience-footer {
    margin-top: 50px;
    text-align: center;
    padding: 0 15px;
}

.experience-footer .footer-content {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-sm);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px 20px;
}

.experience-footer .footer-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.experience-footer .footer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-linkedin,
.btn-download {
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-linkedin {
    background: #0077B5;
    color: white;
}

.btn-linkedin:hover {
    background: #0A66C2;
    transform: translateY(-1px);
}

.btn-download {
    background: var(--glass-bg-lighter);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-download:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 18px;
}

/* Tablet Styles */
@media (min-width: 640px) {
    .experience {
        padding: 80px 0;
    }

    .experience .section-title {
        font-size: 42px;
    }

    .experience .title-icon {
        font-size: 42px;
    }

    .experience .section-description {
        font-size: 18px;
    }

    .experience-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 500px;
        margin: 30px auto;
    }

    .experience-stats .stat-number {
        font-size: 36px;
    }

    .experience-timeline-container {
        padding: 0 30px;
    }

    .experience-card {
        margin-bottom: 40px;
    }

    .company-header {
        align-items: center;
    }

    .company-logo {
        width: 56px;
        height: 56px;
    }

    .company-name {
        font-size: 20px;
    }

    .role-title {
        font-size: 16px;
    }

    .header-meta {
        font-size: 14px;
    }

    .experience-footer .footer-actions {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .btn-linkedin,
    .btn-download {
        width: auto;
        min-width: 180px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .experience {
        padding: 100px 0;
    }

    .experience .section-title {
        font-size: 48px;
    }

    .experience .title-icon {
        font-size: 44px;
    }

    .experience .section-description {
        font-size: 20px;
        max-width: 700px;
    }

    .experience-stats .stat-number {
        font-size: 42px;
    }

    .experience-stats .stat-label {
        font-size: 14px;
    }

    .experience-timeline-container {
        max-width: 900px;
        padding: 0;
    }

    .experience-card {
        margin-bottom: 50px;
    }

    .experience-card-content {
        border-radius: 20px;
    }

    .card-header {
        padding: 25px 30px;
    }

    .card-body {
        padding: 25px 30px;
    }

    .description {
        font-size: 15px;
    }

    .summary-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1000px;
        margin: 0 auto 60px;
    }

    .summary-card {
        padding: 30px;
    }

    .summary-icon {
        font-size: 48px;
    }

    .experience-footer .footer-content {
        padding: 40px;
    }

    .btn-linkedin,
    .btn-download {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Remove background decorations on mobile for performance */
@media (max-width: 768px) {
    .experience-bg-decoration,
    .decoration-grid,
    .floating-particles {
        display: none;
    }
}