/*!
 * -------------------------------------------------------
 * Project Name : Prop Funding
 * Author       : SoftwareZon
 * Author URL   : https://softwarezon.com
 * Version      : 1.0.0
 * Created      : 2025
 * Description  : Contains global CSS used by journey roadmap  components.
 * File         : journey-roadmap.css
 * -------------------------------------------------------
 * ©2025 SoftwareZon. All Rights Reserved.
 * -------------------------------------------------------
 */
/*----------------------------------------------------
  01. Journey Roadmap Section Styles
----------------------------------------------------*/
.timeline {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.timeline .timeline-item {
    width: 45%;
    position: relative;
    border: 1px solid rgba(var(--white), 0.1);
    backdrop-filter: blur(4px);
    background-color: rgba(var(--white), 0.05);
    border-radius: 20px;
    padding: 25px;
    overflow: hidden;
}
.timeline .timeline-item:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 50%;
    right: -10%;
    top: 0;
    filter: blur(60px);
    transform: rotate(-30deg);
    z-index: -1;
    opacity: 0.4;
}
.timeline .timeline-item:nth-child(odd) {
    align-self: flex-end;
}
.timeline .timeline-item:nth-child(odd):before {
    left: -69px;
}
.timeline .timeline-item:nth-child(even) {
    align-self: flex-start;
}
.timeline .timeline-item:nth-child(even):before {
    align-self: flex-start;
    right: -71px;
}

.journey-inner-container {
    max-width: 1080px;
    width: 95%;
    margin: 0 auto;
}
.timeline {
    position: relative;
}
.timeline-item span {
    padding: 2px 20px;
    display: inline-block;
    background-color: rgba(var(--white), 0.05);
    border-radius: 100px;
    color: rgba(var(--white), 1);
    font-size: var(--font-base);
}
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(117.1deg, rgba(var(--brand), 1) 35.08%, rgba(var(--brand-secondary), 1) 105.57%);
}

.timeline-progress-circle {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 30px;
    height: 30px;
    background: rgba(var(--brand), 1);
    border-radius: 50%;
    transform: translateY(0);
    transition: transform 0.5s linear;
    z-index: 10;
}
.timeline .timeline-item:nth-child(5n + 1):after {
    background-color: rgba(var(--purple), 0.5);
}
.timeline .timeline-item:nth-child(5n + 1) span {
    border: 1px solid rgba(var(--purple), 0.5);
}
.timeline .timeline-item:nth-child(5n + 2):after {
    background-color: rgba(var(--yellow), 1);
}
.timeline .timeline-item:nth-child(5n + 2) span {
    border: 1px solid rgba(var(--yellow), 1);
}
.timeline .timeline-item:nth-child(5n + 3):after {
    background-color: rgba(var(--orange), 1);
}
.timeline .timeline-item:nth-child(5n + 3) span {
    border: 1px solid rgba(var(--orange), 1);
}
.timeline .timeline-item:nth-child(5n + 4):after {
    background-color: rgba(var(--indigo), 1);
}
.timeline .timeline-item:nth-child(5n + 4) span {
    border: 1px solid rgba(var(--indigo), 1);
}
.timeline .timeline-item:nth-child(5n + 5):after {
    background-color: rgba(var(--brand), 1);
}
.timeline .timeline-item:nth-child(5n + 5) span {
    border: 1px solid rgba(var(--brand), 1);
}

@media all and (max-width: 767px) {
    .timeline .timeline-item {
        width: 100%;
        margin-bottom: 15px;
    }

    .timeline .timeline-item:nth-child(even) {
        text-align: right;
    }
    .timeline .timeline-item:nth-child(even):after {
        right: 70%;
    }
    .timeline::before,
    .timeline::after {
        display: none;
    }
    .timeline .timeline-item {
        padding: 20px 15px;
    }
}
