.cdc-timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
    padding: 40px 0;
}

/* CENTER LINE */


/* TIMELINE ITEM */
.cdc-timeline-item {
	padding: 20px 30px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.cdc-timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.cdc-timeline-item.left {
    left: 0;
}

.cdc-timeline-item.right {
    left: 50%;
}
/* ===== PERFECT CENTER DOT FIX ===== */

.cdc-timeline {
    position: relative;
}
/* ===== FINAL PROPER CENTER DOT ===== */

.cdc-timeline-item {
    position: relative;
}

/* Create dot inside timeline container center */
.cdc-timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 5px solid #CA9178;
    border-radius: 50%;
    top: 0px;
    left: 100%;
    transform: translateX(-50%);
    z-index: 5;
}

/* LEFT SIDE CARD */
.cdc-timeline-item.left::after {
    left: 100%;
}

/* RIGHT SIDE CARD */
.cdc-timeline-item.right::after {
    left: 0;
    transform: translateX(-50%);
}
/* Base vertical line */
.cdc-timeline {
    position: relative;
}

.cdc-timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: #CA9178; /* light background line */
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Animated progress line */
.cdc-timeline-progress {
    position: absolute;
    width: 2px;
    background: #824E35;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 0;
    transition: height 0.2s ease-out;
}
/* CARD DESIGN */
.cdc-content {
    background: #CA9178;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 5px solid white; /* 2px top border added */
	color: white;
}

/* BADGES */
.cdc-badges {
    margin-bottom: 10px;
	color: black;
}

.cdc-label,
.cdc-date {
    background: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 6px;
}
/* RESPONSIVE */
@media screen and (max-width: 768px) {

    .cdc-timeline::after {
        left: 20px;
        top: 0;
        bottom: 0;
    }

    .cdc-timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left;
    }

        left: 0;
    }

    .cdc-timeline-item::after {
        left: 11px;
    }
}

