/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 21 2026 | 08:31:39 */
/* --- Timeline Container --- */
.timeline-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding-top: 50px; /* Space for the badges */
}

/* --- The Horizontal Line --- */
.line-connector {
    position: absolute;
    top: 350px; /* Adjust this based on card height */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2c4d9e; /* Dark blue line */
    z-index: 0;
}

/* --- Individual Item Layout --- */
.timeline-item {
    position: relative;
    width: 32%; /* 3 items side by side with gap */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Content Card (Speech Bubble) --- */
.content-card {
    background-color: #e9ecef;
    border-radius: 12px;
    padding: 40px 20px 20px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    min-height: 230px; /* Ensures consistent height across row */
    margin-bottom: 40px; /* Space between card and dot */
}

.content-card p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
	margin-left: 80px;
}

/* --- The Colored Badge (Top Left) --- */
.badge {
    position: absolute;
    top: -10px;
    left: 20px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 15px 25px 15px;
    text-align: center;
    border-radius: 4px 4px 0 0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    /* Creates the pointed ribbon shape at bottom */
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
}

/* --- Triangle Arrow at Bottom of Card --- */
.card-arrow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #e9ecef;
}

/* --- Dot Marker on Line --- */
.dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #2c4d9e; /* Blue ring outside white border */
    margin-bottom: 20px;
    background-color: #fff; /* Default fallback */
}

/* --- Year Label at Bottom --- */
.year-label {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
}

/* --- Color Themes --- */
/* Orange Theme */
.item-orange .badge { background: linear-gradient(135deg, #ff9f43, #ffb17a); }
.item-orange .dot { background-color: #ff9f43; }

/* Pink Theme */
.item-pink .badge { background: linear-gradient(135deg, #ef476f, #f78ca0); }
.item-pink .dot { background-color: #ef476f; }

/* Purple Theme */
.item-purple .badge { background: linear-gradient(135deg, #8e44ad, #a569bd); }
.item-purple .dot { background-color: #8e44ad; }


/* --- RESPONSIVE QUERIES --- */

/* Laptop / Small Desktop (Adjust line position if text wraps) */
@media (max-width: 1024px) {
    .content-card {
        min-height: 280px; /* Increase height for text wrapping */
    }
    .line-connector {
        top: 400px; /* Push line down to match new card height */
    }
    .year-label {
        font-size: 1.4rem;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
	
	.badge {
		padding: 12px 4px 16px 4px;
		width: 19%;
		white-space: pre-wrap;
	}
	
    .timeline-wrapper {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
        padding-top: 20px;
    }

    /* Hide the horizontal line on mobile */
    .line-connector {
        display: none;
    }

    .timeline-item {
        width: 100%;
        max-width: 400px; /* Prevent it from getting too wide */
        margin-bottom: 60px; /* Space between stacked items */
    }

    .content-card {
        min-height: auto; /* Auto height based on text */
        margin-bottom: 25px;
    }

    .dot {
        margin-bottom: 10px;
        /* Optional: Add a vertical line connecting dots here if desired */
    }

    .year-label {
        font-size: 1.5rem;
    }
}