.navbar-custom .nav-link {
    position: relative;
    color: #000;
    /* Default color */
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #87ce34;
    transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover {
    color: #87ce34;
}

.navbar-custom .nav-link:hover::after {
    width: 100%;
}

.navbar-custom .nav-link.active {
    color: #87ce34;
}

.navbar-custom .nav-link.active::after {
    width: 100%;
}