/* ================= SECTION ================= */
.enrolment-section {
    padding: 90px 0;
    background: #ffffff;
}

/* ================= TITLES ================= */
.small-title {
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 6px;
}

.main-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e3a8a;
}

/* ================= LEFT STEPS ================= */
/* ================= LEFT STEPS : BUTTON STYLE ================= */

.steps-list {
    list-style: none;
    padding-left: 30px;
    margin: 0;
}

/* Each step as button */
.steps-list li {
    width: 460px;
    position: relative;
    margin-bottom: 16px;
    padding: 16px 18px 16px 24px;

    background-color: #f8fafc;
    /* 🔥 button bg */
    border: 1px solid #e5e7eb;
    border-radius: 12px;

    font-size: 16px;
    font-weight: 500;
    color: #6b7280;

    cursor: pointer;
    transition: all 0.25s ease;
}

/* Hover effect */
.steps-list li:hover {
    background-color: #eef2ff;
    border-color: #c7d2fe;
    color: #1e3a8a;
}

/* Active / selected button */
.steps-list li.active {
    background-color: #eef2ff;
    border-color: #1e3a8a;
    color: #1e3a8a;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
}

/* Optional left accent inside button */
.steps-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    width: 4px;
    height: 76%;
    background: transparent;
    border-radius: 4px;
    transition: background 0.25s ease;
}

.steps-list li.active::before {
    background: #1e3a8a;
}


/* ================= RIGHT CONTENT ================= */
.content-column {
    position: sticky;
    top: 120px;

    display: flex;
    justify-content: center;
    /* center horizontally */
    align-items: flex-start;
}

/* Content box (only active visible) */
.content-box {
    display: none;
    max-width: 520px;
    width: 100%;
    animation: fadeUp 0.4s ease;

}

.content-box.active {
    display: block;
}

/* Right content container */
.content-column {
    position: sticky;
    top: 120px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Content box */
.content-box {
    text-align: center;
    /* 🔥 text + image center */
}

/* Image center fix */
.doc-img {
    display: block;
    /* 🔥 important */
    margin: 0 auto 16px auto;
    /* 🔥 horizontal center */
}


/* Image */
.doc-img {
    width: 200px;
    padding-bottom: 16px;
}

/* Text */
.content-box p {
    text-align: left;
    font-size: 16px;
    color: #111827;
    line-height: 1.6;
    max-width: 520px;
}

/* ================= ANIMATION ================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .content-column {
        position: static;
        margin-top: 40px;
        justify-content: center;
    }

    .content-box p {
        text-align: center;
        font-size: 14px;
        font-weight: 200;
    }

    .steps-line,
    .steps-active {
        left: 0;
    }

    .steps-column {
        padding: 0 16px;
    }

    .steps-list {
        padding-left: 0px;

    }
}

@media (max-width: 575px) {
    .main-title {
        font-size: 32px;
    }

    .steps-list li {
        font-size: 16px;
        width: 340px;
    }

    .doc-img {
        width: 140px;
    }
}