/* Dropdown Navigation */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-content a {
    color: var(--neutral-300);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(0, 115, 230, 0.1);
    color: var(--mckinsey-blue);
    padding-left: 20px;
}

/* Removed hover CSS - will be handled by JS */

.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}

.dropbtn i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

/* Light Theme Dropdown */
body.light-theme .dropdown-content {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

body.light-theme .dropdown-content a {
    color: var(--neutral-700);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .dropdown-content a:hover {
    background: rgba(0, 115, 230, 0.1);
    color: var(--mckinsey-blue);
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.9);
        margin-top: 0;
        border-radius: 0;
        width: 100%;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 0.75rem 2rem;
        font-size: 0.85rem;
    }
    
    .dropbtn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}