.achievements-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.student {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.student-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

/* Different background colors for each column */
.student:nth-child(3n+1) .student-image {
    background-color: #e0f7e0;
    border-bottom: 2px solid #2f4812;
}

.student:nth-child(3n+2) .student-image {
    background-color: #e0e0f7;
    border-bottom: 2px solid #b4c87d;
}

.student:nth-child(3n+3) .student-image {
    background-color: #f7e0e0;
    border-bottom: 2px solid #306a13;
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-info {
    text-align: left;
    padding: 15px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.student-name {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
}

.achievement {
    font-weight: normal;
}

.cambridge-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

.outstanding-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

@media (max-width: 900px) {
    .achievements-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .achievements-container {
        grid-template-columns: 1fr;
    }
}