/* Dropdown Menu */
.navbar-nav .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    min-width: 220px;
    margin-top: 0.5rem;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Items */
.dropdown-item {
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgb(117, 199, 197);
    color: white;
    transform: translateX(5px);
}

.dropdown-item.active {
    background-color: rgb(117, 199, 197);
    color: white;
}

/* Dropdown Toggle Arrow */
.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: 0.2em;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s ease;
}

.navbar-nav .show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        box-shadow: none;
        padding-left: 1rem;
        margin: 0;
        border-left: 2px solid rgb(117, 199, 197);
    }

    .dropdown-item:hover {
        transform: none;
    }
}
