/* Clean Company Timeline CSS */
.company-timeline-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
}

.ct-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    font-weight: 600;
}

/* Viewport contains visible items */
.ct-viewport {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

/* Track holds all items in a row */
.ct-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    padding: 0 60px;
}

/* Individual timeline items */
.ct-item {
    flex: 0 0 350px;
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.ct-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Item inner container */
.ct-item-inner {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.ct-item.active .ct-item-inner {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Thumbnail */
.ct-thumb {
    height: 200px;
    overflow: hidden;
}

.ct-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ct-item.active .ct-thumb img {
    transform: scale(1.05);
}

/* Content */
.ct-body {
    padding: 25px;
}

.ct-years {
    color: #007bff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.ct-item-title {
    font-size: 1.4rem;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.4;
}

.ct-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Navigation */
.ct-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    position: relative;
    padding: 20px 0;
}

/* Progress bar */
.ct-progress {
    position: absolute;
    left: 120px;
    right: 120px;
    height: 3px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
}

.ct-progress__bar {
    display: block;
    height: 100%;
    width: 0%;
    background: #007bff;
    transition: width 0.5s ease;
}

/* Arrows */
.ct-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid #007bff;
    border-radius: 50%;
    background: #fff;
    color: #007bff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.ct-arrow:hover {
    background: #007bff;
    color: #fff;
    transform: scale(1.1);
}

.ct-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Dots */
.ct-dots {
    display: flex;
    gap: 12px;
    z-index: 3;
}

.ct-dots button {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ct-dots button:hover {
    background: #999;
}

.ct-dots button.active {
    background: #007bff;
    transform: scale(1.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .company-timeline-wrapper {
        padding: 20px 10px;
    }
    
    .ct-heading {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .ct-track {
        flex-direction: column;
        gap: 20px;
        padding: 0;
        transform: none !important;
    }
    
    .ct-item {
        flex: none;
        width: 100%;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .ct-nav {
        flex-direction: column;
        gap: 15px;
        padding: 30px 0;
    }
    
    .ct-timeline-progress {
        position: static;
        width: 70%;
        height: 3px;
        order: 2;
        transform: none;
        margin: 0 auto;
    }
    
    .ct-arrow {
        display: none;
    }
    
    .ct-dots {
        position: static;
        order: 1;
        transform: none;
        justify-content: center;
        gap: 12px;
        margin-bottom: 15px;
        width: auto;
        left: auto;
        right: auto;
    }
    
    .ct-thumb {
        height: 180px;
    }
}