.admission-roadmap {
    background: #f4f4f4;
}

.roadmap-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    flex-wrap: wrap;
}

.roadmap-step {
    width: 23%;
    text-align: center;
    position: relative;
}

/* Yellow Circle */
.circle {
    width: 140px;
    height: 140px;
    background: #ff2f1f;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    border: 8px solid #2d1a82;
    position: relative;
}

/* Dotted Outer Border */
.circle::after {
    content: "";
    position: absolute;
    width: 165px;
    height: 165px;
    border-radius: 50%;
    border: 2px dashed #bbb;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.roadmap-step h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.roadmap-step p {
    font-size: 15px;
    color: #555;
}

.roadmap-step:nth-child(1) .circle::before,
.roadmap-step:nth-child(3) .circle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(images/bottom-arrow.png);
    background-repeat: no-repeat;
    bottom: -190px;
    left: 242px;
    background-size: 80%;
}
.roadmap-step:nth-child(2) .circle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(images/top-arrow.png);
    background-repeat: no-repeat;
    top: 0;
    left: 200px;
    background-size: 80%;
}


.roadmap-step:nth-child(1) .circle,
.roadmap-step:nth-child(3) .circle {
    margin-top: 100px;
}
/* 1st and 3rd circle */
.roadmap-step:nth-child(1) .circle,
.roadmap-step:nth-child(3) .circle {
    animation: floatUpDown 4s ease-in-out infinite;
}

/* 2nd and 4th circle */
.roadmap-step:nth-child(2) .circle,
.roadmap-step:nth-child(4) .circle {
    animation: floatUpDown 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Slow floating animation */
@keyframes floatUpDown {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Rotating dashed border animation */

.circle::after {
    animation: rotateBorder 10s linear infinite;
}

@keyframes rotateBorder {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 991px) {

    .roadmap-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .roadmap-step {
        width: 100%;
        margin-bottom: 60px;
    }

    .roadmap-wrapper::before {
        display: none;
    }
	.roadmap-step:nth-child(1) .circle,
.roadmap-step:nth-child(3) .circle {
    margin-top: 0;
}
.roadmap-step:nth-child(1) .circle::before, .roadmap-step:nth-child(3) .circle::before {
    display: none;
}
.roadmap-step:nth-child(2) .circle::before {
    display: none;
}
}
@media (max-width: 1024px) {
.roadmap-step:nth-child(1) .circle::before, .roadmap-step:nth-child(3) .circle::before {
    bottom: -240px;
    left: 190px;
    background-size: 60%;
}
.roadmap-step:nth-child(2) .circle::before {
    left: 160px;
}
}


/* Optional connecting dotted line */
/* .roadmap-wrapper::before {
    content: "";
    position: absolute;
    top: 70px;
    left: 10%;
    width: 80%;
    height: 2px;
    border-top: 2px dashed #ccc;
    z-index: 0;
} */
		.model-sub-titile {
			color: white;
			margin-bottom: 0;
			margin-top: 0;
			font-size: 12px;
		}
		.admission-roadmap {
    background: #f9f9f9;
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Roadmap card */
.roadmap-item {
    background: #fff;
    padding: 40px 20px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.roadmap-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Number styling */
.roadmap-number {
    font-size: 120px;            /* adjust size as needed */
    font-weight: 900;
    line-height: 1;
    text-align: center;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
    position: relative;

    /* Bottom fade */
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: cover;
            mask-size: cover;
}

/* Fallback if mask not supported */
@supports not ((mask-image: linear-gradient(#000, transparent))) {
    .roadmap-number {
        opacity: 0.95;
    }
}

/* Glow effect and colors for each number */
.num1 { color: #1e88ff; text-shadow: 0 0 18px rgba(30,136,255,.45); }
.num2 { color: #ff4d4d; text-shadow: 0 0 18px rgba(255,77,77,.45); }
.num3 { color: #ffb74d; text-shadow: 0 0 18px rgba(255,183,77,.45); }
.num4 { color: #43a047; text-shadow: 0 0 18px rgba(67,160,71,.45); }

/* Card headings and text */
.roadmap-item h4 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 10px;
}
.roadmap-item p {
    font-size: 0.95rem;
    color: #555;
    margin-top: 10px;
}

/* Responsive adjustments */
@media(max-width: 991px){
    .roadmap-number { font-size: 100px; }
}
@media(max-width: 575px){
    .roadmap-number { font-size: 80px; }
}