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

/* Removing the center line by commenting out the ::before pseudo-element */
/* .timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, #cd9b2c, #00c6ff);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
} */

.timeline-event {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-content {
    width: 45%;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.timeline-event:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-event:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 4px solid #cd9b2c;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-event:nth-child(odd) .timeline-dot {
    right: -15px;
}

.timeline-event:nth-child(even) .timeline-dot {
    left: -15px;
}

.timeline-year {
    position: absolute;
    top: -30px;
    font-size: 1.4em;
    font-weight: 700;
    color: #cd9b2c;
    background: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    color: #cd9b2c;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #666;
}

.timeline-content ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #cd9b2c;
}

/* Section Styling */
.about-section {
    padding: 100px 0 60px;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
    position: relative;
}

.section-title h2 {
    font-size: 3em;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #cd9b2c, #9b8400);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2em;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    margin-top: 30px;
}

/* Looking Ahead Section */
.looking-ahead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin-top: 60px;
    text-align: center;
}

.looking-ahead h3 {
    color: #cd9b2c;
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.looking-ahead p {
    font-size: 1.2em;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-event {
        margin-bottom: 40px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-dot {
        left: 15px !important;
        right: auto !important;
    }

    .timeline-year {
        left: 60px;
        top: -25px;
    }

    .section-title h2 {
        font-size: 2.2em;
    }

    .looking-ahead {
        padding: 50px 20px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-event {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.timeline-event:nth-child(1) {
    animation-delay: 0.2s;
}
.timeline-event:nth-child(2) {
    animation-delay: 0.4s;
}
.timeline-event:nth-child(3) {
    animation-delay: 0.6s;
}
.timeline-event:nth-child(4) {
    animation-delay: 0.8s;
}
.timeline-event:nth-child(5) {
    animation-delay: 1s;
}
.timeline-event:nth-child(6) {
    animation-delay: 1.2s;
}
