.history-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 270vh;
    padding: 6rem 5% 4rem;
    background-color: transparent;
    background: linear-gradient(180deg, black, #7c3aed);
}
.history-section h1 {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 4rem;
    
    color: #3b82f6;
    background: transparent;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;

}

.history-timeline {
    position: relative;
    max-width: 1000px;
    width: 100%;
    background-color: transparent;
    margin: 0 auto;
    padding: 40px 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    width: 8px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    z-index: 1;
}

.history-item {
    padding: 20px 40px;
    position: relative;
    background-color: transparent;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    /* transition: all 2s cubic-bezier(0.4, 0, 0.2, 1); */
}

.history-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.history-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: left;
}

.history-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
    text-align: left;
    
}

.history-item::after {
    content: '';
    position: absolute;
    width: 51px;
    background: #f8f9ff;
    border: 4px solid #3b82f6;
    top: 70px;
    z-index: 1;
}

.history-item:nth-child(odd)::after {
    right: 2px;
}
.history-item:nth-child(1)::after {
    border: 4px solid #5177F6;
}
.history-item:nth-child(2)::after {
    border: 4px solid #7C63F6;
}
.history-item:nth-child(3)::after {
    border: 4px solid #B653CC;
}

.history-item:nth-child(4)::after {
    border: 4px solid #EE5781;
}
.history-item:nth-child(even)::after {
    left: 2px;
}

.history-content {
    padding: 25px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.history-year {
    color: #6e8efb;
    background: transparent;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 0 10px;
    letter-spacing: 1px;
}

.history-year::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
}

.history-content:hover .history-year::after {
    width: 100%;
}

.history-description {
    color: #e2e8f0;
    line-height: 1.8;
    font-size: 1.05rem;
    background-color: transparent;
    font-weight: 300;
}

.history-description ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    padding-left: 40px;
    flex-direction: column;
    background-color: transparent;
}

.history-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    width: fit-content;
    background-color: transparent;
}

.history-description li::before {
    content: '*';
    color: #3b82f6;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -2px;
}
.future {
    padding-block: 20rem;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.future *  {
    background: transparent;
}
.future p{
    color: #e2e8f0;
    font-size: 1.5rem;
}
.bucket-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
    background-color: transparent;
}

.bucket-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    color: #e0e7ff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    /* position: relative; */
    overflow: hidden;
    border-left: 3px solid #6e8efb;
    backdrop-filter: blur(5px);
}


.bucket-list li i {
    font-size: 1.3rem;
    color: #6e8efb;
    transition: transform 0.3s ease;
}

.bucket-list li:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #f8f9ff;
}
.bucket-list li:hover{
    color: #6e8efb
}
.bucket-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
    .history-section {
        padding: 5rem 5% 3rem;
    }
    .history-timeline::before {
        left: 30px;
        transform: none;
        margin-left: 0;
    }
    
    .history-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
    }
    
    .history-item:nth-child(even) {
        left: 0;
        padding-left: 70px;
    }
    
    .history-item::after {
        left: 30px;
        width: 33px;
    }
    
    .history-section h1 {
        font-size: 2.2rem;
    }
    
    .history-content {
        padding: 20px;
    }
    
    .history-year {
        font-size: 1.3rem;
    }
    
    .history-description {
        font-size: 0.95rem;
    }
}
