/* Experience Page Styles */

.experience-hero {
    padding: 150px 20px 80px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    text-align: center;
    color: white;
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 20px;
    background: var(--light);
}

.experience-timeline {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    right: 80px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-block {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-marker {
    position: absolute;
    right: 45px;
    top: 30px;
    z-index: 2;
}

.marker-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid #667eea;
}

.timeline-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-right: 150px;
    position: relative;
    animation: slideInLeft 0.6s ease;
}

.timeline-card::before {
    content: '';
    position: absolute;
    right: -30px;
    top: 40px;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light);
}

.header-content h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.company-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.company-name {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
}

.location {
    padding: 0.4rem 1rem;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gray);
}

.duration {
    text-align: right;
}

.date-badge {
    display: block;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.duration-text {
    font-size: 0.9rem;
    color: var(--gray);
}

.card-content {
    animation: fadeIn 0.8s ease 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.role-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.achievement-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 15px;
    transition: all 0.3s ease;
    min-height: 140px;
    align-items: flex-start;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.achievement-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.achievement-content {
    flex: 1;
    min-width: 0;
}

.achievement-content h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.achievement-content p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.responsibilities {
    margin-bottom: 2rem;
}

.responsibilities h4,
.tech-used h4 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.responsibilities ul {
    list-style: none;
    padding: 0;
}

.responsibilities li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    color: var(--dark);
    border-bottom: 1px solid var(--light);
    position: relative;
}

.responsibilities li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.responsibilities li:last-child {
    border-bottom: none;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tags span {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Skills Applied Section */
.skills-applied-section {
    padding: 5rem 20px;
    background: white;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category-card {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.skill-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: white;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-category-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    padding: 0.8rem 0;
    color: var(--dark);
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
    transition: all 0.3s ease;
}

.skills-list li:hover {
    padding-left: 1rem;
    color: var(--primary);
}

.skills-list li:last-child {
    border-bottom: none;
}

/* Metrics Section */
.metrics-section {
    padding: 5rem 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.metrics-section .section-title {
    color: white;
    -webkit-text-fill-color: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.metric-visual {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.circular-progress {
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 8;
}

.progress-fill {
    fill: none;
    stroke: white;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 2s ease;
}

.metric-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.icon-metric {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.metric-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: white;
}

.metric-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 968px) {
    .timeline-line {
        right: 35px;
    }
    
    .timeline-marker {
        right: 0;
    }
    
    .marker-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-card {
        margin-right: 100px;
        padding: 2rem;
    }
    
    .timeline-card::before {
        right: -40px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .duration {
        text-align: left;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .timeline-card {
        margin-right: 80px;
        padding: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}