/* Work experience section */
#work-expt {
    background-color: #fff;
    position: relative;
    padding: 80px 0;
}

.title-work-exp {
    font-size: 2.5rem;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 2rem;
}

/* Timeline container */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Timeline entries container */
.timeline-entries {
    position: relative;
}

/* All timeline entries including current */
.timeline-entry {
    position: relative;
    padding: 64px 0px;
    transition: all 0.5s ease;
    opacity: 0.7;
    border-bottom: 1px solid #E0E0E0;
    transform: translateY(20px);
}

/* Entry animation when it comes into view */
.timeline-entry.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Current job entry styling */
.timeline-entry-current {
    position: relative;
    padding: 64px 0px;
    transition: all 0.5s ease;
    opacity: 0.9; /* Slightly more prominent than inactive entries */
    border-bottom: 1px solid #E0E0E0;
    transform: translateY(0);
}

/* Timeline content layout improvements */
.timeline-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.timeline-year {
    text-align: left;
    display: flex;
    align-items: center;
    height: 100%;
}

.company-info {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.timeline-entry-current .timeline-year {
    font-weight: 600;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #424242; /* Slightly darker than inactive entries */
}

.timeline-entry-current .job-title {
    font-weight: 600;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #424242;
    margin-bottom: 8px;
}

.job-des-2 {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #7D7F91;
}

.timeline-entry-current .job-des {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #3C3C3C;
}

.timeline-entry-current .company-info {
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #424242;
}

/* Regular timeline entries */
.timeline-entry .timeline-year{
    font-weight: 400;
    font-size: 28px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #7D7F91;
    transition: all 0.3s ease;
}

.timeline-entry .job-title {
    font-weight: 400;
    font-size: 28px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #7D7F91;
    transition: all 0.3s ease;
    margin: 0;
}

.timeline-entry .company-name{
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #7D7F91;
    transition: all 0.3s ease;
}

.timeline-entry.active .job-des-2 {
    color: #3C3C3C !important;
}

/* Active entry (in focus) */
.timeline-entry.active {
    opacity: 1;
}

.timeline-entry.active .timeline-year {
    font-weight: 600;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #212121;
}

.timeline-entry.active .job-title {
    font-weight: 600;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #212121;
}

.timeline-entry.active .company-name{
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #212121;
}

/* Make current entry active when it's in view */
.timeline-entry-current.active .timeline-year,
.timeline-entry-current.active .job-title,
.timeline-entry-current.active .company-info {
    color: #212121;
}

@media (max-width: 767px) {
    /* Remove height restrictions */
    .timeline-container {
        height: auto;
    }

    .timeline-entries {
        height: auto;
    }

    /* REGULAR ENTRIES - SMALLEST */
    .timeline-entry {
        padding: 16px 0px;
    }
    
    .timeline-entry .timeline-year {
        font-size: 12px;
        font-weight: 400;
    }
    
    .timeline-entry .job-title {
        font-size: 12px;
        font-weight: 400;
    }
    
    .timeline-entry .company-name {
        font-size: 10px;
        font-weight: 400;
    }
    
    /* CURRENT ENTRY - LARGEST */
    .timeline-entry-current {
        padding: 28px 0px;
    }
    
    .timeline-entry-current .timeline-year {
        font-size: 18px;
        font-weight: 600;
    }
    
    .timeline-entry-current .job-title {
        font-size: 18px;
        font-weight: 600;
    }
    
    .timeline-entry-current .job-des {
        font-size: 12px;
    }

     .job-des-2 {
        font-size: 12px;
    }
    
    .timeline-entry-current .company-info {
        font-size: 14px;
        font-weight: 600;
    }
    
    .timeline-entry.active .timeline-year {
        font-size: 14px;
        font-weight: 600;
    }
    
    .timeline-entry.active .job-title {
        font-size: 14px;
        font-weight: 600;
    }
    
    .timeline-entry.active .company-name {
        font-size: 12px;
        font-weight: 600;
    }
}