/* TIMELINE */

a {
    text-decoration: none;
}

h4 {
    text-align: center;
    margin: 30px 0;
    color: #444;
}

.main-timeline {
    position: relative;
    padding-left: 40px;
}

.main-timeline:before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    width: 4px;
    height: 100%;
    background: #242922;
    border-radius: 2px;
}

.timeline {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.timeline-icon {
    position: absolute;
    left: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #285430;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    z-index: 2;
}

.timeline-content {
    margin-left: 80px;
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-content:before {
    content: "";
    position: absolute;
    top: 15px;
    left: -15px;
    width: 10px;
    height: 2px;
    background: #1b3920;
}

.title {
    font-size: 16px;
    font-weight: 600;
    color: #1b3920;
    text-transform: uppercase;
    margin: 0 0 5px;
}

.description {
    font-size: 14px;
    color: #404040;
    line-height: 20px;
    margin: 0;
}

/* Even timeline (alternate colors) */
.main-timeline .timeline:nth-child(even) .timeline-icon {
    background: #28a940;
}

.main-timeline .timeline:nth-child(even) .timeline-content:before {
    background: #28a940;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .main-timeline {
        padding-left: 20px;
    }

    .main-timeline:before {
        left: 20px;
    }

    .timeline-icon {
        left: 0;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .timeline-content {
        margin-left: 60px;
        padding: 8px 12px;
    }

    .timeline-content:before {
        left: -12px;
    }
}

/* ========================================
   MEDIUM PRIORITY RESPONSIVE FIXES
   Added: 2025-11-30
   ======================================== */

/* FIX #6: Content Max-Width for Readability */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.content-wrapper p,
.content-wrapper ul,
.content-wrapper ol {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Timeline Container Optimization */
.container.my-5 {
    max-width: 1200px;
}

@media only screen and (max-width: 991px) {
    .content-wrapper {
        max-width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .title {
        font-size: 15px;
    }

    .description {
        font-size: 13px;
        line-height: 1.6;
    }
}
