/* History Section */
.history-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.history-title {
    color: #0066b3;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.4;
}

.history-content {
    padding-right: 30px;
}

.history-year {
    color: #dc3545;
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.history-subtitle {
    color: #0066b3;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.btn-timeline {
    background-color: #0066b3;
    border-color: #0066b3;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-timeline:hover {
    background-color: #005299;
    border-color: #005299;
    transform: translateX(5px);
    color: white;
}

.btn-timeline .icon-go {
    width: 20px;
    height: 20px;
}

.history-text {
    padding-left: 30px;
}

.history-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

/* Timeline Images */
.timeline-images {
    margin-top: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timeline-nav-group {
    display: flex;
    gap: 11px;
    align-items: center;
}

.timeline-images-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    flex: 1;
}

.timeline-image {
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    flex-shrink: 0;
}

.timeline-image.timeline-transitioning {
    opacity: 0.5;
    transform: scale(0.95);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.timeline-image.small {
    width: 120px;
    height: 120px;
    border: 2px solid #ddd;
}

.timeline-image.medium {
    width: 180px;
    height: 180px;
    border: 2px solid #0066b3;
}

.timeline-image.large {
    width: 280px;
    height: 280px;
    border: 2px solid #dc3545;
    position: relative;
}

.timeline-image.large.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timeline-logo {
    margin-bottom: 15px;
}

.timeline-logo img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.timeline-year-badge {
    color: white;
    font-size: 36px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.timeline-nav {
    background-color: transparent;
    border: none;
    color: #0066b3;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.timeline-nav img {
    margin-left: 5px;
    width: 52px;
    height: 52px;
}

.timeline-nav:hover {
    transform: scale(1.1);
}

/* History Section Responsive */
@media (max-width: 991px) {
    .history-content,
    .history-text {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .history-title {
        font-size: 24px;
    }
    
    .history-year {
        font-size: 56px;
    }
    
    .timeline-images {
        flex-direction: column;
        gap: 30px;
    }
    
    .timeline-nav-group {
        order: 2;
    }
    
    .timeline-images-container {
        order: 1;
    }
    
    .timeline-image.large {
        width: 220px;
        height: 220px;
    }
    
    .timeline-image.medium {
        width: 150px;
        height: 150px;
    }
    
    .timeline-image.small {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 767px) {
    .history-section {
        padding: 50px 0;
    }
    
    .history-content {
        margin-bottom: 30px;
    }
    
    .history-title {
        font-size: 20px;
    }
    
    .history-year {
        font-size: 48px;
    }
    
    .history-subtitle {
        font-size: 16px;
    }
    
    .timeline-images {
        margin-top: 40px;
    }
    
    .timeline-images-container {
        gap: 15px;
    }
    
    .timeline-image.large {
        width: 180px;
        height: 180px;
    }
    
    .timeline-image.medium {
        width: 120px;
        height: 120px;
    }
    
    .timeline-image.small {
        width: 80px;
        height: 80px;
    }
    
    .timeline-nav {
        width: 35px;
        height: 35px;
    }
    
    .timeline-nav img {
        width: 35px;
        height: 35px;
    }
}
