.tour-itinerary {
    margin-top: 3rem;
    margin-bottom: 3.5rem;
    position: relative;
}

.tour-itinerary .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.itinerary-timeline {
    position: relative;
    padding: 1rem 0;
}

.itinerary-day {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.day-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.day-marker {
    width: 45px;
    height: 45px;
    background-color: #FF8C00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    z-index: 2;
    position: relative;
}

.day-number {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.day-title {
    flex: 1;
}

.day-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.day-content {
    padding: 0.5rem 0 1.5rem 4rem;
    position: relative;
}

.day-content p {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.day-content p:last-child {
    margin-bottom: 0;
}

.day-separator {
    border-bottom: 1px solid #eee;
    margin: 1rem 0 1.5rem 4rem;
}

.itinerary-day:last-child .day-separator {
    display: none;
}

.itinerary-day:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 22px;
    width: 2px;
    height: calc(100% - 30px);
    background-color: #eaeaea;
    z-index: 1;
}

/* Custom styles for itinerary lists */
.day-content ul {
    margin: 0 0 1rem 1.5rem;
    padding: 0;
    list-style-type: none;
}

.day-content ul li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.day-content ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent);
}

.day-content ul li strong {
    color: #333;
    font-weight: 600;
}

/* Make sure lists inside itinerary align properly with the timeline */
@media (max-width: 768px) {
    .day-content ul {
        margin-left: 0.5rem;
    }
    
    .day-content ul li {
        padding-left: 1.2rem;
    }
}

@media (max-width: 768px) {
    .tour-itinerary .section-header h2 {
        font-size: 1.8rem;
    }
    
    .day-marker {
        width: 40px;
        height: 40px;
        margin-right: 1rem;
    }
    
    .day-number {
        font-size: 1rem;
    }
    
    .day-title h3 {
        font-size: 1rem;
    }
    
    .day-content {
        padding-left: 3.5rem;
    }
    
    .day-separator {
        margin-left: 3.5rem;
    }
    
    .itinerary-day:not(:last-child)::before {
        left: 20px;
    }
}