#achievements {
    background-color: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.achievement-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.achievement-card {
    flex: 1 1 calc(300px);
    max-width: 300px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.achievement-card img {
    width: 100%;
    height: 180px;
    border-radius: 4px;
    object-fit: cover;
}

.achievement-card h3 {
    color: #333;
    margin: 20px 0 10px;
    text-align: center;
    font-size: 20px;
}

.achievement-card p {
    color: #666;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}


/* Media query for smaller screens */
@media (max-width: 768px) {
    .achievement-cards {
        flex-direction: column;
        align-items: center;
    }

    .achievement-card {
        width: 100%;
        max-width: 100%;
    }
}
