
.nav-underline {
    position: relative;
    display: inline-block;
}

    .nav-underline::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0%;
        height: 2px;
        background: #0d6efd;
        transition: width 0.3s ease;
    }

    .nav-underline:hover::after,
    .nav-underline.active::after {
        width: 100%;
    }

.search-btn {
    font-size: 18px;
    color: #374151;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
}

    .search-btn:hover {
        color: #3b82f6;
        transform: scale(1.1);
    }

@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.search-modal {
    border-radius: 20px;
    padding: 10px;
}

.search-popup-input {
    border-radius: 999px;
    padding: 14px 20px;
    font-size: 16px;
    border: 1px solid #e5e7eb;
    transition: 0.2s;
}

    .search-popup-input:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
    }
