.link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #4CAF50;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.link:hover::after {
    transform: scaleX(1);
}

.link:hover {
    background-color: #f5f5f5;
}

.link {
    transition: background-color 0.3s ease;
}
