.navbar {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .navbar .nav-item {
        display: flex;
        align-items: center;
    }
}

.navbar .nav-link {
    position: relative;
    padding: 8px 14px;
    font-weight: 600;
    color: #334155;
    transition: color 0.25s ease;
}

.navbar .nav-link:hover {
    color: #2563eb;
}

/* underline animation (desktop only) */
@media (min-width: 768px) {
    .navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 10%;
        bottom: 2px;
        width: 0;
        height: 2px;
        background-color: #2563eb;
        transition: width 0.25s ease;
    }

    .navbar .nav-link:hover::after,
    .navbar .nav-link.active::after {
        width: 80%;
    }
}

/* mobile touch improvement */
@media (max-width: 767px) {
    .navbar .nav-link {
        padding: 12px 16px;
    }
}

.navbar .navbar-brand {
    font-family: 'MuseoModerno', sans-serif !important;
    font-weight: 500;
    font-size: 1.5rem;
}



@media (max-width: 767px) {
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        padding-left: 10px;
        background: transparent;
    }

    .dropdown-item {
        padding: 10px 16px;
    }
}