/* Development History Timeline Styles */
.history-section {
    padding: 60px 0;
    background-color: #fff;
}

.history-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Center vertical line */
.history-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #eee;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

/* Left side items */
.timeline-item.left {
    left: 0;
    text-align: right;
}

/* Right side items */
.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* The circles on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: #fff;
    border: 3px solid var(--brand-red, #E60012);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Fix right side circle position */
.timeline-item.right::after {
    left: -8px;
}

/* Hover effect on circle */
.timeline-item:hover::after {
    background-color: var(--brand-red, #E60012);
    transform: scale(1.2);
}

/* Content box */
.timeline-content {
    padding: 20px 30px;
    background-color: #fff;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Image Placeholder Styling */
.timeline-image-placeholder {
    width: 100%;
    height: 180px; /* Adjust height as needed */
    background-color: #f5f5f5;
    margin-bottom: 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.timeline-image-placeholder::after {
    content: '\f03e'; /* FontAwesome image icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 40px;
    opacity: 0.5;
}

/* Year/Date styling */
.timeline-date {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-red, #E60012);
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .history-timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.left, .timeline-item.right {
        left: 0;
        text-align: left;
    }
    
    .timeline-item.left::after, .timeline-item.right::after {
        left: 23px;
    }
}
