.achievement-slider {
    width: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden; /* Ensure overflow is hidden to hide extra items */
}

.achievement-body {
    width: 100%;
    overflow: hidden; /* Ensure overflow is hidden to hide extra items */
    position: relative; /* Needed for absolute positioning of items */
}

.achievement-container {
    width: 100%;
    display: flex; /* Ensure items are in a flex container */
}

.achievement-content {
    display: flex;
    transition: transform 0.5s ease; /* Smooth transition for sliding effect */
}

.achievement-item {
    width: 223px;
    padding: 5px; /* Add some padding between items */
    box-sizing: border-box; /* Ensure padding doesn't increase item width */
}

.achievement-image{
    width: 100%;
    height: 297px;
}

.achievement-image > img {
    border-radius: 6px;
    width: 100%; /* Make sure images fill their respective containers */
    height: 100%; /* Preserve aspect ratio */
}

.achievement-title{
    font-family: poppins;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #FFF;
    margin-top: 3px;
}

.achievement-det{
    font-family: poppins;
    text-align: center;
    font-size: 12px;
    color: #f1f1f1;
    margin-top: 3px;
}

@media screen and (max-width: 480px){
    .achievement-item {
        width: 300px;
    }
    
    .achievement-image{
        height: 400px;
    }
}

@media (min-width: 481px) and (max-width: 1199px) {

    .achievement-item {
        width: 165px;
    }
    
    .achievement-image{
        height: 220px;
    }
} 