#dynamicContainer {
    margin-top: 80px;
    margin-bottom: 80px;
}

.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: 100%;
    width: 6px;
    background: linear-gradient(to bottom, #349254, #1f5333);
    opacity: 0.7;
    z-index: 0;
}

.timeline-event {
    position: relative;
    width: 80%;
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.timeline-event:nth-child(odd) {
    flex-direction: row-reverse;
}

.event-content {
    width: 48%;
    padding: 1.8rem 1.5rem;
    border-radius: 14px;
    border: 1px solid #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /*background: #1a1a1a;*/
    z-index: 1;
}

.event-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(52, 146, 84, 0.1);
    border: 2px solid #349254;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-dot .dot-inner {
    width: 12px;
    height: 12px;
    background-color: #349254;
    border-radius: 50%;
}

.event-thumbnail {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #444;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-title {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 15px;
    color: #bbbbbb;
}

.btn {
    border-radius: 50px;
    transition: all 0.3s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.text-muted {
    color: #b0b0b0 !important;
}
.neon-icon {
    color: #349254;
}
.btn-neon {
    background-color: transparent;
    color: #349254;
    border: 2px solid #349254;
    transition: all 0.3s ease;
}
.btn-neon:hover {
    background-color: #349254;
    color: #000;
    box-shadow: 0 0 15px #349254;
}

/* -------- MOBILE -------- */
@media (max-width: 767px) {
    .timeline-event {
        width: 90%;
        flex-direction: column !important;
        align-items: center;
        margin: 2.5rem 0 1rem 0;
        position: relative;
    }

    .timeline-event:nth-child(odd),
    .timeline-event:nth-child(even) {
        flex-direction: column !important;
    }

    .event-content {
        width: 100% !important;
        margin: 0;
        position: relative;
        background: #1a1a1a;
    }

    .timeline-dot {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
        z-index: 2;
        background-color: #349254;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border-radius: 50%;
    }

    .event-thumbnail {
        top: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        position: absolute;
    }
}
