/* =========================================================
   MAJOR ACHIEVEMENTS SECTION
========================================================= */


/* =========================================================
   WRAPPER
========================================================= */

.achievements-wrapper {
    position: relative;

    max-height: 700px;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 40px 0 40px 30px;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.achievements-wrapper::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   INNER
========================================================= */

.achievements-inner {
    position: relative;
    width: 100%;
}

/* =========================================================
   SINGLE LEFT LINE
========================================================= */

.achievements-inner::before {
    content: "";

    position: absolute;

    top: 0;
    left: 18px;

    width: 4px;
    height: 100%;

    background: #0d6efd;

    border-radius: 20px;

    z-index: 1;
}

/* =========================================================
   ITEM
========================================================= */

.achievements-item {
    position: relative;

    width: 100%;

    padding-left: 55px;

    margin-bottom: 30px;

    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

    z-index: 2;
}

.achievements-item.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   PREMIUM TIMELINE DOT
========================================================= */

.achievements-dot {
    position: absolute;

    left: 7px;
    top: 48px;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #0d6efd,
        #20c997
    );

    border: 4px solid #ffffff;

    box-shadow:
        0 0 0 5px rgba(13, 110, 253, 0.12),
        0 8px 20px rgba(13, 110, 253, 0.25);

    z-index: 10;

    transition: all 0.35s ease;
}

/* =========================================================
   DOT HOVER EFFECT
========================================================= */

.achievements-item:hover .achievements-dot {

    transform: scale(1.12);

    box-shadow:
        0 0 0 7px rgba(13, 110, 253, 0.18),
        0 12px 28px rgba(13, 110, 253, 0.32);
}

/* =========================================================
   CARD
========================================================= */

.achievements-card {
    position: relative;

    background: #fff;

    padding: 28px;

    border-radius: 22px;

    border: 1px solid rgba(0, 0, 0, 0.04);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

    transition: all 0.35s ease;
}

.achievements-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   ICON
========================================================= */

.achievements-icon {
    width: 60px;
    height: 60px;

    background: linear-gradient(
        135deg,
        #0d6efd,
        #20c997
    );

    color: #fff;

    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 1.5rem;

    margin-bottom: 18px;
}

/* =========================================================
   TEXT
========================================================= */

.achievements-card h5 {
    font-size: 1.2rem;
    font-weight: 700;

    margin-bottom: 12px;

    color: #212529;
}

.achievements-card p {
    margin-bottom: 0;

    color: #6c757d;

    line-height: 1.8;
    font-size: 0.97rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .achievements-title {
        font-size: 2rem;
    }

    .achievements-wrapper {
        padding-left: 28px;
    }

    .achievements-item {
        padding-left: 50px;
    }

    .achievements-card {
        padding: 22px;
    }

}

@media (max-width: 576px) {

    .achievements-section {
        padding: 60px 0;
    }

    .achievements-title {
        font-size: 1.7rem;
    }

    .achievements-description {
        font-size: 0.95rem;
    }

    .achievements-wrapper {
        max-height: 600px;
        padding-left: 24px;
    }

    .achievements-inner::before {
        left: 14px;
    }

    .achievements-dot {
        left: 7px;
    }

    .achievements-item {
        padding-left: 42px;
        margin-bottom: 24px;
    }

    .achievements-card {
        padding: 20px;
        border-radius: 18px;
    }

    .achievements-icon {
        width: 52px;
        height: 52px;

        font-size: 1.2rem;
    }

    .achievements-card h5 {
        font-size: 1.05rem;
    }

    .achievements-card p {
        font-size: 0.92rem;
    }

}