/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* css/custom-about.css */

/* -----------------------------------
   Timeline Component Styling (Simplified & Unique)
----------------------------------- */

.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 0;
}

/* Vertical line in the timeline */
.timeline::before {
    content: '';
    position: absolute;
    left: 40px; /* Position the line 40px from the left */
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #0d6efd; /* Bootstrap primary color */
    border-radius: 2px;
}

/* Timeline item */
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 80px; /* Space for the dot */
}

/* Dot */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 32px; /* Center the dot on the line */
    top: 0;
    width: 16px;
    height: 16px;
    background-color: #0d6efd;
    border: 4px solid #ffffff;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 2px #0d6efd;
    box-shadow: 0 0 0 2px #0d6efd;
}

/* Timeline content */
.timeline-content {
    background-color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}

/* Hover effect for timeline content */
.timeline-content:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Timeline titles */
.timeline-content h5 {
    margin-bottom: 0.5rem;
    color: #0d6efd; /* Bootstrap primary color */
    font-size: 1.25rem;
    font-weight: 600;
}

/* Timeline descriptions */
.timeline-content p {
    margin: 0;
    color: #555555;
    line-height: 1.5;
}

/* Responsive Adjustments for Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-item::before {
        left: 22px;
    }

    .timeline-content {
        padding: 0.75rem 1rem;
    }

    .timeline-content h5 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
    }

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

    .timeline-content {
        padding: 0.5rem 0.75rem;
    }

    .timeline-content h5 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }
}
