#projects {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-bottom: 10rem;
    color: var(--white);
    margin: 0 5rem;
}

.projects--marquee-container {
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg--color);
    color: var(--white);
    padding: 0.3em 0 0 0;
    font-size: 9em;
    opacity: 0.1;
    position: relative;
}

.projects--marquee {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.project--item {
    display: flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
}

.marquee--text {
    font-size: 0.9em;
    font-weight: 500;
}

.project--item img {
    width: 80px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.projects--header {
    display: grid;
    grid-template-columns: 3fr 1fr;
    align-items: baseline;
}

.projects--header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: end;
    position: sticky;
    top: 6rem;
}

.projects--header-right span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text--color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.projects--header-left h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text--color);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.projects--header-left p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--subtext--color);
    font-family: var(--secundary--font);
    max-width: 60ch;
    margin-bottom: 5rem;
}

.project--image-container {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.project--visual-item {
    width: 85%;
}

.projects--main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: flex-end;
}

.project--image-wrapper {
    position: relative;
    border-radius: 70px;
    overflow: hidden;
}

.project--image-wrapper img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
    border-radius: 50px;
    scale: 1.15;
}

.project--pills {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project--pills span {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.project--visual-info {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 3rem auto 0 auto;
}

.project--slogan {
    max-width: 700px;
    text-align: center;
    font-size: 1.7rem;
    color: var(--subtext--color);
    line-height: 1.4;
}

.timeline--container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5rem;
    gap: 2rem;
}

.timeline--line {
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
}

.timeline--progress {
    width: 100%;
    height: 0;
    background-color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
}

.timeline--icons {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1rem;
    width: 10rem;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.timeline--icon {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--subtext--color);
    text-align: right;
    transition: color 0.3s ease, transform 0.3s ease;
}

.timeline--icon.active {
    color: var(--white);
    transform: scale(1.1);
}