.milestones-hero {
    position: relative;
    background-image: url('../img/about_hero.png'); 
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin: 10px auto 40px; 
    max-width: calc(100% - 24px);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; 
    text-align: center;
    color: #444;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.milestones-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.milestones-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    color: #1965c0;
    margin: 15px 0 5px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.milestones-hero-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1965c0;
    margin: 0 0 20px 0;
}

.breadcrumb-custom {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
}

.breadcrumb-custom a {
    color: #444;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb-custom .active {
    color: #1965c0;
    font-weight: 600;
}

.breadcrumb-custom .separator {
    color: #444;
    opacity: 0.5;
    margin: 0 5px;
}

/* Timeline Container */
.timeline-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Central Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #1965c0 10%, #1965c0 90%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

/* Timeline Item */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating Sides */
.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

/* Connecting Dots */
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #fff;
    border: 4px solid #1965c0;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(25, 101, 192, 0.1);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

/* Date Bubble */
.timeline-date {
    display: inline-block;
    padding: 4px 15px;
    background-color: #eaf2fb;
    color: #1965c0;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Timeline Card */
.timeline-content {
    padding: 24px;
    background-color: #fdf5e6; /* Premium Cream */
    position: relative;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.timeline-content p {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* Arrows */
.timeline-content::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    top: 25px;
}

/* Left side arrow */
.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
    border-left: 10px solid #fdf5e6;
}

/* Right side arrow */
.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
    border-right: 10px solid #fdf5e6;
}

/* Hover effects for text */
.timeline-item:hover .timeline-date {
    background-color: #1965c0;
    color: #fff;
}
